Name is required.
Email address is required.
Invalid email address
Answer is required.
Exceeding max length of 5KB

Switching players with a HLS manifest fails


I posted an article on stackoverflow regarding this issue :
https://stackoverflow.com/questions/35061237/jw-player-7-loads-hls-file-only-once-in-a-tabbed-container-with-flv-all-goes-we


Maybe someone here can help me ?

3 Community Answers

Todd

JW Player Support Agent  
0 rated :

This is strange. I am not quite sure why this is happening, but it looks like the player does not like when the display is set to none. I had to call jwplayer().setup() again on the <div> to get the video working again:

<div id="myElement">Loading the player…</div>

<br><br> <input type=button value=“Set display: none” onclick=“document.getElementById(‘myElement’).style.display = ‘none’;”> <input type=button value=“Restore” onclick=“document.getElementById(‘myElement’).style.display = ‘block’;jwplayer(‘myElement’).setup({file: ‘http://my_hls_video.m3u8’});”>

<script type="text/javascript"> jwplayer("myElement").setup({ file: "my_hls_video.m3u8" }); </script>

webmaster

User  
0 rated :

We are running into this issue as well. I have confirmed in both JW 7.2.4 and 7.3.0-beta in Chrome / Firefox stable. It does not seem to be reproducible on Android / iOS or Safari with _native_ HLS support.

Possibly a Flash related bug?

See OP's associated GitHub Issue here: https://github.com/jwplayer/jwplayer/issues/1047

Heidi

JW Player Support Agent  
0 rated :

I did see that issue on our Github. I will be interested to see what our engineers have to say.

This question has received the maximum number of answers.