This is a message.

Safar [on mac os only] crashed with flowplayer time to time Created Dec 15, 2009

This thread is solved

Views: 2345     Replies: 3     Last reply Dec 16, 2009  
You must login first before you can use this feature

solshark

Posts: 2

Registered:
Dec 15, 2009

Safar [on mac os only] crashed with flowplayer time to time

Posted: Dec 15, 2009

Hello.
I'm using flowplayer [3.1.4|3.1.5] with custom javascript (onFinish event, hiding player, showing overlay with custom actions):

clip: {
            onFinish: function() {
                this.unload();
                $("#buttons_control").css("display","none");

                $("#buttons_control_overlay").css("display","block");
            },
...
Another part of javascript revert player/overlay back :

 
            $("#buttons_control_overlay").css("display","none");
            $("#buttons_control").css("display","block");
            $("div#buttons_control").flowplayer(0).load();
            $("div#buttons_control").flowplayer(0).play();

Time to time Safari (on MacOS only) crashing (at the end of the movie [during "unload()" maybe?]). Average - 1 time from 7, but could be 1 of 20, 1 of 5

Safari for Windows works fine. MSIE/FF/Chrome/Konqueror etc works fine. Only mac safari affected.

Demo :http://sang.fona.dk/konkurrence/?vid=1

Videos pseudo-streamed via nginx (flv-module).

Any advice?

Christian Ebert
Flowplayer support

Posts: 3024

Registered:
May 27, 2008

» Safar [on mac os only] crashed with flowplayer time to time

Posted: Dec 15, 2009

Reply to: Safar [on mac os only] crashed with flowplayer time to time , from solshark
Yes, Safari and other WebKit browsers (OmniWeb) crash with this.unload(); under certain circumstances (e.g. when this.unload() is called when the video is in fullscreen).

See this bug I opened more than a year ago (!):

http://flowplayer.org/forum/8/11666

In the last message

http://flowplayer.org/forum/8/11666#post-30998

I noted my workaround fullscreen crashes by ... not unloading the player in WebKit browsers when in fullscreen :-(

solshark

Posts: 2

Registered:
Dec 15, 2009

» » Safar [on mac os only] crashed with flowplayer time to time

Posted: Dec 16, 2009

Reply to: » Safar [on mac os only] crashed with flowplayer time to time , from blacktrash
Hello.
Thx for info.
In my case Safary crashed even in regular mode, not fullscreen.
Besides, error appears only on mac. I've tried a lot webkit-based browsers (midori, arora, rekonq, chromium so on) but this behaviour reproducible on mac only.

Have no idea what to do to be honest.

Christian Ebert
Flowplayer support

Posts: 3024

Registered:
May 27, 2008

» » » Safar [on mac os only] crashed with flowplayer time to time

Posted: Dec 16, 2009

Reply to: » » Safar [on mac os only] crashed with flowplayer time to time , from solshark
Yes, the fullscreen crash is the example that is the most easy to set up. Other cases are similar to your first post inasmuch they use "player-external" controls. In the thread

http://flowplayer.org/forum/8/11666

I mentioned there is also a link to a page I've set up to demonstrate the problem:

http://www.blacktrash.org/test/safcrash.html

Strange that it happens only on Mac.