admin管理员组

文章数量:1023838

i can't speak english good sorry for this =)
I have a web site for live stream. I use JWPlayer.
Video runs smoothly on a puter (Chrome).
But getting such an error in android devices.
This is error's SS

             <script type="text/javascript">
                   jwplayer('playerjxASSdasni').setup({
                       'id': 'playerID',
                       'width': '100%',
                       'height': '600',
                       'file': 'www.yyy:8080/live/asas.m3u8',
                       'androidhls': 'true',
                       'image': '/thumbs/bunny.jpg',
                       'modes': [
                              {type: 'html5',},
                              {type: 'flash', src: 'jwplayer/player.swf'},
                              {type: 'download'}
                                ]});
            </script>             

It works fine on the puter
But why on android chrome also gives an error
I can't fix this. And i find this Ext Response Pic but i dont know what i can for fix this error.
Thanks

i can't speak english good sorry for this =)
I have a web site for live stream. I use JWPlayer.
Video runs smoothly on a puter (Chrome).
But getting such an error in android devices.
This is error's SS

             <script type="text/javascript">
                   jwplayer('playerjxASSdasni').setup({
                       'id': 'playerID',
                       'width': '100%',
                       'height': '600',
                       'file': 'www.yyy.:8080/live/asas.m3u8',
                       'androidhls': 'true',
                       'image': '/thumbs/bunny.jpg',
                       'modes': [
                              {type: 'html5',},
                              {type: 'flash', src: 'jwplayer/player.swf'},
                              {type: 'download'}
                                ]});
            </script>             

It works fine on the puter
But why on android chrome also gives an error
I can't fix this. And i find this Ext Response Pic but i dont know what i can for fix this error.
Thanks

Share Improve this question asked Dec 25, 2017 at 2:32 TufanCPNTufanCPN 231 gold badge1 silver badge5 bronze badges 1
  • Have you found a solution? – pykiss Commented May 21, 2018 at 8:24
Add a ment  | 

1 Answer 1

Reset to default 2

I had the same error. It was caused by wrong file extension. This was my code:

var playerInstance = jwplayer("test-jwplayer-adaptive");
    playerInstance.setup({
        type: "hls",
        file: "http://example./adaptive-1.mp4", //A link to the HLS manifest
        mediaid: "xxxxYYYY" // MediaID generated by our platform in order to take advantage of our analytics
    });

The fix was changing .mp4 to .m3u8 file format.

i can't speak english good sorry for this =)
I have a web site for live stream. I use JWPlayer.
Video runs smoothly on a puter (Chrome).
But getting such an error in android devices.
This is error's SS

             <script type="text/javascript">
                   jwplayer('playerjxASSdasni').setup({
                       'id': 'playerID',
                       'width': '100%',
                       'height': '600',
                       'file': 'www.yyy:8080/live/asas.m3u8',
                       'androidhls': 'true',
                       'image': '/thumbs/bunny.jpg',
                       'modes': [
                              {type: 'html5',},
                              {type: 'flash', src: 'jwplayer/player.swf'},
                              {type: 'download'}
                                ]});
            </script>             

It works fine on the puter
But why on android chrome also gives an error
I can't fix this. And i find this Ext Response Pic but i dont know what i can for fix this error.
Thanks

i can't speak english good sorry for this =)
I have a web site for live stream. I use JWPlayer.
Video runs smoothly on a puter (Chrome).
But getting such an error in android devices.
This is error's SS

             <script type="text/javascript">
                   jwplayer('playerjxASSdasni').setup({
                       'id': 'playerID',
                       'width': '100%',
                       'height': '600',
                       'file': 'www.yyy.:8080/live/asas.m3u8',
                       'androidhls': 'true',
                       'image': '/thumbs/bunny.jpg',
                       'modes': [
                              {type: 'html5',},
                              {type: 'flash', src: 'jwplayer/player.swf'},
                              {type: 'download'}
                                ]});
            </script>             

It works fine on the puter
But why on android chrome also gives an error
I can't fix this. And i find this Ext Response Pic but i dont know what i can for fix this error.
Thanks

Share Improve this question asked Dec 25, 2017 at 2:32 TufanCPNTufanCPN 231 gold badge1 silver badge5 bronze badges 1
  • Have you found a solution? – pykiss Commented May 21, 2018 at 8:24
Add a ment  | 

1 Answer 1

Reset to default 2

I had the same error. It was caused by wrong file extension. This was my code:

var playerInstance = jwplayer("test-jwplayer-adaptive");
    playerInstance.setup({
        type: "hls",
        file: "http://example./adaptive-1.mp4", //A link to the HLS manifest
        mediaid: "xxxxYYYY" // MediaID generated by our platform in order to take advantage of our analytics
    });

The fix was changing .mp4 to .m3u8 file format.

本文标签: javascriptCannot Load m3u8 no EXTm3u delimiter JWPlayer ErrorStack Overflow