niandeng-ckplayer / chplayer Goto Github PK
View Code? Open in Web Editor NEW网页视频播放器,支持mp4,flv,f4v以及m3u8格式,支持rtmp。支持点播和直播
License: Mozilla Public License 2.0
网页视频播放器,支持mp4,flv,f4v以及m3u8格式,支持rtmp。支持点播和直播
License: Mozilla Public License 2.0
直接打开index.html,报错:
Access to XMLHttpRequest at 'file:///F:/git/chplayer/screenshot/srt.srt?rand=chzynivl&' from origin 'null' has been blocked by CORS policy: Cross origin requests are only supported for protocol schemes: http, data, chrome, chrome-extension, https.
设置logo为空了,怎么没有删除水印
playerLoad: function() {
var thisTemp = this;
if (this.isFirst) {
// this line is my code
thisTemp.loadingStart(true);
//....
}
}
content:
Not allowed to load local resource: blob:null/f6c23915-0c75-43b8-acc6-11d90fa4eafa
no sound at the rtmp model.
我使用 hbuilder 打包APP,将http://www.chplayer.com作为默认首页,测试发现不能全屏,其他都正常!
针对IE 在内加上参数
针对FF 在内加上参数wmode="opaque"
在开启网页全屏,并且暂停较长时间(约十分钟),恢复播放后网页的内存占用剧增
谢谢
请问如何只使用h5或者只使用flash
QQ浏览器和微信浏览器播放时画面还会发绿。
你好,方便在引入内置hls.js之前先做个判断吗?如果window上已经有Hls.js了,则优先使用,这样方便定制第三方的hls.js,谢谢
...
this.timerTime = new timer(1000, timeFun);
...
where is timer ?
Uncaught ReferenceError: timer is not defined
at chplayer.judgeIsLive (chplayer.js:3325)
at HTMLVideoElement.eventJudgeIsLive (chplayer.js:606)
var eventPlaying = function(event) {
thisTemp.playingHandler();
// my code
thisTemp.changeVolume(thisTemp.V.volume);
};
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.