Update player.js

This commit is contained in:
A-Circle Zhang
2018-09-29 12:09:54 +08:00
committed by GitHub
parent 59f4ce6bc8
commit 9c43d49e4b
+3
View File
@@ -563,6 +563,9 @@ class DPlayer {
if (this.danmaku) {
this.danmaku.resize();
}
if (this.controller.thumbnails) {
this.controller.thumbnails.resize(160, this.video.videoHeight / this.video.videoWidth * 160, this.template.barWrap.offsetWidth);
}
this.events.trigger('resize');
}