arashilan
arashilan
前端页面引用flv.js 来播放例如CCTV的直播流: !DOCTYPE html html lang="zh-CN" head meta charset="utf-8" / script src="http://cdn.bootcss.com/flv.js/1.3.0/flv.min.js" title>flv.js Test script type="text/javascript" window.onload = function () { if (flvjs.isSupported()) { var videoElement = document.getElementById('flv_test_div'); var flvPlayer...
---------------------------------------------------------------- 不好意思,查看到以下错误: [MSEController] > MediaSource onSourceOpen flv.min.js:6:1508 已拦截跨源请求:同源策略禁止读取位于 http://fms.cntv.lxdns.com/live/flv/channel50.flv 的远程资源。(原因:CORS 头缺少 'Access-Control-Allow-Origin')。 (未知) [IOController] > Loader error, code = -1, msg = ProgressEvent error d4a317b5-8c60-41f9-88fd-520318aed700:4:887 [TransmuxingController] > IOException: type =...
是对方直播流服务器禁止远程访问吗?
[MSEController] > MediaSource onSourceOpen flv.js:11233:13 [IOController] > Loader error, code = -1, msg = ProgressEvent error flv.js:11166:17 e http://cdn.bootcss.com/flv.js/1.3.0/flv.js:11166:17 _onLoaderError http://cdn.bootcss.com/flv.js/1.3.0/flv.js:6791:13 _onXhrError http://cdn.bootcss.com/flv.js/1.3.0/flv.js:7808:17 [TransmuxingController] > IOException: type = Exception, code...
我不懂开发,我尊敬程序员,既然不想回答小白问题就不必回答,我用videojs实现了直播,至少有很多js的使用手册写的要完整。谢谢;
So how solve these problems?
Me too. Set autoplay on iOS When set "autoplay muted" in `` ,then the video can autoplay. When set "autoplay" `` ,then video can't autoplay.
Excuse me, how can video autoplay on iOS? When set "autoplay muted" in `,then` the video can autoplay. When set "autoplay" in `,then` can't autoplay. Use video.js in html5 .