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

Self Host HLS play for chrome browser


I was up the jwpyayer7 to my server.
I use windows7,windouw10 Chrome Browser.
don't play Wowza 4.3 HLS Streaming

myhtml
------------------------------------
<html>
<head>
<script src="jwplayer.js"></script>
<script src="polyfills.base64.js"></script>
<script src="polyfills.promise.js"></script>
<script src="provider.cast.js"></script>
<script src="provider.shaka.js"></script>
<script src="provider.youtube.js"></script>
<!-- Reference your local JW Player lib -->
</head>
<body>
<center>
<div id="myElement">Loading Your Player…</div>
<script> jwplayer.key="My Key Set";
// Your self hosted license goes here var playerInstance =
var playerInstance = jwplayer("myElement");
playerInstance.setup({
playlist: [{
sources: [{
file:"http://myserver url/stream/mp4:sample.mp4/playlist.m3u8"
},
]
}],

// width: '100%',
// aspectratio: "16:9",
// primary: "jwplayer.flash",
// stretching: "uniform"
});
</script>
</center>
</body>
</html>

1 Community Answers

Todd

JW Player Support Agent  
0 rated :

Does your HLS stream play correctly in our Stream Tester at http://demo.jwplayer.com/stream-tester/ ?

Please use only <script src="jwplayer.js"></script> as the other <script> libraries are loaded by jwplayer.js. And what version of the player are you using? You will need a Premium player or higher for HLS playback.

This question has received the maximum number of answers.