Explorar el Código

Update controller.js

A-Circle Zhang hace 7 años
padre
commit
156552be97
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  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
             });