I have multiple JwPlayer instances on one page, switched with a tabbed div. One of those tabs has a HLS file assigned to the JwPlayer, the other ones have FLV files assigned. When viewing the HLS tab for the first time and playing it, it works like a charm, but when i switch tabs (display:none <> display:block) it returns the no playable source error.
This exact same behaviour does not result in an error for FLV files, switching back and forth tabs and viewing FLV does not propose a problem.
<script type="text/javascript">
$(document).ready(function() {
var player_container0 = jwplayer('container0');
player_container0.setup({
file: 'http://samplescdn.origin.mediaservices.windows.net/e0e820ec-f6a2-4ea2-afe3-1eed4e06ab2c/AzureMediaServices_Overview.ism/manifest(format=m3u8-aapl-v3)',
type: 'hls',
width: '100%',
aspectratio: '16:9'
});
var player_container1 = jwplayer('container1');
player_container1.setup({
file: 'http://www.mediacollege.com/video-gallery/testclips/20051210-w50s.flv',
type: 'flv',
width: '100%',
aspectratio: '16:9'
});
});
</script>
I have a Plunker setup to review this behaviour.
Thanks in advance !