mirror of
https://github.com/DIYgod/DPlayer
synced 2024-11-23 12:09:15 +00:00
fix re-display danmaku bug
This commit is contained in:
parent
e626eceea9
commit
0b0a317796
2
dist/DPlayer.min.js
vendored
2
dist/DPlayer.min.js
vendored
File diff suppressed because one or more lines are too long
2
dist/DPlayer.min.js.map
vendored
2
dist/DPlayer.min.js.map
vendored
File diff suppressed because one or more lines are too long
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "dplayer",
|
||||
"version": "1.0.7",
|
||||
"version": "1.0.8",
|
||||
"description": "Wow, such a lovely HTML5 danmaku video player",
|
||||
"main": "dist/DPlayer.min.js",
|
||||
"scripts": {
|
||||
|
@ -1,4 +1,4 @@
|
||||
console.log("\n %c DPlayer 1.0.7 %c http://dplayer.js.org \n\n","color: #fadfa3; background: #030307; padding:5px 0;","background: #fadfa3; padding:5px 0;");
|
||||
console.log("\n %c DPlayer 1.0.8 %c http://dplayer.js.org \n\n","color: #fadfa3; background: #030307; padding:5px 0;","background: #fadfa3; padding:5px 0;");
|
||||
|
||||
require('./DPlayer.scss');
|
||||
|
||||
@ -692,6 +692,11 @@ class DPlayer {
|
||||
if (option.danmaku) {
|
||||
clearInterval(danmakuTime);
|
||||
danContainer.innerHTML = `<div class="dplayer-danmaku-item dplayer-danmaku-item--demo"></div>`;
|
||||
let danTunnel = {
|
||||
right: {},
|
||||
top: {},
|
||||
bottom: {}
|
||||
};
|
||||
}
|
||||
}
|
||||
closeSetting();
|
||||
|
Loading…
Reference in New Issue
Block a user