无法加载m3u8:无EXTm3u分隔符JWPlayer错误 [英] Cannot Load m3u8: no EXTm3u delimiter JWPlayer Error

查看:799
本文介绍了无法加载m3u8:无EXTm3u分隔符JWPlayer错误的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我不会说英语,对此深表歉意=)
我有一个直播网站.我使用JWPlayer.
视频在计算机(Chrome)上流畅运行.
但是在android设备中出现这样的错误.
这是错误的SS

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 computer (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.com:8080/live/asas.m3u8',
                       'androidhls': 'true',
                       'image': '/thumbs/bunny.jpg',
                       'modes': [
                              {type: 'html5',},
                              {type: 'flash', src: 'jwplayer/player.swf'},
                              {type: 'download'}
                                ]});
            </script>             

在计算机上正常工作
但是为什么在android chrome上也会出现错误
我无法解决此问题. 而且我发现了这个 Ext Response Pic ,但我不知道该如何解决该错误.
谢谢

It works fine on the computer
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 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.com/adaptive-1.mp4", //A link to the HLS manifest
        mediaid: "xxxxYYYY" // MediaID generated by our platform in order to take advantage of our analytics
    });

此修复程序将.mp4更改为.m3u8文件格式.

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

这篇关于无法加载m3u8:无EXTm3u分隔符JWPlayer错误的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆