Open thomas-jomedia opened 10 years ago
I worked around this problem by increasing the size of the flash player. This will show you the "click to play" button. After clicking you could resize the flashplayer back to 1x1 pixels, triggered by the ready event.
Not implemented this, but in the past I have considered adding a timeout when instancing the Flash object. By default is could be 5 seconds and if the Flash has not generated the ready event within that 5 seconds, the Flash would be resized to make it visible. Then the user click and subsequent ready event could hide it again.
It seems like OSX Safari has started doing this too, click to enable the Flash for power saving... But I have never got it to fail with jplayer. It was YouTube that asked for the click... But I admit to not investigating too deep there.
The flash is instanced at 1x1px on some browsers and then the ready event makes it 0x0px...
In jPlayerFlashEvent
:
// Once Flash generates the ready event, minimise to zero as it is not affected by wmode anymore.
this.internal.flash.jq.css({'width':'0px', 'height':'0px'});
Suppose I should make that just zero and save 4 bytes.
Using the flash fall back and having my Opera browser settings to : Settings -> Websites -> Plus-ins -> Click to play
I create a new jPlayerPlaylist and then wait for any of those event, but nothing never happens.
So I'm stuck there not knowing the status.