CoreCommunity ExtensionsIncubatorDistributionsTYPO3 4.5 ProjectsTYPO3 4.6 ProjectsTYPO3 4.7 ProjectsTYPO3 6.0 ProjectsTYPO3 6.1 ProjectsTYPO3 6.2 Projects (+)

Bug #26513

URL not transfered to Flash if EMBED-Tag is loaded instead of OBJECT-Tag

Added by Simon Schick about 2 years ago. Updated 3 months ago.

Status:Resolved Start date:2011-04-29
Priority:Must have Due date:
Assignee:- % Done:

100%

Category:-
Target version:1.5.3
TYPO3 Version:6.0 PHP Version:
Votes: 0

Description

Hi, all

I've found a bug in your application.

If I create a new banner - type=flash - and insert a new link to http://www.google.de/ this link works in IE but not in FireFox ...

Reason:
You extension creates the following HTML-Code:

<object width="500" height="80" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,29,0" classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000">
    <param value="uploads/tx_macinabanners/myBanner.swf" name="movie">
    <param value="high" name="quality">
    <param value="sameDomain" name="allowScriptAccess">
    <param value="false" name="menu">
    <param value="transparent" name="wmode">
    <param value="clickTAG=http%3A%2F%2Fwww.google.de%2F&amp;target=_blank" name="FlashVars">
    <embed width="500" height="80" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" wmode="transparent" quality="high" flashvars="http%3A%2F%2Fwww.google.de%2F&amp;target=_blank" src="uploads/tx_macinabanners/myBanner.swf">
</object>

But if I read through this Help-Page http://kb2.adobe.com/cps/164/tn_16417.html given by Adobe I see that this URL can't be given to the flash-element if the browser uses the EMBED-Tag instead of the OBJECT-Tag.

Here's the correct HTML-Code:

<object width="500" height="80" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,29,0" classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000">
    <param value="uploads/tx_macinabanners/myBanner.swf" name="movie">
    <param value="high" name="quality">
    <param value="sameDomain" name="allowScriptAccess">
    <param value="false" name="menu">
    <param value="transparent" name="wmode">
    <param value="clickTAG=http%3A%2F%2Fwww.google.de%2F&amp;target=_blank" name="FlashVars">
    <embed width="500" height="80" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" wmode="transparent" quality="high" flashvars="clickTAG=http%3A%2F%2Fwww.google.de%2F&amp;target=_blank" src="uploads/tx_macinabanners/myBanner.swf">
</object>

You've missed to prepend the string "clickTAG=" to the attribute flashvars.

macina_banners.patch (2.7 kB) Simon Schick, 2011-04-29 18:34

Associated revisions

Revision 54070
Added by Simon Schaufelberger over 1 year ago

[BUGFIX] URL not transfered to Flash if EMBED-Tag is loaded instead of OBJECT-Tag

Fixes: #26513

Revision 21e030cb
Added by Simon Schaufelberger over 1 year ago

[BUGFIX] URL not transfered to Flash if EMBED-Tag is loaded instead of OBJECT-Tag

Fixes: #26513

git-svn-id: https://svn.typo3.org/TYPO3v4/Extensions/macina_banners/trunk@54070 735d13b6-9817-0410-8766-e36946ffe9aa

History

Updated by Simon Schaufelberger over 1 year ago

  • Status changed from New to Resolved
  • % Done changed from 0 to 100

Applied in changeset r54070.

Updated by Simon Schaufelberger 3 months ago

  • Target version set to 1.5.3
  • TYPO3 Version set to 6.0

Also available in: Atom PDF