aboutsummaryrefslogtreecommitdiffstats
path: root/youtube/watch.py
diff options
context:
space:
mode:
authorJesús <heckyel@hyperbola.info>2021-07-03 23:38:50 -0500
committerJesús <heckyel@hyperbola.info>2021-07-03 23:38:50 -0500
commitde5510d3e36759fd70e07448c4bff0b301caa97c (patch)
tree575e6b051191008979ce5751ac75efb0a68c574c /youtube/watch.py
parent20db70b9b9b95e149d2e13963a692f7eca6d8cc8 (diff)
downloadyt-local-de5510d3e36759fd70e07448c4bff0b301caa97c.tar.lz
yt-local-de5510d3e36759fd70e07448c4bff0b301caa97c.tar.xz
yt-local-de5510d3e36759fd70e07448c4bff0b301caa97c.zip
Improved plyr configuration
Diffstat (limited to 'youtube/watch.py')
-rw-r--r--youtube/watch.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/youtube/watch.py b/youtube/watch.py
index 094f8b5..3bee71f 100644
--- a/youtube/watch.py
+++ b/youtube/watch.py
@@ -556,6 +556,8 @@ def get_watch_page(video_id=None):
js_data = {
'video_id': video_info['id'],
+ 'settings': settings.current_settings_dict,
+ 'has_manual_captions': any(s.get('on') for s in subtitle_sources),
},
# for embed page
font_family=youtube.font_choices[settings.font],