summaryrefslogtreecommitdiffstats
path: root/assets/js/player.js
diff options
context:
space:
mode:
authorsaltycrys <73420320+saltycrys@users.noreply.github.com>2020-11-08 22:02:25 +0100
committersaltycrys <73420320+saltycrys@users.noreply.github.com>2020-11-08 22:02:25 +0100
commit3379f3ef610e8f8c0aced4d9162874c63cced7e7 (patch)
treeb6bc6d0210ee9d185ae2cc25d21c9ffa67a1e39b /assets/js/player.js
parentaeed7deb2d631b81062806d1a5453bbdc994c5ec (diff)
downloadinvidious-3379f3ef610e8f8c0aced4d9162874c63cced7e7.tar.gz
invidious-3379f3ef610e8f8c0aced4d9162874c63cced7e7.tar.bz2
invidious-3379f3ef610e8f8c0aced4d9162874c63cced7e7.zip
Update videojs-vtt-thumbnails to latest upstream version
Note that the latest version on NPM is over two years old so this was built from source.
Diffstat (limited to 'assets/js/player.js')
-rw-r--r--assets/js/player.js3
1 files changed, 2 insertions, 1 deletions
diff --git a/assets/js/player.js b/assets/js/player.js
index edab35bf..f79fbbf3 100644
--- a/assets/js/player.js
+++ b/assets/js/player.js
@@ -149,7 +149,8 @@ if (!video_data.params.listen && video_data.params.quality === 'dash') {
}
player.vttThumbnails({
- src: location.origin + '/api/v1/storyboards/' + video_data.id + '?height=90'
+ src: location.origin + '/api/v1/storyboards/' + video_data.id + '?height=90',
+ showTimestamp: true
});
// Enable annotations