Order Now AdSolution Sign Up | Login » Bits on the Run Sign Up | Login »

Forums

/

Full Screen Mode Bug in Safari

9 replies [Last post]
Reply

Hi Guys,

The following video is having issues when opening in full screen mode with the latest version of safari.

http://bit.ly/vLRcAQ

Sometimes when you click full screen, It will open full screen in the browser window like HTML5 style. However, usually it opens full screen and brings up the safari / html5 default control bar in addition to the JW Player.

Code Below.

Any Guidance Appreciated.

Stuart
<div id="player1"></div>

<script type="text/javascript">
jwplayer("player1").setup({
autostart: "true",
controlbar: "over",
flashplayer: "/assets/components/jwplayer58/player.swf",
image: "image.jpg",
width: 610,
height:350,
skin: "/assets/components/jwplayer5/bekle.zip",
levels: [
{file: "filename.mp4"}
],
plugins:{
"gapro-2": {}
}

});
</script>

Reply

@Stuart

I am assuming that you mean clicking on the control bar 'fullscreen',right?

I am not having any issues using Safari.

If I click on the controlbar 'fullscreen' icon it goes full screen and returns to normal when I click on the icon again.

In looking at the code of the link above, I notice a couple of things

  1. <script type="text/javascript" src="http://static.thailand.tv/jwplayer58/jwplayer.js"></script>
    This should be placed within the head elements and not in the body unless it is just above the closing body element
  2. levels: [
                            {file: "name of file.mp4"}
                            ],

    Although correct IF you are planning to use additional video formats BUT isn't really needed IF you are just using the mp4 format thus file: "name of file.mp4" is suffice.

  3. there are also 53 errors present; it does not validate
Reply

Hi Willie,

Thanks so much for the feedback.

I have put the .js file in the head and just referenced the video file as normal.

I am still however experiencing the same error.

This is what it looks like at my end.
http://bit.ly/tVLuVR
It looks like it is trying to use two control bars??

Will investigate the other validation errors.

Stuart

Reply

@Suart

I took a second look at the link you provided using Safari(windows) and do no have that issue as seen in your screenshot.

Appears something is crossed or wacky. possible a corrupt dll BUT I am not certain on this.

I do and have experience issues using Safari windows BUT they are browser related

suggest to do some a PM on the system. I would even uninstall, clean out the registry, etc. re-install.

Reply

Hi Willie,

It sounds like you are talking about windows.

Im on Safari 5.1.1 on a mac.

I will keep testing, maybe on diff devices. Seems something is wrong with the player and Safari compatibility, or the way I've implemented the code. Have a feeling validation won't solve the problem.

It seems like it is using HTML5 mode when you use full screen the first time, as it stays inside the browser. Then the second time you press full screen it enters full screen mode outside of the browser.

Stuart

Reply

@Stuart -

I can see the bug with Safari 5.1.1 in HTML5 mode (i.e. with Flash disabled).

I've created a ticket to address the issue:

http://developer.longtailvideo.com/trac/ticket/1533

Reply

Hi Pablo,

Thanks so much for the feedback.

Roughly, how long do you think it will be until 5.9 is released? That is when the bug will be corrected right?

Are we talking weeks or months?

Any info appreciated.

Stuart

Reply

@Stuart -

I can't give you an exact timeframe for 5.9. We're talking months, but on the order of 2 or so, not 6.

Reply

Has anybody found a work around for this?

Reply

@klappy -

This bug has been fixed in the latest build of the player, and will be included in 5.9. You can try it out the un-released version here:

http://developer.longtailvideo.com/trac/browser/trunk/fl5

Post new comment

  • Allowed HTML tags: <code> <blockquote> <em> <strong> <strike> <ul> <li> <ol>
  • You may post code using <code>...</code> .
  • Lines and paragraphs break automatically.
  • Web page addresses and e-mail addresses turn into links automatically.

More information about formatting options