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

Forums

/

Video will only play once on iOS5

22 replies [Last post]
Reply

Posted at request of Ethan...

On iOS5 devices (iPhone4S and iPad2) jwp5.8 will play the video through fine via html5 and when the video has complated the poster images and play button are displayed again.

However, if the play button is again selected to play the video a second time, the video player display turns solid black. The only way to get the player back is to refresh the webpage.

This issue exists for your own video examaple and mine (using both DIV and Video embed methods).

Ethan asked me to try the trunk player and I found a small difference. The second time the video is played there is still no response but the poster image remains.

Reply

I can confirm.

Having the exact same issues.

Reply

@Steve and @Jon -

Could you test this out with the latest player build (found here: http://developer.longtailvideo.com/trac/browser/trunk/fl5) and let me know if you're still experiencing the problem?

Reply

This even also occurs on Longtails overview page http://longtailvideo.com/players/ with the sample video included.

Reply

@Maximillian -

Please see my previous note to Steve and Jon.

Reply

@PabloS:
Thanks for your fast reply.

Sadly the problem remains, but instead of showing a black screen, it now just doesn't "react" any more, meaning that after the video played through and the "poster"-image reappears with the little play button in the middle, both the image and play button aren't resulting in any visual feedback any more (on the first run, the whole "poster"-image is shortly darkened after clicking it).

I've even also activated the debug-console on my iPad in Safari, but there's no error nor log.

And I've hosted your page with the jwplayer.min.js that you've provided the link to on the following URL, that I've tested:
http://www.mfgmfr.de/JWPlayer_iOS5_test/index.html

Reply

Update:

Looks like that the trunk version of the jwplayer JS file (http://developer.longtailvideo.com/player/trunk/fl5/js/bin-debug/jwplayer.js) did the trick, as suggested by Ethan on 2011-12-08, 01:39 pm within the ticket http://www.longtailvideo.com/support/forums/jw-player/setup-issues-and-embedding/23625/html5-video-w...

Now the player is behaving slightly differently, with a loading wheel at the beginning, and replaying the video as expected.

Test URL: http://www.mfgmfr.de/JWPlayer_iOS5_test/index-with_JW_JS_trunk.html

Reply

I won't try using the truck right now as this could get confusing, but can confirm the following with this test URL.
http://www.mfgmfr.de/JWPlayer_iOS5_test/index-with_JW_JS_trunk.html

On iPhone 4S the behaviour is perfect, you can watch video through and afterwards click done and it returns to poster image with play button. The second click plays the video again fine.

On iPad2 the video plays in the browser fine without going full screen and when the video completes you can play it again no problem. However, if you select the fullscreen option and click done at the end you return to the poster image but are not able to use the button to replay the video.

Reply

sadly I confirm your described behaviour, that the play button doesn't react any more in case of trying to replay after playing it once in full screen mode.

So it's at least much better than before, but still not finally solved.

Reply

@Maximilian -

This should have been fixed as of 5.9.2086 - tested working on an iPhone 4S and an iPad, both running iOS 5.0.1.

Reply

@PabloS:
Thanks a lot !

Is there already a schedule when to release release jw player 5.9, or could we assume that 5.9.2086 is already stable to use in previous to that upcoming release ?

Reply

@Maximillian -

We're currently done with the major 5.9 development. We're still in the process of doing quality assurance, so although it should be stable, there may be some bug fixes forthcoming before the official release.

Reply

Great news, looking forward to 5.9 final.

Reply

I've just installed JWP 5.9 final. Seems fine on iPad2 but there's still an issue on iPhone 4S...

Video automatically launches into fullscreen and plays through fine first time. When video completes it drop backs from fullscreen to embedded browser view and the poster image and button are displayed.

So far so good. However, when the play button is pressed again for a repeat view it launches video into full screen play mode, but only plays for a fraction of a second before pausing. Then each time you press play the video plays a further fraction of a second before pausing.

If you click done the video drops out of fullscreen but on clicking the play button again we return to paused fullscreen.

Reply

Hi guys,
I'm having a similar problem but not having any luck with the trunk version.

I'm testing on an iPad 3. The video launches in a lightbox and plays fine. When I close the lightbox and try to launch it again, the video does not play.

Reply

Link: ennio(dot)crumplepop(dot)com/a-test-video-page

Reply

@Mei -

I see there's an issue there, but it's not the same as the original. The problem appears to be coming from how you're hiding and showing the player. For example, if you pop the player up, play all the way through, then click the play icon, the video will re-play.

To simplify your test case, please eliminate all other JavaScript and CSS from the page that doesn't directly contribute towards the player itself - there's a lot of stuff going on in your page, which makes it difficult to determine what the problem is.

Reply

I am having this issue as well on an iPad.

Basically I have a user clicking on an element, which creates a player (using jwplayer('element').setup()), then when the user closes that element I call jwplayer().remove().

After closing the video and setting up a new player, the video will buffer endlessly and will never play.

Is there a better way for me to remove/destroy these jwplayer objects so this will work on an iPad?

Reply

@Heath -

You could try simply stopping the player and hiding it - it doesn't seem like it's necessary to destroy it completely.

Reply

I'm currently running into the same problem as described by Heath. I'm noticing this happens as a result of removing of DOM element which contains the video (a video tag in our case). Re-inserting this element back into the DOM and subsequently calling jwplayer on it causes the continuously spinning gif as described by Heath.

This only happens on the iPad. Here is a link to the jsFiddle that demonstrates this.

http://jsfiddle.net/zgLAP

When viewed with an iPad, you'll notice the first time through the video plays fine. If you then click 'Remove' followed by 'Insert', you'll notice any attempt to play the video results in the loading gif and no video playback. Thanks.

Reply

@BartJ -

I've created a ticket to investigate the issue:

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

Reply

Hey,

I'm running 5.9.2156 jwPlayer and am just using the basic setup for flash/html5 detection, but I still get the issue as originally described in the original posters post.

Push play
Video plays
On completion of the video my test results are :

Desktop PC/Mac - fine
Android, or any other flash playing device - fine
iPad - fine
iPhone - problems.

Intermittent issue as described in original post.
Play once, seems to be fine.
Play again, it gives the black lightbox full screen take over effect with the green play button for iPhones. But clicking this does nothing and the only way to see the originating page is to refresh.

Am I missing something obvious, or are others still experiencing this problem?

Reply

@Kevin -

The issue hasn't been fixed yet; the ticket will be updated when it is. In the meantime, thanks for the detailed report.

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