![](https://secure.gravatar.com/avatar/bf4d2f24996b632396832190434c8fbd?rating=PG&size=50&default=https%3A%2F%2Fcdn.desk.com%2Fassets%2Funknown_user_50-8ad5644bbe6b1bd7454f2ea465f782bd.png)
why m3u8 file can't play
I follow the document :https://support.jwplayer.com/customer/en/portal/articles/1430240-hls-adaptive-streaming..
use the following code:
<html>
<head>
<script src="https://content.jwplatform.com/libraries/CMkwtaEh.js"></script>
</head>
<body>
<div id="container"></div>
<script>
jwplayer("container").setup({
file: "http://10.1.30.71/hls/test2.m3u8"
//file: "http://www.youtube.com/dQw4w9WgXcQ"
});
</script>
</body>
</html>
~
Your quickly reponse is highly appreciate