No Playable Sources Found
I am having a bit of a problem. This worked before but, not it is not am I am not sure why. I have one news media client whose network is on complete lockdown. So they can't view RTMP streams, only HLS. I had this set up and working before but now it isn't.
Here is what I am currently using. I have changed the paths to protect my URLS.
<script type="text/javascript">
var playerInstance = jwplayer("player");
playerInstance.setup({
file: "http://subdomain.domain.com:80/app/streamkey/index.m3u8",
image: "//PATH_TO_IMAGE",
width: "100%",
aspectratio: "16:9",
primary: 'html5',
title: 'Users Name Live Stream',
skin: {
name: "bekle"
}
});
</script>
The above gives me the Error Loading Player: No playable sources found
Now this is what I use for everyone else and it works fine, just not for them.
<script type="text/javascript">
var playerInstance = jwplayer("player");
playerInstance.setup({
playlist: [{
title: 'User Name Live Stream',
image: "//PATH_TO_IMAGE.png",
sources: [{
file: "rtmp://sub-domain.domain.com/app/streamkey"
},{
file: "http://sub-domain.domain.com/app/streamkey/index.m3u8"
}]
}],
rtmp: {
bufferlength: 3
},
primary: "flash",
fallback: true,
width: "100%",
aspectratio: "16:9",
skin: {
name: "bekle"
}
});
</script>
What am I doing wrong in the first one so that it is causing that error and how can I just set it up for a HLS stream only?
-Thanks