123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538 |
- /**
- * @license Videogular v0.7.0 http://videogular.com
- * Two Fucking Developers http://twofuckingdevelopers.com
- * License: MIT
- */
- @font-face {
- font-family: 'icomoon';
- src: url('fonts/icomoon.eot');
- src: url('fonts/icomoon.eot?#iefix') format('embedded-opentype'),
- url('fonts/icomoon.woff') format('woff'),
- url('fonts/icomoon.ttf') format('truetype'),
- url('fonts/icomoon.svg#icomoon') format('svg');
- font-weight: normal;
- font-style: normal;
- }
- videogular {
- width: 100%;
- height: 100%;
- position: relative;
- background-color: #000000;
- display: block;
- flex-direction: column;
- -webkit-touch-callout: none;
- -webkit-user-select: none;
- -khtml-user-select: none;
- -moz-user-select: moz-none;
- -ms-user-select: none;
- user-select: none;
- }
- videogular button {
- cursor: pointer;
- }
- videogular.fullscreen {
- position: absolute;
- left: 0;
- top: 0;
- }
- videogular vg-video {
- width: 100%;
- height: 100%;
- max-width: 100%;
- max-height: 100%;
- display: block;
- }
- videogular video {
- width: 100%;
- height: 100%;
- max-width: 100%;
- max-height: 100%;
- }
- videogular .iconButton {
- color: #FFFFFF;
- font-family: 'icomoon';
- speak: none;
- font-style: normal;
- font-weight: normal;
- font-variant: normal;
- text-transform: none;
- line-height: 1;
- -webkit-font-smoothing: antialiased;
- background: none;
- padding: 6px;
- border: none;
- }
- videogular .iconButton:focus {
- border: 1px solid white;
- }
- /*****************/
- /* Poster plugin */
- /*****************/
- videogular vg-poster-image {
- width: 100%;
- height: 100%;
- max-width: 100%;
- max-height: 100%;
- position: absolute;
- display: block;
- z-index: 1;
- top: 0;
- }
- videogular vg-poster-image img {
- width: auto;
- height: auto;
- max-width: 100%;
- max-height: 100%;
- top: 0;
- bottom: 0;
- right: 0;
- left: 0;
- margin: auto;
- position: absolute;
- }
- /**********************/
- /* OverlayPlay plugin */
- /**********************/
- videogular vg-overlay-play {
- width: 100%;
- height: 100%;
- max-width: 100%;
- max-height: 100%;
- position: absolute;
- z-index: 2;
- top: 0;
- }
- videogular vg-overlay-play .play:before {
- content: "\e000";
- }
- videogular vg-overlay-play .overlayPlayContainer {
- font-size: 100px;
- width: 100%;
- height: 100%;
- max-width: 100%;
- max-height: 100%;
- position: absolute;
- display: table;
- cursor: pointer;
- zoom: 1;
- filter: alpha(opacity=60);
- opacity: 0.6;
- }
- videogular vg-overlay-play .overlayPlayContainer div {
- vertical-align: middle;
- text-align: center;
- display: table-cell;
- }
- /*********************/
- /* Controlbar plugin */
- /*********************/
- videogular vg-controls {
- width: 100%;
- height: 50px;
- display: block;
- position: absolute;
- z-index: 3;
- top: calc(100% - 50px);
- }
- videogular vg-controls #controls-container {
- width: 100%;
- height: 50px;
- background-color: #000000;
- position: absolute;
- display: table;
- zoom: 1;
- filter: alpha(opacity=50);
- opacity: 0.5;
- }
- videogular vg-play-pause-button {
- display: table-cell;
- width: 50px;
- vertical-align: middle;
- text-align: center;
- cursor: pointer;
- }
- videogular vg-timedisplay {
- color: #FFFFFF;
- display: table-cell;
- font-family: Arial;
- font-size: 18px;
- width: 75px;
- vertical-align: middle;
- text-align: center;
- cursor: default;
- }
- videogular .vgTimeDisplay {
- display: table-cell;
- font-family: Arial;
- font-size: 18px;
- width: auto;
- }
- videogular vg-scrubbar {
- width: auto;
- display: table-cell;
- cursor: pointer;
- }
- videogular vg-scrubbar :focus vg-scrubBarCurrentTime {
- border-right: 6px black groove;
- }
- videogular vg-scrubBarCurrentTime {
- background-color: #FFFFFF;
- width: 100%;
- height: 50px;
- display: block;
- cursor: pointer;
- }
- videogular vg-volume {
- display: table-cell;
- width: 50px;
- vertical-align: middle;
- text-align: center;
- cursor: pointer;
- }
- videogular vg-volumebar {
- width: 50px;
- height: 100px;
- top: -100px;
- margin-left: -25px;
- vertical-align: middle;
- text-align: center;
- position: absolute;
- cursor: pointer;
- }
- /* IE10 hack */
- @media screen and (-ms-high-contrast: active), (-ms-high-contrast: none) {
- videogular vg-volumebar {
- zoom: 1;
- filter: alpha(opacity=50);
- opacity: 0.5;
- }
- }
- videogular vg-fullscreenButton {
- display: table-cell;
- width: 50px;
- vertical-align: middle;
- text-align: center;
- cursor: pointer;
- }
- videogular vg-volumebar .verticalVolumeBar {
- width: 50px;
- height: 100px;
- background-color: #000000;
- position: absolute;
- }
- videogular vg-volumebar .volumeBackground {
- width: 20px;
- height: 70px;
- left: 15px;
- top: 15px;
- background-color: #222222;
- position: absolute;
- }
- videogular vg-volumebar .volumeValue {
- width: 20px;
- height: 100%;
- background-color: #FFFFFF;
- position: absolute;
- }
- videogular vg-volumebar .volumeClickArea {
- width: 20px;
- height: 100%;
- position: absolute;
- }
- videogular vg-controls .hide-animation {
- animation: hideControlsAnimationFrames ease-out 0.5s;
- animation-iteration-count: 1;
- animation-fill-mode: forwards; /*when the spec is finished*/
- -webkit-animation: hideControlsAnimationFrames ease-out 0.5s;
- -webkit-animation-iteration-count: 1;
- -webkit-animation-fill-mode: forwards; /*Chrome 16+, Safari 4+*/
- -moz-animation: hideControlsAnimationFrames ease-out 0.5s;
- -moz-animation-iteration-count: 1;
- -moz-animation-fill-mode: forwards; /*FF 5+*/
- -o-animation: hideControlsAnimationFrames ease-out 0.5s;
- -o-animation-iteration-count: 1;
- -o-animation-fill-mode: forwards; /*Not implemented yet*/
- -ms-animation: hideControlsAnimationFrames ease-out 0.5s;
- -ms-animation-iteration-count: 1;
- -ms-animation-fill-mode: forwards; /*IE 10+*/
- }
- @keyframes hideControlsAnimationFrames {
- 0% {
- opacity: 0.5;
- }
- 100% {
- opacity: 0;
- }
- }
- @-moz-keyframes hideControlsAnimationFrames {
- 0% {
- opacity: 0.5;
- }
- 100% {
- opacity: 0;
- }
- }
- @-webkit-keyframes hideControlsAnimationFrames {
- 0% {
- opacity: 0.5;
- }
- 100% {
- opacity: 0;
- }
- }
- @-o-keyframes hideControlsAnimationFrames {
- 0% {
- opacity: 0.5;
- }
- 100% {
- opacity: 0;
- }
- }
- @-ms-keyframes hideControlsAnimationFrames {
- 0% {
- opacity: 0.5;
- }
- 100% {
- opacity: 0;
- }
- }
- videogular vg-controls .show-animation {
- animation: showControlsAnimationFrames ease-out 0.5s;
- animation-iteration-count: 1;
- animation-fill-mode: forwards; /*when the spec is finished*/
- -webkit-animation: showControlsAnimationFrames ease-out 0.5s;
- -webkit-animation-iteration-count: 1;
- -webkit-animation-fill-mode: forwards; /*Chrome 16+, Safari 4+*/
- -moz-animation: showControlsAnimationFrames ease-out 0.5s;
- -moz-animation-iteration-count: 1;
- -moz-animation-fill-mode: forwards; /*FF 5+*/
- -o-animation: showControlsAnimationFrames ease-out 0.5s;
- -o-animation-iteration-count: 1;
- -o-animation-fill-mode: forwards; /*Not implemented yet*/
- -ms-animation: showControlsAnimationFrames ease-out 0.5s;
- -ms-animation-iteration-count: 1;
- -ms-animation-fill-mode: forwards; /*IE 10+*/
- }
- @keyframes showControlsAnimationFrames {
- 0% {
- opacity: 0;
- }
- 100% {
- opacity: 0.5;
- }
- }
- @-moz-keyframes showControlsAnimationFrames {
- 0% {
- opacity: 0;
- }
- 100% {
- opacity: 0.5;
- }
- }
- @-webkit-keyframes showControlsAnimationFrames {
- 0% {
- opacity: 0;
- }
- 100% {
- opacity: 0.5;
- }
- }
- @-o-keyframes showControlsAnimationFrames {
- 0% {
- opacity: 0;
- }
- 100% {
- opacity: 0.5;
- }
- }
- @-ms-keyframes showControlsAnimationFrames {
- 0% {
- opacity: 0;
- }
- 100% {
- opacity: 0.5;
- }
- }
- /* Controlbar icons */
- videogular vg-play-pause-button .play:before {
- content: "\e000";
- }
- videogular vg-play-pause-button .pause:before {
- content: "\e001";
- }
- videogular vg-mutebutton {
- width: 50px;
- display: block;
- }
- videogular vg-mutebutton .level3:before {
- content: "\e002";
- }
- videogular vg-mutebutton .level2:before {
- content: "\e003";
- }
- videogular vg-mutebutton .level1:before {
- content: "\e004";
- }
- videogular vg-mutebutton .level0:before {
- content: "\e005";
- }
- videogular vg-mutebutton .mute:before {
- content: "\e006";
- }
- videogular vg-fullscreenButton .enter:before {
- content: "\e007";
- }
- videogular vg-fullscreenButton .exit:before {
- content: "\e008";
- }
- /********************/
- /* Buffering plugin */
- /********************/
- videogular vg-buffering {
- width: 100%;
- height: 100%;
- position: absolute;
- z-index: 4;
- top: 0;
- }
- videogular vg-buffering .bufferingContainer {
- width: 100%;
- position: absolute;
- cursor: pointer;
- top: 50%;
- margin-top: -50px;
- zoom: 1;
- filter: alpha(opacity=60);
- opacity: 0.6;
- }
- /* Loading Spinner
- * http://www.alessioatzeni.com/blog/css3-loading-animation-loop/
- */
- videogular vg-buffering .loadingSpinner {
- background-color: rgba(0, 0, 0, 0);
- border: 5px solid rgba(255, 255, 255, 1);
- opacity: .9;
- border-top: 5px solid rgba(0, 0, 0, 0);
- border-left: 5px solid rgba(0, 0, 0, 0);
- border-radius: 50px;
- box-shadow: 0 0 35px #FFFFFF;
- width: 50px;
- height: 50px;
- margin: 0 auto;
- -moz-animation: spin .5s infinite linear;
- -webkit-animation: spin .5s infinite linear;
- }
- videogular vg-buffering .loadingSpinner .stop {
- -webkit-animation-play-state: paused;
- -moz-animation-play-state: paused;
- }
- @-moz-keyframes spin {
- 0% {
- -moz-transform: rotate(0deg);
- }
- 100% {
- -moz-transform: rotate(360deg);
- }
- }
- @-moz-keyframes spinoff {
- 0% {
- -moz-transform: rotate(0deg);
- }
- 100% {
- -moz-transform: rotate(-360deg);
- }
- }
- @-webkit-keyframes spin {
- 0% {
- -webkit-transform: rotate(0deg);
- }
- 100% {
- -webkit-transform: rotate(360deg);
- }
- }
- @-webkit-keyframes spinoff {
- 0% {
- -webkit-transform: rotate(0deg);
- }
- 100% {
- -webkit-transform: rotate(-360deg);
- }
- }
- /**********************/
- /* IMA ads plugin */
- /**********************/
- videogular vg-ima-ads {
- width: 100%;
- height: 100%;
- position: absolute;
- z-index: 5;
- top: 0;
- display: none;
- }
|