avdistribution
10-29-2009, 05:00 PM
1) Script Title:
Tab Content Script (v 2.2)
2) Script URL (on DD):
http://www.dynamicdrive.com/dynamicindex17/tabcontent.htm
3) Describe problem:
I have a video in a swf file on a separate page loading in an iframe in one of the content divs. In Firefox, the video only starts when the div is opened (and stops when closed), but in IE6 it starts when the page is opened. Is there some way to get the video to only play when the div is opened? Or should I ask this question in the flash forum?
Here's the page:
http://generation3inc.com/hvtest.aspx
Here's the div iframe code:
<div id="sc2">
<br/>
<iframe name="iframe" src="documents/hivelvideo.htm" width="550" height="400" scrolling="no" frameborder="no">
</frame>
Here's the target page code;
<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"
codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=9,0,16,0"
width="550" height="400" >
<param name="movie" value="http://www.hi-velocity.com/en/video/esp.swf">
<param name="quality" value="high">
<param name="play" value="true">
<param name="LOOP" value="false">
<embed src="http://www.hi-velocity.com/en/video/esp.swf" width="550" height="400" play="true" loop="false" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer"
type="application/x-shockwave-flash">
</embed>
</object>
Tab Content Script (v 2.2)
2) Script URL (on DD):
http://www.dynamicdrive.com/dynamicindex17/tabcontent.htm
3) Describe problem:
I have a video in a swf file on a separate page loading in an iframe in one of the content divs. In Firefox, the video only starts when the div is opened (and stops when closed), but in IE6 it starts when the page is opened. Is there some way to get the video to only play when the div is opened? Or should I ask this question in the flash forum?
Here's the page:
http://generation3inc.com/hvtest.aspx
Here's the div iframe code:
<div id="sc2">
<br/>
<iframe name="iframe" src="documents/hivelvideo.htm" width="550" height="400" scrolling="no" frameborder="no">
</frame>
Here's the target page code;
<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"
codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=9,0,16,0"
width="550" height="400" >
<param name="movie" value="http://www.hi-velocity.com/en/video/esp.swf">
<param name="quality" value="high">
<param name="play" value="true">
<param name="LOOP" value="false">
<embed src="http://www.hi-velocity.com/en/video/esp.swf" width="550" height="400" play="true" loop="false" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer"
type="application/x-shockwave-flash">
</embed>
</object>