backslash007
10-26-2007, 01:07 PM
i've made a video player similar to youtube with flvplayback and AS3.
the path to the flv-file on the FMS and the cuepoints are loaded with a xml-file. actually everything works correctly except this:
when the player starts, it first loads the flv and then starts with playing. but the video "starts twice", first you hear the sound for a very short time, then immediatly after the video starts correctly.
why this??? when the flv from is not streaming from the server but is local saved, the player starts correctly.
my_player.load("path to flv_movie");
read the cuepoints...
my_player.play();
i tried after my_player.play(); to set the buffer time with player.bufferTime = 3;
then the first video after the player has started is playing correctly, but if i click on my playlist to load a second video, this one starts twice again!
i have no idea whats wrong!! has anybody some advices for me??
the path to the flv-file on the FMS and the cuepoints are loaded with a xml-file. actually everything works correctly except this:
when the player starts, it first loads the flv and then starts with playing. but the video "starts twice", first you hear the sound for a very short time, then immediatly after the video starts correctly.
why this??? when the flv from is not streaming from the server but is local saved, the player starts correctly.
my_player.load("path to flv_movie");
read the cuepoints...
my_player.play();
i tried after my_player.play(); to set the buffer time with player.bufferTime = 3;
then the first video after the player has started is playing correctly, but if i click on my playlist to load a second video, this one starts twice again!
i have no idea whats wrong!! has anybody some advices for me??