Improved plyr configuration

This commit is contained in:
Jesús
2021-07-03 23:38:50 -05:00
parent 20db70b9b9
commit de5510d3e3
2 changed files with 17 additions and 7 deletions

View File

@@ -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],