ripple123
asked on
Redirecting after FLV plays
I have a flash video that plays and all I want to do is get it to redirect to a different page once it is done playing.
There is a rather large .js file, AC_RunActiveContent.js and I'm not exactly sure on how or what to modify here.
Here's a snippit of the html on the page that has the flash:
<script type="text/javascript">
AC_FL_RunContent( 'codebase','http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=8,0,0,0','width','480','height','360','id','FLVPlayer','src','video5','flashvars','&MM_ComponentVersion=1&skinName=Clear_Skin_3&streamName=FLVFiles/video5&autoPlay=true&autoRewind=false','quality','high','scale','noscale','name','FLVPlayer','salign','lt','pluginspage','http://www.adobe.com/shockwave/download/download.cgi?P1_Prod_Version=ShockwaveFlash','movie','video5' ); //end AC code
</script><noscript><object classid="clsid:D27CDB6E-AE 6D-11cf-96 B8-4445535 40000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=8,0,0,0" width="480" height="360" id="FLVPlayer" >
<param name="movie" value="video5.swf" />
<param name="salign" value="lt" />
<param name="quality" value="high" />
<param name="scale" value="noscale" />
<param name="FlashVars" value="&MM_ComponentVersio n=1&skinNa me=Clear_S kin_3&stre amName=FLV Files/vide o5&autoPla y=true&aut oRewind=fa lse" />
<embed src="video5.swf" flashvars="&MM_ComponentVe rsion=1&sk inName=Cle ar_Skin_3& streamName =FLVFiles/ video5&aut oPlay=true &autoRewin d=false" quality="high" scale="noscale" width="480" height="360" name="FLVPlayer" salign="LT" type="application/x-shockw ave-flash" pluginspage="http://www.adobe.com/shockwave/download/download.cgi?P1_Prod_Version=ShockwaveFlash" />
</object></noscript>
Thanks.
There is a rather large .js file, AC_RunActiveContent.js and I'm not exactly sure on how or what to modify here.
Here's a snippit of the html on the page that has the flash:
<script type="text/javascript">
AC_FL_RunContent( 'codebase','http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=8,0,0,0','width','480','height','360','id','FLVPlayer','src','video5','flashvars','&MM_ComponentVersion=1&skinName=Clear_Skin_3&streamName=FLVFiles/video5&autoPlay=true&autoRewind=false','quality','high','scale','noscale','name','FLVPlayer','salign','lt','pluginspage','http://www.adobe.com/shockwave/download/download.cgi?P1_Prod_Version=ShockwaveFlash','movie','video5' ); //end AC code
</script><noscript><object
<param name="movie" value="video5.swf" />
<param name="salign" value="lt" />
<param name="quality" value="high" />
<param name="scale" value="noscale" />
<param name="FlashVars" value="&MM_ComponentVersio
<embed src="video5.swf" flashvars="&MM_ComponentVe
</object></noscript>
Thanks.
ASKER
cwickens,
unfortunately, I was given these "already created files" from a user who was using Dreamweaver. So, I don't have access to flash -- just the couple of files that was handed me...this is an "after-creation" request from one of our staff.
Any other ideas here?
unfortunately, I was given these "already created files" from a user who was using Dreamweaver. So, I don't have access to flash -- just the couple of files that was handed me...this is an "after-creation" request from one of our staff.
Any other ideas here?
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Hi ripple123,
Don't use the DW auto-generated stuff for this. Get the FLV and then get this Flash Video Player:
http://www.jeroenwijering.com/?item=JW_FLV_Player
It supports far more options than the other one and I believe you can pass a URL to it to redirect at the end.
Don't use the DW auto-generated stuff for this. Get the FLV and then get this Flash Video Player:
http://www.jeroenwijering.com/?item=JW_FLV_Player
It supports far more options than the other one and I believe you can pass a URL to it to redirect at the end.
on(complete){
getURL("http://www.google.com","_self");
}
It should work.