Cyberspace Nova

FLV Flash Video Player Tutorial Update – now with Sound Volume Control and Play Again button

August 23, 2007 · 6 Comments

After I’ve made simple tutorial that covers FLV Flash Video Player, determining duration of FLV through PHP and MetaData and also using a first frame as a video thumb in this New Years post
http://mrsteel.wordpress.com/2006/12/31/flv-video-playback-with-duration-time/

time has come to improve a player a bit, based on user wishes
I’ve added sound volume control and play again button
basiclly it was simple thing to do using the previous code, but for beginners it’s hard to manage things like this

for sound volume control standard Sound class is used like for every sound in Flash
about the Play Again button it’s just seek function for video and giving it 0 value as parameter

here is the demo SWF : http://hagane.us/as/flvplayer/
and zip source : http://hagane.us/as/flvplayer/flv.zip

just when you trying it out remember to put any FLV file named video.flv in the same folder

all the best
Alex

Categories: Actionscript 2 · Actionscript 2.0 · Flash · Flash _ · Web developer

6 responses so far ↓

Leave a Comment