10/7/2010 3:25:11 AM
Title:
Single Slider For Many video/Audio
Hello awl,
how can we have a Single Slider or any component to play (i mean kind of slider for forward/backward the clip) many videos.
kind of cursor when we keep it on a component it should start playing and slider should move as per video.
thnx in advance.
10/7/2010 4:53:47 AM
when a video stream is loaded you can get the lenght and set the status of Hslider with that. Then on changing the position of slider in Hslider component you can seek the video to that position.
The flow could be as following .
On button click load video in video component.
On load event of video set the slider according to length of video and current position.
Update the slider position as the video is playing, i think that's metadata event
If user clicks on slider then seek the video to that position
10/7/2010 8:31:09 PM
but i want a single slider for many video displays who are kept adjacent to each other.
ur answer is for playing single video display using slider.
10/11/2010 9:56:13 AM
you have to create and use custom slider and attach that slider when video is selected to be played. Whenever a video is loaded you can set that video as source video for that slider, and slider will display progress related to that video. You can hide the original slider from the video component and display your custom slider where ever required.