/ Published in: ActionScript
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"
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"
Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
videoPlayer.source = root.loaderInfo.parameters.url; return;