Here is new Tutorial which makes me very happy…
In last edit of this message I made a mistake
Flash can see duration of FLV file, using Stream.onMetaData
but also you can use PHP script to determing duration of FLV file
Example is just coding one, doing some buttons, style and rest I leave it to youi
also, if you do some serious application you should consider dynamic buffering technology, where buffer length and time is set dynamicly while movie is playing visitor recieve best results
so here it is
EXAMPLE with MetaData (doing same thing)
ZIP with MetaData
just in same folder you unpack put FLV file named video.flv or use mine from this address
Happy New Year !!! Wish you all the best …
EDIT: Links are updated! Sorry for waiting…
the links don’t work… 😦
I’ve updated it just now
thanks for letting me know
all the best
Alex
This was A LOT of help. Thank you very much!
Pingback: FLV Flash Video Player Tutorial Update - now with Sound Volume Control and Play Again button « Cyberspace Nova
Another way to do this, could be using a tool called flv4php
#demo
http://demo.fanno.dk/flv4phpgui/
#site
http://fanno.dk/
Have not had the change to looked at the fla source.
flv4php displays a single key frame as a thumb. and not the full movie gets downloaded to just display the thumb.
Also this tool have features like:
# outputting meta data…
# as mentioned flv “thumbs”
# outputting a preview
# streaming the file with the correct speed, or all at once.
# can also modify meta data as you see fit. Adding copyrights and things like that.
fanno
hai thanks very2 much for the tutorial 🙂 , is that okay if i ask a few question, how can i put thumbnail for the video (like xml galerry video thumbnail ) and stop and play button , or maybe theres any tutorial about it? thanks very2 much 🙂
I will do new one surely
free complete flv player tutorial, bin and src
Hey, this is a cool tutorial. I had my own tutorial for flash video players, and i learnt more with you tut. Thanks for sharing it!
you made a nice tutorial
wish you all the best !!!
The links aren’t working 😦 Can you fix it please? really interested in the thumbnail preview feature
Please put the tutorial back up, I’ve been searching for help on this and found a surprisingly little amount of info on the net.
EDIT: Links are updated! Sorry for waiting…
Thanks a lot for this! You save my day!
Best Regards!!!
Just a quick note. To get the example working you need to change line 21:
$duration = GetFLVDuration($_POST[“file”]);
to
$duration = GetFLVDuration(‘video.flv’);
thnx, I’ll check it, this tutorial is really old… should do new AS3 one as I’ve promised
i want to make dynamic video file in php
what have i do for this
you can use ffmpeg
http://www.catswhocode.com/blog/19-ffmpeg-commands-for-all-needs
take a look of creating video by joining images
Hello,
thank you for the script. I am getting this echoed dur=52553 which is fine, because it changes with each flv file that I define. I would like to get it into a time format “minutes:seconds”. Any idea on how to do that?
Thank you