qutebrowser: Allow autoplay on Invidious

nazuna
Simon Bruder 2023-07-29 17:34:30 +02:00
parent 23b81817ba
commit 167b488ff2
Signed by: simon
GPG Key ID: 8D3C82F9F309F8EC
1 changed files with 6 additions and 0 deletions

View File

@ -27,6 +27,10 @@ let
"https://chat.sbruder.de"
];
permissionAutoplay = [
"https://iv.sbruder.xyz"
];
cookieExceptions = [
];
in
@ -243,6 +247,8 @@ lib.mkIf nixosConfig.sbruder.gui.enable
${setOptionForeachPattern "content.media.video_capture" true permissionVideo}
${setOptionForeachPattern "content.notifications.enabled" true permissionNotifications}
${setOptionForeachPattern "content.autoplay" true permissionAutoplay}
# Cookie exceptions
${setOptionForeachPattern "content.cookies.accept" "all" cookieExceptions}
'';