I am using the HTML controlbar and when i play clips, the controlbar does not get updated in firefox. In IE the controlbar, and the time display, function as it should be.
I have put alerts within the controlbar, directly after
In firefox this alert only gets fired once, in IE it keeps firing.
This is my initialision
I use this for my playlist. If i check afterwards if the duration is set, then it is set.
I have put alerts within the controlbar, directly after
$f.addPlugin("controls", function(wrap, options) {
In firefox this alert only gets fired once, in IE it keeps firing.
This is my initialision
$(window).load(function() {
$f("flowplayer", "flowplayer-3.1.5.swf", {
plugins: {
//controls: null
},
clip: {
baseUrl: baseUrlExt,
autoBuffering: true,
autoPlay: true,
onFinish: function() {
setTimeout('player_next()', 1000);
}
},
onLoad: function() {
refresh_playlist();
},
log: { level: 'debug' }
}).controls("controlbar");
//.playlist("#playlist", {loop:true});
});
I use this for my playlist. If i check afterwards if the duration is set, then it is set.
function play_clip(id) {
$("#playlist_clip_" + playlist_clip).removeClass('playlist_active');
$f().play(playlist[id]);
alert($f().getClip(0).duration);
playlist_clip = id;
$("#playlist_clip_" + playlist_clip).addClass('playlist_active');
}
So i am wondering what i am doing wrong for Firefox. Can somebody help me?