Jump to content

Making a flash video a link in IE.


jwwceo

Recommended Posts

Hello All,

 

I have a flash ad on a website that does not want to act as a link in IE, no matter what I do.  Right now the link is set to work as an onclick even on the container div for this ad. I have tried this code in FF and chrome and it works fine. It also works in IE if I just get rid of the object, and click on the empty DIV that is supposed to hold the video. So something about the object inside the DIV is not working in IE. Any ideas???

 

 

<div style="width:300px; height: 250px; cursor: pointer;" onClick="window.location.href='content.htm'">

<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000"
codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,0,0"
width="300"
height="250"
id="bl1414_easton_ads_300x250_01"
align="middle">

<param name="allowScriptAccess" value="sameDomain" />
<param name="allowFullScreen" value="false" />
<param name="movie" value="http://mysite.net/flash_ads/easton/bl1414_easton_ads_300x250_01.swf" />
<param name="quality" value="high" /><param name="bgcolor" value="#ffffff" />

<embed src="http://mysite.net/flash_ads/easton/bl1414_easton_ads_300x250_01.swf"
quality="high"
bgcolor="#ffffff"
width="300"
height="250"
name="bl1414_easton_ads_300x250_01"
align="middle"
allowScriptAccess="sameDomain"
allowFullScreen="false"
type="application/x-shockwave-flash"
pluginspage="http://www.macromedia.com/go/getflashplayer"
wmode="transparent"/>
</object>


</div>

 

James

 

Link to comment
https://forums.phpfreaks.com/topic/133778-making-a-flash-video-a-link-in-ie/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.