In this tutorial, you will learn how to create dynamic FLV player in Flash. The FLV file URL will be passed to the player in the embed code with the help of FlahVars.




flv.contentPath = flvurl;
< embed src="flvplayer.swf" flashvars="flvurl=movie.flv" type="application/x-shockwave-flash" height="290" width="300">< /embed>
Labels: ActionScript 2, Flash, Flash Intermediate, FlashVars, Tutorials
i find this tutoriol realy nice and easy one. i never thought creating a dynamic movie is is so easy. thanke
but i have question...
what if i have more then one flv file to play dynamically one by one plz solv this prob.
thak you onecagain
By mahatab, at May 29, 2008 1:05 AM
I think you should make changes in the FLV player itself. I will do some search on this issue, and post a good tutorial soon on your question.
By makubex, at May 29, 2008 4:07 AM
flv.contentPath = flvurl; works in Flash9? I cannot find the way to make it work to take advantage of the full screen option template
By guillermo, at August 26, 2008 7:54 PM
Spent a few hours on an different, older tutorial that left me scratching my head. This one worked exactly as planned. Thanks for sharing.
By asdf, at September 3, 2008 8:49 AM
hi, your tutorial helped me a lot. i would like to know how can i add total time/ time remaining in this video player.
vineet
By vinweb, at March 4, 2009 7:18 AM
I tried this and it doesn't work. I also downloaded the source files and that doesn't work either.
Please help
This tutorial is really nice, simple and effective. I like it.
Another software that I like is on playerdiy.com - http://www.playerdiy.com/
It is a very easy to use web FLV player creator. No code knowledge is required. Here is the tutorial - http://www.playerdiy.com/support/tutorial/customize-flash-video-player.html
Really thnx.... u make it so simple..i saw to many thing but,,it too cool
By zayeem, at July 12, 2010 10:08 PM