from the video player of this tutorial
http://www.pixel2life.com/tutorials/count/..._player_part_2/
How could you make it skip backwards/forwards or mouse seek from the play head?
Progressive Flash Video Player Seeking
Started by rd4k1, Feb 11 2007 10:36 PM
4 replies to this topic
#1
Posted 11 February 2007 - 10:36 PM
#3
Posted 11 February 2007 - 11:40 PM
ah, ok
XD
XD
#4
Posted 11 February 2007 - 11:46 PM
hope they can help you. i'm just not skilled in flash
#5
Posted 12 February 2007 - 03:35 AM
I am currently writing a tutorial on a Flash video player, which will show you how to create a seek bar, and also a lot of other feautes. Unfortunately I have no idea if I will ever finish it, but I can help you. If you can retrieve the duration of the FLV, whether it'd be through meta tags or just plain text, then it's most certainly possible. Seeking works just like percentage; current/total*scale.
Current - being the current possition of the play head (relative to it's track)
Total - being the length of the track that play head is moving across
Scale - being the duration of the FLV
Building a draggable playhead which also moves to the FLV is nothing hard either, although it may seem a little hard to you if you are just beginning Flash. I don't want to really go into explaining how it is exactly done, but I'm sure you can find tutorials on making a draggable bar in Flash. Most common way of dragging something is with the startDrag() function, although there are other ways.
Hope I helped.
Current - being the current possition of the play head (relative to it's track)
Total - being the length of the track that play head is moving across
Scale - being the duration of the FLV
Building a draggable playhead which also moves to the FLV is nothing hard either, although it may seem a little hard to you if you are just beginning Flash. I don't want to really go into explaining how it is exactly done, but I'm sure you can find tutorials on making a draggable bar in Flash. Most common way of dragging something is with the startDrag() function, although there are other ways.
Hope I helped.
1 user(s) are reading this topic
0 members, 1 guests, 0 anonymous users
