Fullscreen fallback for older browsers

This commit is contained in:
Sam Potts
2015-02-19 21:46:45 +11:00
parent d46d40fa17
commit d690560fc2
6 changed files with 131 additions and 76 deletions

View File

@ -130,8 +130,8 @@ a {
.example-video .player {
margin: 0 auto @padding-base;
&:fullscreen,
&-fullscreen {
&-fullscreen,
&.fullscreen-active {
max-width: none;
}
}

View File

@ -349,15 +349,15 @@
// Full screen mode
&-fullscreen,
&:fullscreen {
position: absolute;
&.fullscreen-active {
position: fixed;
top: 0;
left: 0;
right: 0;
bottom: 0;
height: 100%;
width: 100%;
z-index: 999999;
z-index: 10000000;
.player-video-wrapper {
height: 100%;