Embed: fake fullscreen mode for when the fullscreen api is not available

This commit is contained in:
Cat 2021-04-21 18:26:05 +02:00 committed by Thulinma
parent bffd81f27e
commit 1254018e37
6 changed files with 49 additions and 13 deletions

View file

@ -21,7 +21,7 @@ select>option{background-color:$background}
0%{transform:rotate(0)}
100%{transform:rotate(360deg)}
}
[data-fullscreen]{position:fixed;top:0;left:0;right:0;bottom:0;width:100%!important;height:100%!important}
[data-fullscreen]{position:fixed;top:0;left:0;right:0;bottom:0;width:100%!important;height:100%!important;background-color:#111!important;z-index:999}
video{display:block;flex-shrink:0}
table{color:inherit;font-size:inherit;font-style:inherit}
audio:not([controls]){display:block!important}