aboutsummaryrefslogtreecommitdiffstats
path: root/youtube/static
diff options
context:
space:
mode:
authorzrose584 <57181548+zrose584@users.noreply.github.com>2022-01-09 16:13:00 +0100
committerJesús <heckyel@hyperbola.info>2022-01-09 16:39:50 -0500
commit63c92e0c4ef4652e67fb7a3eca427f26f782e2e2 (patch)
tree135b016088dd387428c6439660b0a1e96f28b5dd /youtube/static
parent693b4ac98b74d2eaf8157f66d50921fdc9902353 (diff)
downloadyt-local-63c92e0c4ef4652e67fb7a3eca427f26f782e2e2.tar.lz
yt-local-63c92e0c4ef4652e67fb7a3eca427f26f782e2e2.tar.xz
yt-local-63c92e0c4ef4652e67fb7a3eca427f26f782e2e2.zip
add preview thumbnails
Signed-off-by: Jesús <heckyel@hyperbola.info>
Diffstat (limited to 'youtube/static')
-rw-r--r--youtube/static/js/plyr-start.js4
1 files changed, 4 insertions, 0 deletions
diff --git a/youtube/static/js/plyr-start.js b/youtube/static/js/plyr-start.js
index 86840e9..7b67185 100644
--- a/youtube/static/js/plyr-start.js
+++ b/youtube/static/js/plyr-start.js
@@ -116,6 +116,10 @@
}
},
},
+ previewThumbnails: {
+ enabled: true,
+ src: [storyboard_url],
+ },
settings: ['captions', 'quality', 'speed', 'loop'],
});
}());