|
@@ -13,6 +13,7 @@ e.g. <video class="video-js my-skin-name">
|
|
|
.vjs-default-skin {
|
|
|
color: #cccccc;
|
|
|
}
|
|
|
+
|
|
|
/* Custom Icon Font
|
|
|
--------------------------------------------------------------------------------
|
|
|
The control icons are from a custom font. Each icon corresponds to a character
|
|
@@ -25,6 +26,7 @@ The control icons are from a custom font. Each icon corresponds to a character
|
|
|
font-weight: normal;
|
|
|
font-style: normal;
|
|
|
}
|
|
|
+
|
|
|
/* Base UI Component Classes
|
|
|
--------------------------------------------------------------------------------
|
|
|
*/
|
|
@@ -39,25 +41,28 @@ The control icons are from a custom font. Each icon corresponds to a character
|
|
|
background-color: #333333;
|
|
|
background-color: rgba(51, 51, 51, 0.9);
|
|
|
}
|
|
|
+
|
|
|
.vjs-default-skin .vjs-slider:focus {
|
|
|
/* box-shadow */
|
|
|
-webkit-box-shadow: 0 0 2em #ffffff;
|
|
|
-moz-box-shadow: 0 0 2em #ffffff;
|
|
|
box-shadow: 0 0 2em #ffffff;
|
|
|
}
|
|
|
+
|
|
|
.vjs-default-skin .vjs-slider-handle {
|
|
|
position: absolute;
|
|
|
/* Needed for IE6 */
|
|
|
left: 0;
|
|
|
top: 0;
|
|
|
}
|
|
|
+
|
|
|
.vjs-default-skin .vjs-slider-handle:before {
|
|
|
content: "\e009";
|
|
|
font-family: VideoJS;
|
|
|
font-size: 1em;
|
|
|
line-height: 1;
|
|
|
text-align: center;
|
|
|
- text-shadow: 0em 0em 1em #fff;
|
|
|
+ //text-shadow: 0em 0em 1em #fff;
|
|
|
position: absolute;
|
|
|
top: 0;
|
|
|
left: 0;
|
|
@@ -69,6 +74,7 @@ The control icons are from a custom font. Each icon corresponds to a character
|
|
|
-o-transform: rotate(-45deg);
|
|
|
transform: rotate(-45deg);
|
|
|
}
|
|
|
+
|
|
|
/* Control Bar
|
|
|
--------------------------------------------------------------------------------
|
|
|
The default control bar that is a container for most of the controls.
|
|
@@ -89,6 +95,7 @@ The default control bar that is a container for most of the controls.
|
|
|
background-color: #07141e;
|
|
|
background-color: rgba(7, 20, 30, 0.7);
|
|
|
}
|
|
|
+
|
|
|
/* Show the control bar only once the video has started playing */
|
|
|
.vjs-default-skin.vjs-has-started .vjs-control-bar {
|
|
|
display: block;
|
|
@@ -102,6 +109,7 @@ The default control bar that is a container for most of the controls.
|
|
|
-o-transition: visibility 0.1s, opacity 0.1s;
|
|
|
transition: visibility 0.1s, opacity 0.1s;
|
|
|
}
|
|
|
+
|
|
|
/* Hide the control bar when the video is playing and the user is inactive */
|
|
|
.vjs-default-skin.vjs-has-started.vjs-user-inactive.vjs-playing .vjs-control-bar {
|
|
|
display: block;
|
|
@@ -113,12 +121,15 @@ The default control bar that is a container for most of the controls.
|
|
|
-o-transition: visibility 1s, opacity 1s;
|
|
|
transition: visibility 1s, opacity 1s;
|
|
|
}
|
|
|
+
|
|
|
.vjs-default-skin.vjs-controls-disabled .vjs-control-bar {
|
|
|
display: none;
|
|
|
}
|
|
|
+
|
|
|
.vjs-default-skin.vjs-using-native-controls .vjs-control-bar {
|
|
|
display: none;
|
|
|
}
|
|
|
+
|
|
|
/* IE8 is flakey with fonts, and you have to change the actual content to force
|
|
|
fonts to show/hide properly.
|
|
|
- "\9" IE8 hack didn't work for this
|
|
@@ -129,6 +140,7 @@ fonts to show/hide properly.
|
|
|
content: "";
|
|
|
}
|
|
|
}
|
|
|
+
|
|
|
/* General styles for individual controls. */
|
|
|
.vjs-default-skin .vjs-control {
|
|
|
outline: none;
|
|
@@ -140,6 +152,7 @@ fonts to show/hide properly.
|
|
|
height: 3.0em;
|
|
|
width: 4em;
|
|
|
}
|
|
|
+
|
|
|
/* FontAwsome button icons */
|
|
|
.vjs-default-skin .vjs-control:before {
|
|
|
font-family: VideoJS;
|
|
@@ -151,19 +164,22 @@ fonts to show/hide properly.
|
|
|
width: 100%;
|
|
|
height: 100%;
|
|
|
text-align: center;
|
|
|
- text-shadow: 1px 1px 1px rgba(0, 0, 0, 0.5);
|
|
|
+ //text-shadow: 1px 1px 1px rgba(0, 0, 0, 0.5);
|
|
|
}
|
|
|
+
|
|
|
/* Replacement for focus outline */
|
|
|
.vjs-default-skin .vjs-control:focus:before,
|
|
|
.vjs-default-skin .vjs-control:hover:before {
|
|
|
- text-shadow: 0em 0em 1em #ffffff;
|
|
|
+ //text-shadow: 0em 0em 1em #ffffff;
|
|
|
}
|
|
|
+
|
|
|
.vjs-default-skin .vjs-control:focus {
|
|
|
/* outline: 0; */
|
|
|
/* keyboard-only users cannot see the focus on several of the UI elements when
|
|
|
this is set to 0 */
|
|
|
|
|
|
}
|
|
|
+
|
|
|
/* Hide control text visually, but have it available for screenreaders */
|
|
|
.vjs-default-skin .vjs-control-text {
|
|
|
/* hide-visually */
|
|
@@ -176,6 +192,7 @@ fonts to show/hide properly.
|
|
|
position: absolute;
|
|
|
width: 1px;
|
|
|
}
|
|
|
+
|
|
|
/* Play/Pause
|
|
|
--------------------------------------------------------------------------------
|
|
|
*/
|
|
@@ -183,12 +200,15 @@ fonts to show/hide properly.
|
|
|
width: 5em;
|
|
|
cursor: pointer;
|
|
|
}
|
|
|
+
|
|
|
.vjs-default-skin .vjs-play-control:before {
|
|
|
content: "\e001";
|
|
|
}
|
|
|
+
|
|
|
.vjs-default-skin.vjs-playing .vjs-play-control:before {
|
|
|
content: "\e002";
|
|
|
}
|
|
|
+
|
|
|
/* Volume/Mute
|
|
|
-------------------------------------------------------------------------------- */
|
|
|
.vjs-default-skin .vjs-mute-control,
|
|
@@ -196,34 +216,42 @@ fonts to show/hide properly.
|
|
|
cursor: pointer;
|
|
|
float: right;
|
|
|
}
|
|
|
+
|
|
|
.vjs-default-skin .vjs-mute-control:before,
|
|
|
.vjs-default-skin .vjs-volume-menu-button:before {
|
|
|
content: "\e006";
|
|
|
}
|
|
|
+
|
|
|
.vjs-default-skin .vjs-mute-control.vjs-vol-0:before,
|
|
|
.vjs-default-skin .vjs-volume-menu-button.vjs-vol-0:before {
|
|
|
content: "\e003";
|
|
|
}
|
|
|
+
|
|
|
.vjs-default-skin .vjs-mute-control.vjs-vol-1:before,
|
|
|
.vjs-default-skin .vjs-volume-menu-button.vjs-vol-1:before {
|
|
|
content: "\e004";
|
|
|
}
|
|
|
+
|
|
|
.vjs-default-skin .vjs-mute-control.vjs-vol-2:before,
|
|
|
.vjs-default-skin .vjs-volume-menu-button.vjs-vol-2:before {
|
|
|
content: "\e005";
|
|
|
}
|
|
|
+
|
|
|
.vjs-default-skin .vjs-volume-control {
|
|
|
width: 5em;
|
|
|
float: right;
|
|
|
}
|
|
|
+
|
|
|
.vjs-default-skin .vjs-volume-bar {
|
|
|
width: 5em;
|
|
|
height: 0.6em;
|
|
|
margin: 1.1em auto 0;
|
|
|
}
|
|
|
+
|
|
|
.vjs-default-skin .vjs-volume-menu-button .vjs-menu-content {
|
|
|
height: 2.9em;
|
|
|
}
|
|
|
+
|
|
|
.vjs-default-skin .vjs-volume-level {
|
|
|
position: absolute;
|
|
|
top: 0;
|
|
@@ -231,10 +259,12 @@ fonts to show/hide properly.
|
|
|
height: 0.5em;
|
|
|
background: #66a8cc url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAYAAAAGCAYAAADgzO9IAAAAP0lEQVQIHWWMAQoAIAgDR/QJ/Ub//04+w7ZICBwcOg5FZi5iBB82AGzixEglJrd4TVK5XUJpskSTEvpdFzX9AB2pGziSQcvAAAAAAElFTkSuQmCC) -50% 0 repeat;
|
|
|
}
|
|
|
+
|
|
|
.vjs-default-skin .vjs-volume-bar .vjs-volume-handle {
|
|
|
width: 0.5em;
|
|
|
height: 0.5em;
|
|
|
}
|
|
|
+
|
|
|
.vjs-default-skin .vjs-volume-handle:before {
|
|
|
font-size: 0.9em;
|
|
|
top: -0.2em;
|
|
@@ -242,10 +272,12 @@ fonts to show/hide properly.
|
|
|
width: 1em;
|
|
|
height: 1em;
|
|
|
}
|
|
|
+
|
|
|
.vjs-default-skin .vjs-volume-menu-button .vjs-menu .vjs-menu-content {
|
|
|
width: 6em;
|
|
|
left: -4em;
|
|
|
}
|
|
|
+
|
|
|
/* Progress
|
|
|
--------------------------------------------------------------------------------
|
|
|
*/
|
|
@@ -265,6 +297,7 @@ fonts to show/hide properly.
|
|
|
-o-transition: all 0.4s;
|
|
|
transition: all 0.4s;
|
|
|
}
|
|
|
+
|
|
|
/* On hover, make the progress bar grow to something that's more clickable.
|
|
|
This simply changes the overall font for the progress bar, and this
|
|
|
updates both the em-based widths and heights, as wells as the icon font */
|
|
@@ -279,10 +312,12 @@ fonts to show/hide properly.
|
|
|
-o-transition: all 0.2s;
|
|
|
transition: all 0.2s;
|
|
|
}
|
|
|
+
|
|
|
/* Box containing play and load progresses. Also acts as seek scrubber. */
|
|
|
.vjs-default-skin .vjs-progress-holder {
|
|
|
height: 100%;
|
|
|
}
|
|
|
+
|
|
|
/* Progress Bars */
|
|
|
.vjs-default-skin .vjs-progress-holder .vjs-play-progress,
|
|
|
.vjs-default-skin .vjs-progress-holder .vjs-load-progress {
|
|
@@ -295,6 +330,7 @@ fonts to show/hide properly.
|
|
|
left: 0;
|
|
|
top: 0;
|
|
|
}
|
|
|
+
|
|
|
.vjs-default-skin .vjs-play-progress {
|
|
|
/*
|
|
|
Using a data URI to create the white diagonal lines with a transparent
|
|
@@ -307,17 +343,25 @@ fonts to show/hide properly.
|
|
|
|
|
|
background: #66a8cc url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAYAAAAGCAYAAADgzO9IAAAAP0lEQVQIHWWMAQoAIAgDR/QJ/Ub//04+w7ZICBwcOg5FZi5iBB82AGzixEglJrd4TVK5XUJpskSTEvpdFzX9AB2pGziSQcvAAAAAAElFTkSuQmCC) -50% 0 repeat;
|
|
|
}
|
|
|
+
|
|
|
.vjs-default-skin .vjs-load-progress {
|
|
|
- background: #646464 /* IE8- Fallback */;
|
|
|
+ background: #646464
|
|
|
+ /* IE8- Fallback */
|
|
|
+ ;
|
|
|
background: rgba(255, 255, 255, 0.4);
|
|
|
}
|
|
|
+
|
|
|
.vjs-default-skin .vjs-seek-handle {
|
|
|
width: 1.5em;
|
|
|
height: 100%;
|
|
|
}
|
|
|
+
|
|
|
.vjs-default-skin .vjs-seek-handle:before {
|
|
|
- padding-top: 0.1em /* Minor adjustment */;
|
|
|
+ padding-top: 0.1em
|
|
|
+ /* Minor adjustment */
|
|
|
+ ;
|
|
|
}
|
|
|
+
|
|
|
/* Time Display
|
|
|
--------------------------------------------------------------------------------
|
|
|
*/
|
|
@@ -326,21 +370,26 @@ fonts to show/hide properly.
|
|
|
/* Align vertically by making the line height the same as the control bar */
|
|
|
line-height: 3em;
|
|
|
}
|
|
|
+
|
|
|
.vjs-default-skin .vjs-current-time {
|
|
|
float: left;
|
|
|
}
|
|
|
+
|
|
|
.vjs-default-skin .vjs-duration {
|
|
|
float: left;
|
|
|
}
|
|
|
+
|
|
|
/* Remaining time is in the HTML, but not included in default design */
|
|
|
.vjs-default-skin .vjs-remaining-time {
|
|
|
display: none;
|
|
|
float: left;
|
|
|
}
|
|
|
+
|
|
|
.vjs-time-divider {
|
|
|
float: left;
|
|
|
line-height: 3em;
|
|
|
}
|
|
|
+
|
|
|
/* Fullscreen
|
|
|
--------------------------------------------------------------------------------
|
|
|
*/
|
|
@@ -349,13 +398,16 @@ fonts to show/hide properly.
|
|
|
cursor: pointer;
|
|
|
float: right;
|
|
|
}
|
|
|
+
|
|
|
.vjs-default-skin .vjs-fullscreen-control:before {
|
|
|
content: "\e000";
|
|
|
}
|
|
|
+
|
|
|
/* Switch to the exit icon when the player is in fullscreen */
|
|
|
.vjs-default-skin.vjs-fullscreen .vjs-fullscreen-control:before {
|
|
|
content: "\e00b";
|
|
|
}
|
|
|
+
|
|
|
/* Big Play Button (play button at start)
|
|
|
--------------------------------------------------------------------------------
|
|
|
Positioning of the play button in the center or other corners can be done more
|
|
@@ -393,6 +445,7 @@ easily in the skin designer. http://designer.videojs.com/
|
|
|
-o-transition: all 0.4s;
|
|
|
transition: all 0.4s;
|
|
|
}
|
|
|
+
|
|
|
/* Optionally center */
|
|
|
.vjs-default-skin.vjs-big-play-centered .vjs-big-play-button {
|
|
|
/* Center it horizontally */
|
|
@@ -402,19 +455,23 @@ easily in the skin designer. http://designer.videojs.com/
|
|
|
top: 50%;
|
|
|
margin-top: -1.4000000000000001em;
|
|
|
}
|
|
|
+
|
|
|
/* Hide if controls are disabled */
|
|
|
.vjs-default-skin.vjs-controls-disabled .vjs-big-play-button {
|
|
|
display: none;
|
|
|
}
|
|
|
+
|
|
|
/* Hide when video starts playing */
|
|
|
.vjs-default-skin.vjs-has-started .vjs-big-play-button {
|
|
|
display: none;
|
|
|
}
|
|
|
+
|
|
|
/* Hide on mobile devices. Remove when we stop using native controls
|
|
|
by default on mobile */
|
|
|
.vjs-default-skin.vjs-using-native-controls .vjs-big-play-button {
|
|
|
display: none;
|
|
|
}
|
|
|
+
|
|
|
.vjs-default-skin:hover .vjs-big-play-button,
|
|
|
.vjs-default-skin .vjs-big-play-button:focus {
|
|
|
outline: 0;
|
|
@@ -432,6 +489,7 @@ easily in the skin designer. http://designer.videojs.com/
|
|
|
-o-transition: all 0s;
|
|
|
transition: all 0s;
|
|
|
}
|
|
|
+
|
|
|
.vjs-default-skin .vjs-big-play-button:before {
|
|
|
content: "\e001";
|
|
|
font-family: VideoJS;
|
|
@@ -439,13 +497,16 @@ easily in the skin designer. http://designer.videojs.com/
|
|
|
to the same as the button height */
|
|
|
|
|
|
line-height: 2.6em;
|
|
|
- text-shadow: 0.05em 0.05em 0.1em #000;
|
|
|
- text-align: center /* Needed for IE8 */;
|
|
|
+ //text-shadow: 0.05em 0.05em 0.1em #000;
|
|
|
+ text-align: center
|
|
|
+ /* Needed for IE8 */
|
|
|
+ ;
|
|
|
position: absolute;
|
|
|
left: 0;
|
|
|
width: 100%;
|
|
|
height: 100%;
|
|
|
}
|
|
|
+
|
|
|
/* Loading Spinner
|
|
|
--------------------------------------------------------------------------------
|
|
|
*/
|
|
@@ -467,6 +528,7 @@ easily in the skin designer. http://designer.videojs.com/
|
|
|
-o-animation: spin 1.5s infinite linear;
|
|
|
animation: spin 1.5s infinite linear;
|
|
|
}
|
|
|
+
|
|
|
.vjs-default-skin .vjs-loading-spinner:before {
|
|
|
content: "\e01e";
|
|
|
font-family: VideoJS;
|
|
@@ -476,40 +538,49 @@ easily in the skin designer. http://designer.videojs.com/
|
|
|
width: 1em;
|
|
|
height: 1em;
|
|
|
text-align: center;
|
|
|
- text-shadow: 0em 0em 0.1em #000;
|
|
|
+ //text-shadow: 0em 0em 0.1em #000;
|
|
|
}
|
|
|
+
|
|
|
@-moz-keyframes spin {
|
|
|
0% {
|
|
|
-moz-transform: rotate(0deg);
|
|
|
}
|
|
|
+
|
|
|
100% {
|
|
|
-moz-transform: rotate(359deg);
|
|
|
}
|
|
|
}
|
|
|
+
|
|
|
@-webkit-keyframes spin {
|
|
|
0% {
|
|
|
-webkit-transform: rotate(0deg);
|
|
|
}
|
|
|
+
|
|
|
100% {
|
|
|
-webkit-transform: rotate(359deg);
|
|
|
}
|
|
|
}
|
|
|
+
|
|
|
@-o-keyframes spin {
|
|
|
0% {
|
|
|
-o-transform: rotate(0deg);
|
|
|
}
|
|
|
+
|
|
|
100% {
|
|
|
-o-transform: rotate(359deg);
|
|
|
}
|
|
|
}
|
|
|
+
|
|
|
@keyframes spin {
|
|
|
0% {
|
|
|
transform: rotate(0deg);
|
|
|
}
|
|
|
+
|
|
|
100% {
|
|
|
transform: rotate(359deg);
|
|
|
}
|
|
|
}
|
|
|
+
|
|
|
/* Menu Buttons (Captions/Subtitles/etc.)
|
|
|
--------------------------------------------------------------------------------
|
|
|
*/
|
|
@@ -517,6 +588,7 @@ easily in the skin designer. http://designer.videojs.com/
|
|
|
float: right;
|
|
|
cursor: pointer;
|
|
|
}
|
|
|
+
|
|
|
.vjs-default-skin .vjs-menu {
|
|
|
display: none;
|
|
|
position: absolute;
|
|
@@ -536,6 +608,7 @@ easily in the skin designer. http://designer.videojs.com/
|
|
|
/* Same as ul background */
|
|
|
|
|
|
}
|
|
|
+
|
|
|
/* Button Pop-up Menu */
|
|
|
.vjs-default-skin .vjs-menu-button .vjs-menu .vjs-menu-content {
|
|
|
display: block;
|
|
@@ -559,9 +632,11 @@ easily in the skin designer. http://designer.videojs.com/
|
|
|
-moz-box-shadow: -0.2em -0.2em 0.3em rgba(255, 255, 255, 0.2);
|
|
|
box-shadow: -0.2em -0.2em 0.3em rgba(255, 255, 255, 0.2);
|
|
|
}
|
|
|
+
|
|
|
.vjs-default-skin .vjs-menu-button:hover .vjs-menu {
|
|
|
display: block;
|
|
|
}
|
|
|
+
|
|
|
.vjs-default-skin .vjs-menu-button ul li {
|
|
|
list-style: none;
|
|
|
margin: 0;
|
|
@@ -571,9 +646,11 @@ easily in the skin designer. http://designer.videojs.com/
|
|
|
text-align: center;
|
|
|
text-transform: lowercase;
|
|
|
}
|
|
|
+
|
|
|
.vjs-default-skin .vjs-menu-button ul li.vjs-selected {
|
|
|
background-color: #000;
|
|
|
}
|
|
|
+
|
|
|
.vjs-default-skin .vjs-menu-button ul li:focus,
|
|
|
.vjs-default-skin .vjs-menu-button ul li:hover,
|
|
|
.vjs-default-skin .vjs-menu-button ul li.vjs-selected:focus,
|
|
@@ -588,6 +665,7 @@ easily in the skin designer. http://designer.videojs.com/
|
|
|
-moz-box-shadow: 0 0 1em #ffffff;
|
|
|
box-shadow: 0 0 1em #ffffff;
|
|
|
}
|
|
|
+
|
|
|
.vjs-default-skin .vjs-menu-button ul li.vjs-menu-title {
|
|
|
text-align: center;
|
|
|
text-transform: uppercase;
|
|
@@ -598,14 +676,17 @@ easily in the skin designer. http://designer.videojs.com/
|
|
|
font-weight: bold;
|
|
|
cursor: default;
|
|
|
}
|
|
|
+
|
|
|
/* Subtitles Button */
|
|
|
.vjs-default-skin .vjs-subtitles-button:before {
|
|
|
content: "\e00c";
|
|
|
}
|
|
|
+
|
|
|
/* Captions Button */
|
|
|
.vjs-default-skin .vjs-captions-button:before {
|
|
|
content: "\e008";
|
|
|
}
|
|
|
+
|
|
|
/* Replacement for focus outline */
|
|
|
.vjs-default-skin .vjs-captions-button:focus .vjs-control-content:before,
|
|
|
.vjs-default-skin .vjs-captions-button:hover .vjs-control-content:before {
|
|
@@ -614,6 +695,7 @@ easily in the skin designer. http://designer.videojs.com/
|
|
|
-moz-box-shadow: 0 0 1em #ffffff;
|
|
|
box-shadow: 0 0 1em #ffffff;
|
|
|
}
|
|
|
+
|
|
|
/*
|
|
|
REQUIRED STYLES (be careful overriding)
|
|
|
================================================================================
|
|
@@ -657,6 +739,7 @@ control positioning and full window mode. **
|
|
|
-ms-user-select: none;
|
|
|
user-select: none;
|
|
|
}
|
|
|
+
|
|
|
/* Playback technology elements expand to the width/height of the containing div
|
|
|
<video> or <object> */
|
|
|
.video-js .vjs-tech {
|
|
@@ -666,11 +749,13 @@ control positioning and full window mode. **
|
|
|
width: 100%;
|
|
|
height: 100%;
|
|
|
}
|
|
|
+
|
|
|
/* Fix for Firefox 9 fullscreen (only if it is enabled). Not needed when
|
|
|
checking fullScreenEnabled. */
|
|
|
.video-js:-moz-full-screen {
|
|
|
position: absolute;
|
|
|
}
|
|
|
+
|
|
|
/* Fullscreen Styles */
|
|
|
body.vjs-full-window {
|
|
|
padding: 0;
|
|
@@ -679,6 +764,7 @@ body.vjs-full-window {
|
|
|
/* Fix for IE6 full-window. http://www.cssplay.co.uk/layouts/fixed.html */
|
|
|
overflow-y: auto;
|
|
|
}
|
|
|
+
|
|
|
.video-js.vjs-fullscreen {
|
|
|
position: fixed;
|
|
|
overflow: hidden;
|
|
@@ -692,13 +778,16 @@ body.vjs-full-window {
|
|
|
/* IE6 full-window (underscore hack) */
|
|
|
_position: absolute;
|
|
|
}
|
|
|
+
|
|
|
.video-js:-webkit-full-screen {
|
|
|
width: 100% !important;
|
|
|
height: 100% !important;
|
|
|
}
|
|
|
+
|
|
|
.video-js.vjs-fullscreen.vjs-user-inactive {
|
|
|
cursor: none;
|
|
|
}
|
|
|
+
|
|
|
/* Poster Styles */
|
|
|
.vjs-poster {
|
|
|
background-repeat: no-repeat;
|
|
@@ -711,6 +800,7 @@ body.vjs-full-window {
|
|
|
position: relative;
|
|
|
width: 100%;
|
|
|
}
|
|
|
+
|
|
|
.vjs-poster img {
|
|
|
display: block;
|
|
|
margin: 0 auto;
|
|
@@ -718,10 +808,12 @@ body.vjs-full-window {
|
|
|
padding: 0;
|
|
|
width: 100%;
|
|
|
}
|
|
|
+
|
|
|
/* Hide the poster when native controls are used otherwise it covers them */
|
|
|
.video-js.vjs-using-native-controls .vjs-poster {
|
|
|
display: none;
|
|
|
}
|
|
|
+
|
|
|
/* Text Track Styles */
|
|
|
/* Overall track holder for both captions and subtitles */
|
|
|
.video-js .vjs-text-track-display {
|
|
@@ -732,10 +824,12 @@ body.vjs-full-window {
|
|
|
left: 1em;
|
|
|
right: 1em;
|
|
|
}
|
|
|
+
|
|
|
/* Move captions down when controls aren't being shown */
|
|
|
.video-js.vjs-user-inactive.vjs-playing .vjs-text-track-display {
|
|
|
bottom: 1em;
|
|
|
}
|
|
|
+
|
|
|
/* Individual tracks */
|
|
|
.video-js .vjs-text-track {
|
|
|
display: none;
|
|
@@ -747,24 +841,34 @@ body.vjs-full-window {
|
|
|
background-color: #000000;
|
|
|
background-color: rgba(0, 0, 0, 0.5);
|
|
|
}
|
|
|
+
|
|
|
.video-js .vjs-subtitles {
|
|
|
- color: #ffffff /* Subtitles are white */;
|
|
|
+ color: #ffffff
|
|
|
+ /* Subtitles are white */
|
|
|
+ ;
|
|
|
}
|
|
|
+
|
|
|
.video-js .vjs-captions {
|
|
|
- color: #ffcc66 /* Captions are yellow */;
|
|
|
+ color: #ffcc66
|
|
|
+ /* Captions are yellow */
|
|
|
+ ;
|
|
|
}
|
|
|
+
|
|
|
.vjs-tt-cue {
|
|
|
display: block;
|
|
|
}
|
|
|
+
|
|
|
/* Hide disabled or unsupported controls */
|
|
|
.vjs-default-skin .vjs-hidden {
|
|
|
display: none;
|
|
|
}
|
|
|
+
|
|
|
.vjs-lock-showing {
|
|
|
display: block !important;
|
|
|
opacity: 1;
|
|
|
visibility: visible;
|
|
|
}
|
|
|
+
|
|
|
/* -----------------------------------------------------------------------------
|
|
|
The original source of this file lives at
|
|
|
-https://github.com/videojs/video.js/blob/master/src/css/video-js.less */
|
|
|
+https://github.com/videojs/video.js/blob/master/src/css/video-js.less */
|