DPlayer
DPlayer copied to clipboard
:lollipop: Wow, such a lovely HTML5 danmaku video player
不限制缩略图具有指定的规格大小,需要给定缩略图的规范,scale 参数指定宽高比,tile 参数指定缩略图碎片的排列规则。 let thumbnails = { preview:['./image/thumbnail001.jpg','./image/thumbnail002.jpg'], // 缩略图配置地址 tile:[10,10], // 缩略图排列规则 scale:[160,90], // 缩略片段图宽高比 } # ffmpeg生成scale=160:90,tile=10x10 的视频缩略图: ffmpeg -i video.mp4 -vsync vfr -vf "select=isnan(prev_selected_t)+gte(t-prev_selected_t\,1),scale=160:90,tile=10x10" -qscale:v 3 "output%03d.jpg"
支持同时显示多个 notice,修改 eslintrc 是因为 per-commit 会修改其他文件的换行符为 LF( Git 上为 CRLF)
测试发现官网弹幕和字幕正常加载,但是没有图像,,暂时未找到buf原因 推测1;网络问题 推测2:底层代码在固定条件下回产生冲突,导致画面阻塞或者画面无法载入
由于音频格式问题,控制台一直报错。如何屏蔽掉错误,或者音频解(视频监控不需要音频)
中文用户请注意:请尽量用**英文**描述你的 issue,这样能够让尽可能多的人帮到你。 If you want to report a bug, please provide the following information: - The steps to reproduce. - A minimal demo of the problem via https://jsfiddle.net or http://codepen.io/pen...
从接口获取视频url,同时开启截屏之后报跨域的错误,这个是要后端设置cors是吗
Can error event throw error message? in my case, error can't throw error message, is something wrong with me ? ``` javascript this.player = new DPlayer({ container: document.getElementById('video'), autoplay: true,...
When user at a low speed network, "defaultQuality" will prevent the video to switch to low quality and keep loading the larger one. A solution will solve this problem, that...
Bumps [set-getter](https://github.com/doowb/set-getter) from 0.1.0 to 0.1.1. Commits See full diff in compare view [](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores) Dependabot will resolve any conflicts with this PR as long as you don't alter...
中文用户请注意:请尽量用**英文**描述你的 issue,这样能够让尽可能多的人帮到你。 The danmaku will disappear when its center point passes the left boundary. 例如 http://dplayer.js.org/ 的demo,弹幕在中心位置过了左侧边界就会消失。 个人认为一个简单的方案是让弹幕都移动120%,请问可行吗? OS: Windows 10 Browser: Firefox 91.0a1