No more ideas or work arounds for this problem?
Forum user: chartley101
Basic information
| Registered | Nov 24, 2008 |
| Last login | Mar 3, 2009 |
| Forum posts | 10 |
| Direct URL | http://www.flowplayer.org/forum/users/6502 |
Latest forum posts
I was only using the update() method to try and get around the apparent bug whereby the load() method ignores the autoplay() property of the clip.
Since then I have tried various suggestions outlined above, the most recent being the fp_setPlayList() method, which is an improvement on the play() method, in that it doesnt immediately start to play the clip, but we have not yet been able to get any combination that will successfully change the clip URL to a different flv file, load the first frame, but not start playing the whole movie. Any suggestions?!
To answer your last point, I have modified my script to call the stop() method on the players before attempting to change the URL.
Many thanks, Chris.
Since then I have tried various suggestions outlined above, the most recent being the fp_setPlayList() method, which is an improvement on the play() method, in that it doesnt immediately start to play the clip, but we have not yet been able to get any combination that will successfully change the clip URL to a different flv file, load the first frame, but not start playing the whole movie. Any suggestions?!
To answer your last point, I have modified my script to call the stop() method on the players before attempting to change the URL.
Many thanks, Chris.
The same behaviour as previously, the URL is correctly set, and starts buffering, but no first-frame display.
Seems like it may possibly need a small coding tweak to the control?
Seems like it may possibly need a small coding tweak to the control?
That does indeed start the buffering, I can see that buffer bar progressing, but still no initial frame.
My development page can be viewed here:http://weather.thehartleys.org/timelapse_dev.asp
Thanks for your assistance, Chris.
My development page can be viewed here:http://weather.thehartleys.org/timelapse_dev.asp
Thanks for your assistance, Chris.
Hi there,
That is close, in that it sets the URL to the correct clip, however it doesn't load the first frame, which I would really like as it gives the user a visual cue that something has happened?
That is close, in that it sets the URL to the correct clip, however it doesn't load the first frame, which I would really like as it gives the user a visual cue that something has happened?
Hi there,
I am trying to write a script that will change the URL of a couple of players on screen, but to keep the autoPlay: false property, so that the clips start buffering, and display the first frame, but dont all start to play.
My current code looks like this:
function SetAspect(iAspect) {
var strToday = "";
var strYesterday = "";
var playerToday= $f("playerToday");
var playerYesterday = $f("playerYesterday");
switch (iAspect)
{
case 1:
strToday = "timelapse/TodayWest.flv";
strYesterday = "timelapse/YesterdayWest.flv";
break;
case 2:
strToday = "timelapse/TodayEast.flv";
strYesterday = "timelapse/YesterdayEast.flv";
break;
}
playerToday.play({url: strToday,autoBuffering:true,autoPlay: false});
playerYesterday.play({url: strYesterday,autoBuffering:true,autoPlay: false});
}
But I it seems that the autoPlay property of the clip is always ignored by the play() method of the player.
I have tried a few different work arounds, eg just changing the URL of the clip and calling the update function (this didnt work at all), or unloading and reloading the player (this didnt work at all either).
Any thoughts please? In the mean time, I am going to create 4 seperate players, and just unhide which ever 2 I dont want, but this is hardly efficient coding!
Many thanks, Chris.
I am trying to write a script that will change the URL of a couple of players on screen, but to keep the autoPlay: false property, so that the clips start buffering, and display the first frame, but dont all start to play.
My current code looks like this:
function SetAspect(iAspect) {
var strToday = "";
var strYesterday = "";
var playerToday= $f("playerToday");
var playerYesterday = $f("playerYesterday");
switch (iAspect)
{
case 1:
strToday = "timelapse/TodayWest.flv";
strYesterday = "timelapse/YesterdayWest.flv";
break;
case 2:
strToday = "timelapse/TodayEast.flv";
strYesterday = "timelapse/YesterdayEast.flv";
break;
}
playerToday.play({url: strToday,autoBuffering:true,autoPlay: false});
playerYesterday.play({url: strYesterday,autoBuffering:true,autoPlay: false});
}
But I it seems that the autoPlay property of the clip is always ignored by the play() method of the player.
I have tried a few different work arounds, eg just changing the URL of the clip and calling the update function (this didnt work at all), or unloading and reloading the player (this didnt work at all either).
Any thoughts please? In the mean time, I am going to create 4 seperate players, and just unhide which ever 2 I dont want, but this is hardly efficient coding!
Many thanks, Chris.
ok, I will await the next build with interest!
Just to say it is also a really nice change to have a support forum that is so actively monitored and responded to. Good work!!
Chris.
Just to say it is also a really nice change to have a support forum that is so actively monitored and responded to. Good work!!
Chris.
When you fire the this.stopBuffering() method, the button in the tool bar is left with the pause button shown, despite playback being now paused, and likewise, the main play button in the center of the screen also doesnt come up.
I have tried adding a this.stop() either before or after the stopBuffering. When it is before the stopBuffering call, it does stop play, and put up the main play button, although the toolbar button is still left as a pause button, and the file continues to be buffered. When it is after the stopBuffering call, it has no effect at all.
Any ideas? (It might be a nice future feature to simply have a showFirstFrame: true property, rather than having to cludge it like this?).
Thanks, Chris.
I have tried adding a this.stop() either before or after the stopBuffering. When it is before the stopBuffering call, it does stop play, and put up the main play button, although the toolbar button is still left as a pause button, and the file continues to be buffered. When it is after the stopBuffering call, it has no effect at all.
Any ideas? (It might be a nice future feature to simply have a showFirstFrame: true property, rather than having to cludge it like this?).
Thanks, Chris.
The fix using the onMetaData event to kill buffering after the metadata has been loaded doesnt seem to work now that the onMetaData function has been changed to onBegin (it doesnt seem to work using the onBegin) function either. Is there another way to just display the first frame of the video now without buffering the entire film?
Fabulous product btw!!
Thanks, Chris.
Fabulous product btw!!
Thanks, Chris.