Hi,
I am implementing a commercial version of flowplayer in IE7.
I use the overlay capability of the JQuery tools.
In Chrome and FF this does work just fine. In IE7 however, whenever I close the overlay, the audio of the flv file that plays inside the overlay does not stop playing, although the overlay is closed properly.
Seems like the unload() function doesn't work properly.
As said, in FF or chrome it works perfect.
I can solve the problem by explicitly calling the function stop() in the close function of the overlay , but in FF I get then a javascript error in firebug which prevents me from opening the overlay a second time. This is the error :
y["fp_" + F] is not a function
This is some code from the page :
I hope someaone can help.
grtz,
Michel.
I am implementing a commercial version of flowplayer in IE7.
I use the overlay capability of the JQuery tools.
In Chrome and FF this does work just fine. In IE7 however, whenever I close the overlay, the audio of the flv file that plays inside the overlay does not stop playing, although the overlay is closed properly.
Seems like the unload() function doesn't work properly.
As said, in FF or chrome it works perfect.
I can solve the problem by explicitly calling the function stop() in the close function of the overlay , but in FF I get then a javascript error in firebug which prevents me from opening the overlay a second time. This is the error :
y["fp_" + F] is not a function
[Break on this error] (function(){function g(o){console.log("$...function(){flashembed(this,k,j)})}}})();
This is some code from the page :
// install flowplayer into flowplayer container
var player = $f( 'player' , '/swf/flowplayer.commercial-3.1.0.swf' , {key: '#$a03880f26266972a70b', clip: {autoPlay: true} });
// setup button action. it will fire our overlay
$("button[rel]").overlay({
api: true,
// when overlay is opened, load our player
onLoad: function() {
$f().load();
},
// when overlay is closed, unload our player
onClose: function() {
$f().stop();
$f().unload();
}
});
<!-- element that is overlayed, visuals are done with external CSS -->
<div overlay="/images/overlay/transparent.png" class="overlay" style="background-image: none;"><div class="close"></div>
<!-- flowplayer container -->
<div href="http://navitell.cdn02.rambla.be/trailers/1246234095teaser_30_s_Herentals.flv" style="margin:0px auto;width:500px;height:400px;" id="player"></div>
</div>
I hope someaone can help.
grtz,
Michel.
