Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 95dd471

Browse files
committed
added some fullscreen CSS
1 parent 787a96c commit 95dd471

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

11 - Custom Video Player/style.css

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,17 @@ body {
2626
overflow: hidden;
2727
}
2828

29+
/* This css is only applied when fullscreen is active. */
30+
.player:fullscreen {
31+
max-width: none;
32+
width: 100%;
33+
}
34+
35+
.player:-webkit-full-screen {
36+
max-width: none;
37+
width: 100%;
38+
}
39+
2940
.player__video {
3041
width: 100%;
3142
}

0 commit comments

Comments
 (0)