diff --git a/settings.py b/settings.py index 7e988f7..d8e8dce 100644 --- a/settings.py +++ b/settings.py @@ -108,6 +108,13 @@ For security reasons, enabling this is not recommended.''', ], }), + ('use_video_hotkeys', { + 'label': 'Enable video hotkeys', + 'type': bool, + 'default': True, + 'comment': '', + }), + ('theme', { 'type': int, 'default': 0, diff --git a/youtube/templates/watch.html b/youtube/templates/watch.html index f0dcb8d..74b9887 100644 --- a/youtube/templates/watch.html +++ b/youtube/templates/watch.html @@ -48,7 +48,7 @@ width: 150px; } - {% if theater_mode %} + {% if settings.theater_mode %} video{ grid-column: 1 / span 5; justify-self: center; @@ -582,8 +582,8 @@ Reload without invidious (for usage of new identity button). {% endif %} - {% if related_videos_mode != 0 %} -