-
Notifications
You must be signed in to change notification settings - Fork 117
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Benton Rochester
committed
Sep 24, 2014
1 parent
9f11c89
commit aa4d67e
Showing
4 changed files
with
109 additions
and
48 deletions.
There are no files selected for viewing
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,64 @@ | ||
.container { | ||
position: relative | ||
} | ||
|
||
.background-video { | ||
background-position: top center; | ||
background-repeat: no-repeat; | ||
bottom: 0; | ||
left: 0; | ||
overflow: hidden; | ||
position: fixed; | ||
right: 0; | ||
top: 0; | ||
} | ||
|
||
video, | ||
source { | ||
bottom: 0; | ||
left: 0; | ||
min-height: 100%; | ||
min-width: 100%; | ||
position: absolute; | ||
} | ||
|
||
.loaded .ytplayer-container { | ||
display: block; | ||
} | ||
|
||
|
||
.ytplayer-container { | ||
bottom: 0; | ||
display: none; | ||
height: 100%; | ||
left: 0; | ||
min-width: 100%; | ||
overflow: hidden; | ||
position: absolute; | ||
right: 0; | ||
top: 0; | ||
z-index: 0; | ||
} | ||
|
||
.placeholder-image { | ||
height: 100%; | ||
left: 0; | ||
min-height: 100%; | ||
min-width: 100%; | ||
position: fixed; | ||
top: 0; | ||
z-index: 1; | ||
} | ||
|
||
.ytplayer-shield { | ||
height: 100%; | ||
left: 0; | ||
position: absolute; | ||
top: 0; | ||
width: 100%; | ||
z-index: 2; | ||
} | ||
|
||
.ytplayer-player { | ||
position: absolute; | ||
} |