rm useless console.log
This commit is contained in:
parent
d40f1f19d7
commit
2323e73e30
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
|
|
@ -1,6 +1,6 @@
|
||||||
{
|
{
|
||||||
"name": "dplayer",
|
"name": "dplayer",
|
||||||
"version": "1.10.2",
|
"version": "1.10.3",
|
||||||
"description": "Wow, such a lovely HTML5 danmaku video player",
|
"description": "Wow, such a lovely HTML5 danmaku video player",
|
||||||
"main": "dist/DPlayer.min.js",
|
"main": "dist/DPlayer.min.js",
|
||||||
"style": "dist/DPlayer.min.css",
|
"style": "dist/DPlayer.min.css",
|
||||||
|
|
|
||||||
|
|
@ -772,7 +772,6 @@ class DPlayer {
|
||||||
if (this.video.duration) {
|
if (this.video.duration) {
|
||||||
time = Math.min(time, this.video.duration);
|
time = Math.min(time, this.video.duration);
|
||||||
}
|
}
|
||||||
console.log(time, this.video.currentTime, time - this.video.currentTime);
|
|
||||||
if (this.video.currentTime < time) {
|
if (this.video.currentTime < time) {
|
||||||
this.notice(`${this.tran('FF')} ${(time - this.video.currentTime).toFixed(0)} ${this.tran('s')}`);
|
this.notice(`${this.tran('FF')} ${(time - this.video.currentTime).toFixed(0)} ${this.tran('s')}`);
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue