aboutsummaryrefslogtreecommitdiffstats
path: root/youtube/static/js/plyr-start.js
diff options
context:
space:
mode:
Diffstat (limited to 'youtube/static/js/plyr-start.js')
-rw-r--r--youtube/static/js/plyr-start.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/youtube/static/js/plyr-start.js b/youtube/static/js/plyr-start.js
index 7b67185..6029de6 100644
--- a/youtube/static/js/plyr-start.js
+++ b/youtube/static/js/plyr-start.js
@@ -117,8 +117,8 @@
},
},
previewThumbnails: {
- enabled: true,
- src: [storyboard_url],
+ enabled: storyboard_url != null,
+ src: [storyboard_url],
},
settings: ['captions', 'quality', 'speed', 'loop'],
});