
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>