From de5510d3e36759fd70e07448c4bff0b301caa97c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jes=C3=BAs?= Date: Sat, 3 Jul 2021 23:38:50 -0500 Subject: Improved plyr configuration --- youtube/watch.py | 2 ++ 1 file changed, 2 insertions(+) (limited to 'youtube/watch.py') 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], -- cgit v1.2.3