diff options
author | Jesús <heckyel@hyperbola.info> | 2021-07-03 23:38:50 -0500 |
---|---|---|
committer | Jesús <heckyel@hyperbola.info> | 2021-07-03 23:38:50 -0500 |
commit | de5510d3e36759fd70e07448c4bff0b301caa97c (patch) | |
tree | 575e6b051191008979ce5751ac75efb0a68c574c /youtube/watch.py | |
parent | 20db70b9b9b95e149d2e13963a692f7eca6d8cc8 (diff) | |
download | yt-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.py | 2 |
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], |