DPlayer
DPlayer copied to clipboard
:lollipop: Wow, such a lovely HTML5 danmaku video player
中文用户请注意:请尽量用**英文**描述你的 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...
比如视频资源是存在不同地方的,需要我发请求去从后台分别获取再赋值
这个是写的初始化播放的代码 `let video = new DPlayer({ container: document.getElementById("videoPlayer"), video: { url: 'https://oss-test.kemiketang.com/meu8/teachResource/1/4.5.身体的“联络员”.m3u8', type: 'customHls', customType: { customHls: function (video: HTMLMediaElement, player: any) { const hls = new Hls(); hls.loadSource(video.src); hls.attachMedia(video);...
仔细看过文档,只有视频url的动态赋值,dp.switchVideo(),这个方法,文档中并没有发现给subtitle.url动态赋值的方法。请指点下,谢谢。
mounted() { this.dp = new DPlayer({ container: document.getElementById('dplayer'), video: {url:'', pic:''}, subtitle:{ url: '', type: 'webvtt', fontSize: '20px', bottom: '5%', color: '#ffffff', } }) }, methods:{ // 设置视频播放路径 setVideoUrl (e)...
i use Vue component. ``` import 'dplayer/dist/DPlayer.min.css'; import DPlayer from 'dplayer'; import flvjs from 'flv.js' ... new DPlayer({ container: document.getElementById('dplayer'), preload: 'none', video: { url: 'https://moeplayer.b0.upaiyun.com/dplayer/hikarunara.flv', type: 'flv' } });...
rt,各位开发者大佬好,请问可以显示类似下图一样的实时速率吗? 
Bumps [terser](https://github.com/terser/terser) from 4.3.1 to 4.8.1. Changelog Sourced from terser's changelog. v4.8.1 (backport) Security fix for RegExps that should not be evaluated (regexp DDOS) v4.8.0 Support for numeric separators (million...
I have a dual monitor setup, one is at 75hz frame rate, the other is at 240hz. No matter where the player window is, Player FPS is always `239.8` as...
Feel free to talk about your project and give me some feedback! 恕我直言,我不是针对某一个人,我是说在座的各位都是有品位的人。