A-Circle Zhang пре 7 година
родитељ
комит
9c43d49e4b
1 измењених фајлова са 3 додато и 0 уклоњено
  1. 3 0
      src/js/player.js

+ 3 - 0
src/js/player.js

@@ -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');
     }