소스 검색

Update controller.js

A-Circle Zhang 7 년 전
부모
커밋
156552be97
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      src/js/controller.js

+ 1 - 1
src/js/controller.js

@@ -85,7 +85,7 @@ class Controller {
         if (this.player.options.video.thumbnails) {
             this.thumbnails = new Thumbnails({
                 container: this.player.template.barPreview,
-                barWidth: this.player.template.barWrap.offsetWidth,
+                barWrap: this.player.template.barWrap,
                 url: this.player.options.video.thumbnails,
                 events: this.player.events
             });