Return to Snippet

Revision: 12537
at March 18, 2009 13:11 by relaxasaurus


Initial Code
videoPlayer.source = root.loaderInfo.parameters.url;
return;

Initial URL

                                

Initial Description
This works with the standard video player component in Flash CS3.
Throw this actionscript in the first frame.  Name your video player "videoPlayer" within Flash.

Then in the HTML markup object tag:
param name=FlashVars value="url=PathToVideo.flv"

Then in the HTML markup embed tag:
FlashVars="url=PathToVideo.flv"

Initial Title
Dynamic Flash video

Initial Tags
flash, video

Initial Language
ActionScript