aboutsummaryrefslogtreecommitdiffstats
path: root/youtube/watch.py
diff options
context:
space:
mode:
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],