videojs_rails 4.6.4 → 4.7.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/videojs_rails/version.rb +1 -1
- data/vendor/assets/javascripts/video.js.erb +523 -376
- data/vendor/assets/stylesheets/video-js.css.erb +29 -13
- metadata +1 -1
@@ -1,6 +1,6 @@
|
|
1
1
|
/*!
|
2
2
|
Video.js Default Styles (http://videojs.com)
|
3
|
-
Version 4.
|
3
|
+
Version 4.7.0
|
4
4
|
Create your own skin at http://designer.videojs.com
|
5
5
|
*/
|
6
6
|
/* SKIN
|
@@ -21,7 +21,7 @@ The control icons are from a custom font. Each icon corresponds to a character
|
|
21
21
|
@font-face {
|
22
22
|
font-family: 'VideoJS';
|
23
23
|
src: url(<%= asset_path('vjs.eot') %>);
|
24
|
-
src: url(<%= asset_path('vjs.eot?#iefix') %>) format('embedded-opentype'), url(<%= asset_path('vjs.woff') %>) format('woff'), url(<%= asset_path('vjs.ttf') %>) format('truetype');
|
24
|
+
src: url(<%= asset_path('vjs.eot?#iefix') %>) format('embedded-opentype'), url(<%= asset_path('vjs.woff') %>) format('woff'), url(<%= asset_path('vjs.ttf') %>) format('truetype'), url(<%= asset_path('vjs.svg#icomoon') %>) format('svg');
|
25
25
|
font-weight: normal;
|
26
26
|
font-style: normal;
|
27
27
|
}
|
@@ -316,7 +316,8 @@ fonts to show/hide properly.
|
|
316
316
|
}
|
317
317
|
/* Progress Bars */
|
318
318
|
.vjs-default-skin .vjs-progress-holder .vjs-play-progress,
|
319
|
-
.vjs-default-skin .vjs-progress-holder .vjs-load-progress
|
319
|
+
.vjs-default-skin .vjs-progress-holder .vjs-load-progress,
|
320
|
+
.vjs-default-skin .vjs-progress-holder .vjs-load-progress div {
|
320
321
|
position: absolute;
|
321
322
|
display: block;
|
322
323
|
height: 100%;
|
@@ -343,7 +344,13 @@ fonts to show/hide properly.
|
|
343
344
|
}
|
344
345
|
.vjs-default-skin .vjs-load-progress {
|
345
346
|
background: #646464 /* IE8- Fallback */;
|
346
|
-
background: rgba(255, 255, 255, 0.
|
347
|
+
background: rgba(255, 255, 255, 0.2);
|
348
|
+
}
|
349
|
+
/* there are child elements of the load progress bar that represent the
|
350
|
+
specific time ranges that have been buffered */
|
351
|
+
.vjs-default-skin .vjs-load-progress div {
|
352
|
+
background: #787878 /* IE8- Fallback */;
|
353
|
+
background: rgba(255, 255, 255, 0.1);
|
347
354
|
}
|
348
355
|
.vjs-default-skin .vjs-seek-handle {
|
349
356
|
width: 1.5em;
|
@@ -549,6 +556,7 @@ easily in the skin designer. http://designer.videojs.com/
|
|
549
556
|
--------------------------------------------------------------------------------
|
550
557
|
*/
|
551
558
|
.vjs-loading-spinner {
|
559
|
+
/* Should be hidden by default */
|
552
560
|
display: none;
|
553
561
|
position: absolute;
|
554
562
|
top: 50%;
|
@@ -560,22 +568,22 @@ easily in the skin designer. http://designer.videojs.com/
|
|
560
568
|
margin-left: -0.5em;
|
561
569
|
margin-top: -0.5em;
|
562
570
|
opacity: 0.75;
|
571
|
+
}
|
572
|
+
/* Show the spinner when waiting for data and seeking to a new time */
|
573
|
+
.vjs-waiting .vjs-loading-spinner,
|
574
|
+
.vjs-seeking .vjs-loading-spinner {
|
575
|
+
display: block;
|
576
|
+
/* only animate when showing because it can be processor heavy */
|
563
577
|
/* animation */
|
564
578
|
-webkit-animation: spin 1.5s infinite linear;
|
565
579
|
-moz-animation: spin 1.5s infinite linear;
|
566
580
|
-o-animation: spin 1.5s infinite linear;
|
567
581
|
animation: spin 1.5s infinite linear;
|
568
582
|
}
|
569
|
-
/* Errors are unrecoverable without user interaction
|
570
|
-
|
571
|
-
|
572
|
-
/* using !important flag because currently the loading spinner
|
573
|
-
uses hide()/show() instead of classes. The !important can be
|
574
|
-
removed when that's updated */
|
575
|
-
|
576
|
-
display: none !important;
|
583
|
+
/* Errors are unrecoverable without user interaction so hide the spinner */
|
584
|
+
.vjs-error .vjs-loading-spinner {
|
585
|
+
display: none;
|
577
586
|
/* ensure animation doesn't continue while hidden */
|
578
|
-
|
579
587
|
/* animation */
|
580
588
|
-webkit-animation: none;
|
581
589
|
-moz-animation: none;
|
@@ -721,6 +729,14 @@ easily in the skin designer. http://designer.videojs.com/
|
|
721
729
|
.vjs-default-skin .vjs-captions-button:before {
|
722
730
|
content: "\e008";
|
723
731
|
}
|
732
|
+
/* Chapters Button */
|
733
|
+
.vjs-default-skin .vjs-chapters-button:before {
|
734
|
+
content: "\e00c";
|
735
|
+
}
|
736
|
+
.vjs-default-skin .vjs-chapters-button.vjs-menu-button .vjs-menu .vjs-menu-content {
|
737
|
+
width: 24em;
|
738
|
+
left: -12em;
|
739
|
+
}
|
724
740
|
/* Replacement for focus outline */
|
725
741
|
.vjs-default-skin .vjs-captions-button:focus .vjs-control-content:before,
|
726
742
|
.vjs-default-skin .vjs-captions-button:hover .vjs-control-content:before {
|