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

Azure Media Streaming With JWPlayer Not Working


Hi, I was seting up JWPlayer in my site, and I can't get it to work.

Here is my code:

<html>

<head>
<script src="https://cdnjs.cloudflare.com/ajax/libs/jquery/3.2.1/jquery.min.js"></script>
<script src="http://p.jwpcdn.com/player/v/7.1.4/jwplayer.js"></script>

<title>Test</title>
</head>

<body>
<div id="test-player"></div>
<script type="text/javascript">
$(document).ready(function() {
jwplayer.key = "myKey";
var player = jwplayer("test-player").setup({
"playlist": [{
"sources": [{
"default": false,
"file": "http://xxxxxx.streaming.mediaservices.windows.net/b78adeb3-ffff-458f-9877-5cc15d4c4949/test.ism/manifest(format=m3u8-aapl-v3)",
"label": "0",
"type": "hls",
"preload": "none",
"autostart": true
}]
}],
"hls": true,
"autostart": true,
"primary": "html5",
"hlshtml": true
});
});
</script>
</body>

</html>

I got an: Error loading player: No playable sources found. When I try it on the demo-tester it works, but I don't know why it doesn't work in my code.

1 Community Answers

Donni

JW Player Support Agent  
0 rated :

You need to have a paid account or be using JW 8 in order to get HLS playback. Additionally, you should not be linking to the player like that. You should be using cloud-hosted players that are specific to your account or self-hosting (if you have a paid subscription) and adding a license key to the page.

This question has received the maximum number of answers.