Version Description
- June 30, 2013 =
- Updated Video.js to version 4.1.0
- Restored code to show captions and download links in gallery pop-ups.
- Fixed conflict with fitVids.js by disabling the function whenever a video is embedded with the KGVID shortcode. fitVids.js is not compatible with the Video.js player and is not necessary to make videos responsive when you are using this plugin.
- Increased bitrate of encoded videos.
- Increased play button circle thickness and triangle size.
- Made video title overlay background slightly transparent and the title width fluid through CSS rather than JS.
Download this release
Release Info
Developer | kylegilman |
Plugin | Video Embed & Thumbnail Generator |
Version | 4.1.5 |
Comparing to | |
See all releases |
Code changes from version 4.1.4 to 4.1.5
- css/kgvid_styles.css +13 -20
- js/kgvid_video_embed.js +13 -13
- readme.txt +9 -1
- video-embed-thumbnail-generator.php +18 -16
- video-js/kg-video-js-skin.css +3 -3
- video-js/video-js.css +2 -728
- video-js/video.js +115 -114
css/kgvid_styles.css
CHANGED
@@ -22,6 +22,8 @@
|
|
22 |
z-index:1002;
|
23 |
}
|
24 |
|
|
|
|
|
25 |
div.kgvid_ios_novideo {
|
26 |
z-index:1003;
|
27 |
position:absolute;
|
@@ -48,15 +50,8 @@ img.kgvid_ios_novideo {
|
|
48 |
margin: 0px;
|
49 |
width: 100%;
|
50 |
height: 32px;
|
51 |
-
|
52 |
-
background:
|
53 |
-
background: -webkit-gradient(linear, 0% 0%, 0% 100%, color-stop(50%,#242424), color-stop(50%,#1f1f1f), color-stop(100%,#171717)); /* Chrome,Safari4+ */
|
54 |
-
background: -webkit-linear-gradient(top, #242424 50%,#1f1f1f 50%,#171717 100%); /* Chrome10+,Safari5.1+ */
|
55 |
-
background: -o-linear-gradient(top, #242424 50%,#1f1f1f 50%,#171717 100%); /* Opera11.10+ */
|
56 |
-
background: -ms-linear-gradient(top, #242424 50%,#1f1f1f 50%,#171717 100%); /* IE10+ */
|
57 |
-
/* Filter was causing a lot of weird issues in IE. Elements would stop showing up, or other styles would break. */
|
58 |
-
/*filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#242424', endColorstr='#171717',GradientType=0 );*/ /* IE6-9 */
|
59 |
-
background: linear-gradient(top, #242424 50%,#1f1f1f 50%,#171717 100%); /* W3C */
|
60 |
visibility: hidden;
|
61 |
opacity: 0;
|
62 |
-webkit-transition: visibility 1s linear, opacity 1s linear;
|
@@ -69,17 +64,14 @@ img.kgvid_ios_novideo {
|
|
69 |
visibility: visible;
|
70 |
}
|
71 |
|
72 |
-
.kgvid_video_meta div {
|
73 |
-
display:inline-block;
|
74 |
-
margin: 6px !important;
|
75 |
-
}
|
76 |
-
|
77 |
.kgvid_title {
|
78 |
-
height:
|
79 |
font-size: 10pt;
|
80 |
overflow: hidden;
|
81 |
padding-top: 1px;
|
82 |
padding-left: 4px;
|
|
|
|
|
83 |
}
|
84 |
|
85 |
.kgvid_video_meta input {
|
@@ -99,25 +91,26 @@ img.kgvid_ios_novideo {
|
|
99 |
.kgvid_share {
|
100 |
font-size: 10px;
|
101 |
float: right;
|
|
|
102 |
}
|
103 |
|
104 |
.kgvid_below_video {
|
105 |
margin: 2px 6px 0px 4px;
|
106 |
min-height: 20px;
|
107 |
clear: both;
|
108 |
-
|
109 |
-
|
110 |
-
.kgvid_below_video div {
|
111 |
-
display: inline-block;
|
112 |
-
vertical-align: top;
|
113 |
}
|
114 |
|
115 |
.kgvid-viewcount {
|
116 |
float: right;
|
|
|
|
|
117 |
}
|
118 |
|
119 |
.kgvid-caption {
|
120 |
font-size: 85%;
|
|
|
121 |
font-style: italic;
|
122 |
}
|
123 |
|
22 |
z-index:1002;
|
23 |
}
|
24 |
|
25 |
+
.vjs-fullscreen {padding-top: 0px}
|
26 |
+
|
27 |
div.kgvid_ios_novideo {
|
28 |
z-index:1003;
|
29 |
position:absolute;
|
50 |
margin: 0px;
|
51 |
width: 100%;
|
52 |
height: 32px;
|
53 |
+
overflow: hidden;
|
54 |
+
background-color: rgba(40, 40, 40, 0.95);
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
55 |
visibility: hidden;
|
56 |
opacity: 0;
|
57 |
-webkit-transition: visibility 1s linear, opacity 1s linear;
|
64 |
visibility: visible;
|
65 |
}
|
66 |
|
|
|
|
|
|
|
|
|
|
|
67 |
.kgvid_title {
|
68 |
+
height: 12pt;
|
69 |
font-size: 10pt;
|
70 |
overflow: hidden;
|
71 |
padding-top: 1px;
|
72 |
padding-left: 4px;
|
73 |
+
margin: 6px;
|
74 |
+
width: auto;
|
75 |
}
|
76 |
|
77 |
.kgvid_video_meta input {
|
91 |
.kgvid_share {
|
92 |
font-size: 10px;
|
93 |
float: right;
|
94 |
+
margin: 6px 6px 6px 12px;
|
95 |
}
|
96 |
|
97 |
.kgvid_below_video {
|
98 |
margin: 2px 6px 0px 4px;
|
99 |
min-height: 20px;
|
100 |
clear: both;
|
101 |
+
width: 100%;
|
102 |
+
overflow: hidden;
|
|
|
|
|
|
|
103 |
}
|
104 |
|
105 |
.kgvid-viewcount {
|
106 |
float: right;
|
107 |
+
margin-left: 12px;
|
108 |
+
white-space: nowrap;
|
109 |
}
|
110 |
|
111 |
.kgvid-caption {
|
112 |
font-size: 85%;
|
113 |
+
line-height: 150%;
|
114 |
font-style: italic;
|
115 |
}
|
116 |
|
js/kgvid_video_embed.js
CHANGED
@@ -1,15 +1,18 @@
|
|
1 |
var kgvid_video_vars = {};
|
2 |
|
3 |
-
function kgvid_SetVideo(suffix, site_url, id, width, height) {
|
4 |
var aspect_ratio = Math.round(height/width*1000)/1000
|
5 |
if ( width > screen.width ) {
|
6 |
width = screen.width-6;
|
7 |
height = Math.round(width * aspect_ratio);
|
8 |
}
|
9 |
-
|
|
|
|
|
|
|
10 |
jQuery('#kgvid_GalleryPlayerDiv_'+suffix).dialog("option", "width", parseInt(width)+6);
|
11 |
jQuery('#kgvid_GalleryPlayerDiv_'+suffix).dialog('open');
|
12 |
-
jQuery('#kgvid_GalleryPlayerDiv_'+suffix).dialog("option", "height", parseInt(
|
13 |
jQuery('.ui-widget-overlay').click(function () { jQuery('#kgvid_GalleryPlayerDiv_'+suffix).dialog('close'); });
|
14 |
}
|
15 |
function kgvid_timeupdate() {
|
@@ -19,7 +22,7 @@ function kgvid_timeupdate() {
|
|
19 |
function kgvid_setup_video(id) {
|
20 |
var video_vars = kgvid_video_vars[id];
|
21 |
var iOS = ( navigator.userAgent.match(/(iPad|iPhone|iPod)/i) ? true : false );
|
22 |
-
if (iOS) { video_vars.player_type = "Video.js"; }
|
23 |
|
24 |
jQuery('#video_'+id+'_div').prepend(jQuery('#video_'+id+'_watermark'));
|
25 |
jQuery('#video_'+id+'_watermark').attr('style', ''); //shows the hidden watermark div
|
@@ -29,6 +32,10 @@ function kgvid_setup_video(id) {
|
|
29 |
if ( video_vars.player_type == "Video.js" ) {
|
30 |
|
31 |
var player = videojs('video_'+id);
|
|
|
|
|
|
|
|
|
32 |
|
33 |
if ( video_vars.set_volume != "" ) { player.volume(video_vars.set_volume); }
|
34 |
|
@@ -116,9 +123,10 @@ function kgvid_setup_video(id) {
|
|
116 |
}
|
117 |
);
|
118 |
} //end if Strobe Media Playback
|
119 |
-
|
120 |
kgvid_resize_video(id);
|
121 |
window.addEventListener('resize', kgvid_resize_all_videos, false);
|
|
|
122 |
}
|
123 |
|
124 |
function kgvid_resize_all_videos() {
|
@@ -170,14 +178,6 @@ function kgvid_resize_video(id) {
|
|
170 |
}
|
171 |
|
172 |
}
|
173 |
-
|
174 |
-
var width_remove = 10;
|
175 |
-
if ( jQuery('#video_'+id+'_embed').length ) { width_remove = 180; }
|
176 |
-
jQuery('#video_'+id+'_title').width(set_width-width_remove); //truncates long titles
|
177 |
-
|
178 |
-
width_remove = 0;
|
179 |
-
if ( jQuery('#video_'+id+'_viewcount').length ) { width_remove = jQuery('#video_'+id+'_viewcount').width()+20; }
|
180 |
-
jQuery('#video_'+id+'_caption').width(set_width-width_remove); //wraps long captions
|
181 |
|
182 |
}
|
183 |
|
1 |
var kgvid_video_vars = {};
|
2 |
|
3 |
+
function kgvid_SetVideo(suffix, site_url, id, width, height, meta) {
|
4 |
var aspect_ratio = Math.round(height/width*1000)/1000
|
5 |
if ( width > screen.width ) {
|
6 |
width = screen.width-6;
|
7 |
height = Math.round(width * aspect_ratio);
|
8 |
}
|
9 |
+
var iframe_height = height;
|
10 |
+
if ( meta > 0 ) { iframe_height = parseInt(height)+Math.round(20*meta); }
|
11 |
+
|
12 |
+
jQuery('#kgvid_GalleryPlayerDiv_'+suffix).html('<iframe id="kgvid_GalleryVideo_'+id+'" src="'+site_url+'?attachment_id='+id+'&kgvid_video_embed[enable]=true&kgvid_video_embed[gallery]=true&kgvid_video_embed[width]='+width+'&kgvid_video_embed[height]='+height+'" scrolling="no" width="'+width+'" height="'+iframe_height+'" frameborder="0" webkitallowfullscreen="" allowfullscreen=""></iframe>');
|
13 |
jQuery('#kgvid_GalleryPlayerDiv_'+suffix).dialog("option", "width", parseInt(width)+6);
|
14 |
jQuery('#kgvid_GalleryPlayerDiv_'+suffix).dialog('open');
|
15 |
+
jQuery('#kgvid_GalleryPlayerDiv_'+suffix).dialog("option", "height", parseInt(iframe_height)+10);
|
16 |
jQuery('.ui-widget-overlay').click(function () { jQuery('#kgvid_GalleryPlayerDiv_'+suffix).dialog('close'); });
|
17 |
}
|
18 |
function kgvid_timeupdate() {
|
22 |
function kgvid_setup_video(id) {
|
23 |
var video_vars = kgvid_video_vars[id];
|
24 |
var iOS = ( navigator.userAgent.match(/(iPad|iPhone|iPod)/i) ? true : false );
|
25 |
+
if (iOS && video_vars.player_type == "Strobe Media Playback" ) { video_vars.player_type = "Video.js"; }
|
26 |
|
27 |
jQuery('#video_'+id+'_div').prepend(jQuery('#video_'+id+'_watermark'));
|
28 |
jQuery('#video_'+id+'_watermark').attr('style', ''); //shows the hidden watermark div
|
32 |
if ( video_vars.player_type == "Video.js" ) {
|
33 |
|
34 |
var player = videojs('video_'+id);
|
35 |
+
|
36 |
+
if ( jQuery('#video_'+id+'_flash_api').parent().is('.fluid-width-video-wrapper') ) { //disables fitVids.js
|
37 |
+
jQuery('#video_'+id+'_flash_api').unwrap();
|
38 |
+
}
|
39 |
|
40 |
if ( video_vars.set_volume != "" ) { player.volume(video_vars.set_volume); }
|
41 |
|
123 |
}
|
124 |
);
|
125 |
} //end if Strobe Media Playback
|
126 |
+
|
127 |
kgvid_resize_video(id);
|
128 |
window.addEventListener('resize', kgvid_resize_all_videos, false);
|
129 |
+
|
130 |
}
|
131 |
|
132 |
function kgvid_resize_all_videos() {
|
178 |
}
|
179 |
|
180 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
181 |
|
182 |
}
|
183 |
|
readme.txt
CHANGED
@@ -4,7 +4,7 @@ Donate link: https://www.paypal.com/cgi-bin/webscr?cmd=_donations&business=kyleg
|
|
4 |
Tags: video, video player, video gallery, html5, shortcode, thumbnail, poster, ffmpeg, libav, embed, mobile, webm, ogg, h.264, responsive
|
5 |
Requires at least: 3.2
|
6 |
Tested up to: 3.6
|
7 |
-
Stable tag: 4.1.
|
8 |
License: GPLv2 or later
|
9 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
10 |
|
@@ -140,6 +140,14 @@ Use the "Embed from URL" tab and enter the URL in this format http://username:pa
|
|
140 |
|
141 |
== Changelog ==
|
142 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
143 |
= 4.1.4 - May 30, 2013 =
|
144 |
* Updated Video.js to version 4.0.3 which includes fixes when hitting esc to exit fullscreen that this plugin had previously dealt with through additional JavaScript.
|
145 |
* Restored ability to use percentages for video width (I didn't even know you could do this before and I apologize for breaking it arbitrarily).
|
4 |
Tags: video, video player, video gallery, html5, shortcode, thumbnail, poster, ffmpeg, libav, embed, mobile, webm, ogg, h.264, responsive
|
5 |
Requires at least: 3.2
|
6 |
Tested up to: 3.6
|
7 |
+
Stable tag: 4.1.5
|
8 |
License: GPLv2 or later
|
9 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
10 |
|
140 |
|
141 |
== Changelog ==
|
142 |
|
143 |
+
= 4.1.5 - June 30, 2013 =
|
144 |
+
* Updated Video.js to version 4.1.0
|
145 |
+
* Restored code to show captions and download links in gallery pop-ups.
|
146 |
+
* Fixed conflict with fitVids.js by disabling the function whenever a video is embedded with the KGVID shortcode. fitVids.js is not compatible with the Video.js player and is not necessary to make videos responsive when you are using this plugin.
|
147 |
+
* Increased bitrate of encoded videos.
|
148 |
+
* Increased play button circle thickness and triangle size.
|
149 |
+
* Made video title overlay background slightly transparent and the title width fluid through CSS rather than JS.
|
150 |
+
|
151 |
= 4.1.4 - May 30, 2013 =
|
152 |
* Updated Video.js to version 4.0.3 which includes fixes when hitting esc to exit fullscreen that this plugin had previously dealt with through additional JavaScript.
|
153 |
* Restored ability to use percentages for video width (I didn't even know you could do this before and I apologize for breaking it arbitrarily).
|
video-embed-thumbnail-generator.php
CHANGED
@@ -3,7 +3,7 @@
|
|
3 |
Plugin Name: Video Embed & Thumbnail Generator
|
4 |
Plugin URI: http://www.kylegilman.net/2011/01/18/video-embed-thumbnail-generator-wordpress-plugin/
|
5 |
Description: Generates thumbnails, HTML5-compliant videos, and embed codes for locally hosted videos. Requires FFMPEG for thumbnails and encodes. <a href="options-general.php?page=video-embed-thumbnail-generator/video-embed-thumbnail-generator.php">Settings</a> | <a href="https://www.paypal.com/cgi-bin/webscr?cmd=_donations&business=kylegilman@gmail.com&item_name=Video%20Embed%20And%20Thumbnail%20Generator%20Plugin%20Donation/">Donate</a>
|
6 |
-
Version: 4.1.
|
7 |
Author: Kyle Gilman
|
8 |
Author URI: http://www.kylegilman.net/
|
9 |
|
@@ -41,7 +41,7 @@ if ( ! defined( 'ABSPATH' ) )
|
|
41 |
|
42 |
function kgvid_default_options_fn() {
|
43 |
$options = array(
|
44 |
-
"version"=>4.
|
45 |
"embed_method"=>"Video.js",
|
46 |
"template"=>false,
|
47 |
"template_gentle"=>"on",
|
@@ -522,8 +522,8 @@ function kgvid_video_embed_enqueue_scripts() {
|
|
522 |
}
|
523 |
|
524 |
//Video.js script and skins
|
525 |
-
wp_enqueue_script( 'video-js', plugins_url("", __FILE__).'/video-js/video.js', '', '4.0
|
526 |
-
wp_enqueue_style( 'video-js-css', plugins_url("", __FILE__).'/video-js/video-js.css', '', '4.0
|
527 |
wp_enqueue_style( 'video-js-kg-skin', plugins_url("", __FILE__).'/video-js/kg-video-js-skin.css', '', $options['version'] );
|
528 |
|
529 |
//plugin-related frontend scripts and styles
|
@@ -544,7 +544,7 @@ add_action('admin_enqueue_scripts', 'enqueue_kgvid_script');
|
|
544 |
|
545 |
function kgvid_video_embed_print_scripts() {
|
546 |
|
547 |
-
echo '<script type="text/javascript">videojs.options.flash.swf = "'.plugins_url("", __FILE__).'/video-js/video-js.swf?
|
548 |
|
549 |
}
|
550 |
add_action('wp_head', 'kgvid_video_embed_print_scripts');
|
@@ -764,8 +764,9 @@ function KGVID_shortcode($atts, $content = ''){
|
|
764 |
$code .= implode("\n", $sources); //add the <source> tags created earlier
|
765 |
|
766 |
$code .= "</video>\n";
|
767 |
-
$show_views = false;
|
768 |
$code .= "</div>";
|
|
|
|
|
769 |
if ( !empty($id) || !empty($query_atts['caption']) || $content == plugins_url('/images/sample-video-h264.mp4', __FILE__) ) { //generate content below the video
|
770 |
$view_count = number_format(intval(get_post_meta($id, "_kgflashmediaplayer-starts", true)));
|
771 |
if ( empty($view_count) ) { $view_count = "0"; }
|
@@ -773,6 +774,7 @@ function KGVID_shortcode($atts, $content = ''){
|
|
773 |
if ( $query_atts['view_count'] == "true" ) { $show_views = true; }
|
774 |
if ( !empty($query_atts['caption']) || $show_views || $query_atts['downloadlink'] == "true" ) {
|
775 |
$code .= '<div class="kgvid_below_video" id="video_'.$div_suffix.'_below">';
|
|
|
776 |
if ( !empty($query_atts['caption']) || $query_atts['downloadlink'] == "true" ) {
|
777 |
$code .= '<div class="kgvid-caption" id="video_'.$div_suffix.'_caption">'.$query_atts['caption'];
|
778 |
if ( $query_atts['downloadlink'] == "true" ) {
|
@@ -781,7 +783,6 @@ function KGVID_shortcode($atts, $content = ''){
|
|
781 |
}
|
782 |
$code .= '</div>';
|
783 |
}
|
784 |
-
if ( $show_views ) { $code .= '<div class="kgvid-viewcount" id="video_'.$div_suffix.'_viewcount">'.$view_count.' views</div>'; }
|
785 |
$code .= '</div>';
|
786 |
}
|
787 |
}
|
@@ -789,15 +790,15 @@ function KGVID_shortcode($atts, $content = ''){
|
|
789 |
if ( $query_atts['title'] != "false" || $query_atts['embedcode'] != "false" ) { //generate content overlaid on video
|
790 |
$kgvid_meta = true;
|
791 |
$code .= "<div style=\"display:none;\" id=\"video_".$div_suffix."_meta\" class=\"kgvid_video_meta kgvid_video_meta_hover\">";
|
792 |
-
if ( $query_atts['title'] != "false" ) {
|
793 |
-
$code .= "<div id='video_".$div_suffix."_title' class='kgvid_title'>".$query_atts['title']."</div>";
|
794 |
-
}
|
795 |
if ( $query_atts['embedcode'] != "false" ) {
|
796 |
if ( $query_atts['embedcode'] == "true" ) { $iframeurl = site_url('/')."?attachment_id=".$id."&kgvid_video_embed[enable]=true"; }
|
797 |
else { $iframeurl = $query_atts['embedcode']; }
|
798 |
$iframecode = "<iframe src='".$iframeurl."' frameborder='0' scrolling='no' width='".$query_atts['width']."' height='".$query_atts["height"]."'></iframe>";
|
799 |
$code .= "<div id=\"video_".$div_suffix."_embed\" class=\"kgvid_share\"><span>Embed: </span><input type=\"text\" value=\"".$iframecode."\" onClick=\"this.select();\"></div>";
|
800 |
}
|
|
|
|
|
|
|
801 |
$code .= "</div>";
|
802 |
}
|
803 |
else { $kgvid_meta = false; }
|
@@ -821,7 +822,8 @@ function KGVID_shortcode($atts, $content = ''){
|
|
821 |
$code .= "\n\t\t"."<script type='text/javascript'>
|
822 |
kgvid_video_vars['".$div_suffix."'] = jQuery.parseJSON ( '".$json_video_variables."' );";
|
823 |
if ( $options['embed_method'] == "Video.js" || ($options['embed_method'] == "Strobe Media Playback" && !$flash_source_found) ) {
|
824 |
-
$code .= "\n\t\t\t"."
|
|
|
825 |
}
|
826 |
if ( $options['embed_method'] == "Strobe Media Playback" && $flash_source_found ) {
|
827 |
$code .= "\n\t\t\t"."swfobject.embedSWF('".$video_swf."', 'video_".$div_suffix."', '".trim($query_atts['width'])."', '".trim($query_atts['height'])."', '".$minimum_flash."', '".plugins_url("", __FILE__)."/flash/expressInstall.swf', $flashvars, $params, '', function(e) { kgvid_setup_video(".$div_suffix."); });";
|
@@ -883,7 +885,7 @@ function KGVID_shortcode($atts, $content = ''){
|
|
883 |
$downloadlink = get_post_meta($attachment->ID, "_kgflashmediaplayer-downloadlink", true);
|
884 |
if ( empty($query_atts['caption']) ) { $query_atts['caption'] = $attachment->post_excerpt; }
|
885 |
$below_video = 0;
|
886 |
-
if ( !empty($query_atts['caption'])
|
887 |
if ( $downloadlink == "checked" ) { ++$below_video; }
|
888 |
|
889 |
$code .= '<div onclick="kgvid_SetVideo(\''.$div_suffix.'\', \''.site_url('/').'\', \''.$attachment->ID.'\', \''.$video_width.'\', \''.$video_height.'\', '.$below_video.');return false;" class="kgvid_video_gallery_thumb" style="width:'.$query_atts["gallery_thumb"].'px"><img src="'.$thumbnail_url.'"><div class="'.$options['js_skin'].'" ><div class="vjs-big-play-button" style="-webkit-transform: scale('.$play_scale.') translateY(-30px); -o-transform: scale('.$play_scale.') translateY(-30px); -ms-transform: scale('.$play_scale.') translateY(-30px); transform: scale('.$play_scale.') translateY(-30px);"><span></span></div></div><div class="titlebackground"><div class="videotitle">'.$attachment->post_title.'</div></div></div>'."\n\t\t\t";
|
@@ -2779,8 +2781,8 @@ function kgvid_encode_videos() {
|
|
2779 |
if ( $movie_info['configuration']['libvo_aacenc'] == "true" ) { $aaclib = "libvo_aacenc"; }
|
2780 |
else { $aaclib = "libfaac"; }
|
2781 |
|
2782 |
-
if ( $format == "rotated" ) { $h264bitrate = round($h264_movie_width *
|
2783 |
-
else { $h264bitrate = round($h264_movie_height *
|
2784 |
$vpre_flags = "";
|
2785 |
if ( $options['ffmpeg_vpre'] == 'on' ) { $vpre_flags = '-vpre slow -vpre ipod640'; }
|
2786 |
|
@@ -2803,7 +2805,7 @@ function kgvid_encode_videos() {
|
|
2803 |
if ( $queued_format == "webm" ) {
|
2804 |
if ( ! $encodevideo_info['webm_exists'] || ($encodevideo_info['sameserver'] && filesize($encodevideo_info['webmfilepath']) < 24576) ) {
|
2805 |
if ( $movie_info['configuration']['libvorbis'] == "true" && $movie_info['configuration']['libvpx'] == "true" ) {
|
2806 |
-
$webmbitrate = $movie_info['height'] *
|
2807 |
$ffmpeg_options = ' -'.$audio_bitrate_flag.' 128k -'.$video_bitrate_flag.' '.$webmbitrate.'k '.$movie_info['rotate'].' -threads 1 "'.$encodevideo_info['webmfilepath'].'"';
|
2808 |
$embed_display .= "<strong>Encoding WEBM. </strong>";
|
2809 |
}//if the necessary webm libraries are enabled
|
@@ -2821,7 +2823,7 @@ function kgvid_encode_videos() {
|
|
2821 |
if ( ! $encodevideo_info['ogg_exists'] || ($encodevideo_info['sameserver'] && filesize($encodevideo_info['oggfilepath']) < 24576) ) {
|
2822 |
|
2823 |
if ( $movie_info['configuration']['libvorbis'] == "true" && $movie_info['configuration']['libtheora'] == "true" ) {
|
2824 |
-
$ogvbitrate = $movie_info['height'] *
|
2825 |
$ffmpeg_options = ' -acodec libvorbis -'.$audio_bitrate_flag.' 128k -vcodec libtheora -'.$video_bitrate_flag.' '.$ogvbitrate.'k '.$movie_info['rotate'].' -threads 1 "'.$encodevideo_info['oggfilepath'].'"';
|
2826 |
$embed_display .= "<strong>Encoding OGV. </strong>";
|
2827 |
}//if the necessary OGV libraries are enabled
|
3 |
Plugin Name: Video Embed & Thumbnail Generator
|
4 |
Plugin URI: http://www.kylegilman.net/2011/01/18/video-embed-thumbnail-generator-wordpress-plugin/
|
5 |
Description: Generates thumbnails, HTML5-compliant videos, and embed codes for locally hosted videos. Requires FFMPEG for thumbnails and encodes. <a href="options-general.php?page=video-embed-thumbnail-generator/video-embed-thumbnail-generator.php">Settings</a> | <a href="https://www.paypal.com/cgi-bin/webscr?cmd=_donations&business=kylegilman@gmail.com&item_name=Video%20Embed%20And%20Thumbnail%20Generator%20Plugin%20Donation/">Donate</a>
|
6 |
+
Version: 4.1.5
|
7 |
Author: Kyle Gilman
|
8 |
Author URI: http://www.kylegilman.net/
|
9 |
|
41 |
|
42 |
function kgvid_default_options_fn() {
|
43 |
$options = array(
|
44 |
+
"version"=>4.15,
|
45 |
"embed_method"=>"Video.js",
|
46 |
"template"=>false,
|
47 |
"template_gentle"=>"on",
|
522 |
}
|
523 |
|
524 |
//Video.js script and skins
|
525 |
+
wp_enqueue_script( 'video-js', plugins_url("", __FILE__).'/video-js/video.js', '', '4.1.0' );
|
526 |
+
wp_enqueue_style( 'video-js-css', plugins_url("", __FILE__).'/video-js/video-js.css', '', '4.1.0' );
|
527 |
wp_enqueue_style( 'video-js-kg-skin', plugins_url("", __FILE__).'/video-js/kg-video-js-skin.css', '', $options['version'] );
|
528 |
|
529 |
//plugin-related frontend scripts and styles
|
544 |
|
545 |
function kgvid_video_embed_print_scripts() {
|
546 |
|
547 |
+
echo '<script type="text/javascript">videojs.options.flash.swf = "'.plugins_url("", __FILE__).'/video-js/video-js.swf?4.1.0"</script>'."\n";
|
548 |
|
549 |
}
|
550 |
add_action('wp_head', 'kgvid_video_embed_print_scripts');
|
764 |
$code .= implode("\n", $sources); //add the <source> tags created earlier
|
765 |
|
766 |
$code .= "</video>\n";
|
|
|
767 |
$code .= "</div>";
|
768 |
+
|
769 |
+
$show_views = false;
|
770 |
if ( !empty($id) || !empty($query_atts['caption']) || $content == plugins_url('/images/sample-video-h264.mp4', __FILE__) ) { //generate content below the video
|
771 |
$view_count = number_format(intval(get_post_meta($id, "_kgflashmediaplayer-starts", true)));
|
772 |
if ( empty($view_count) ) { $view_count = "0"; }
|
774 |
if ( $query_atts['view_count'] == "true" ) { $show_views = true; }
|
775 |
if ( !empty($query_atts['caption']) || $show_views || $query_atts['downloadlink'] == "true" ) {
|
776 |
$code .= '<div class="kgvid_below_video" id="video_'.$div_suffix.'_below">';
|
777 |
+
if ( $show_views ) { $code .= '<div class="kgvid-viewcount" id="video_'.$div_suffix.'_viewcount">'.$view_count.' views</div>'; }
|
778 |
if ( !empty($query_atts['caption']) || $query_atts['downloadlink'] == "true" ) {
|
779 |
$code .= '<div class="kgvid-caption" id="video_'.$div_suffix.'_caption">'.$query_atts['caption'];
|
780 |
if ( $query_atts['downloadlink'] == "true" ) {
|
783 |
}
|
784 |
$code .= '</div>';
|
785 |
}
|
|
|
786 |
$code .= '</div>';
|
787 |
}
|
788 |
}
|
790 |
if ( $query_atts['title'] != "false" || $query_atts['embedcode'] != "false" ) { //generate content overlaid on video
|
791 |
$kgvid_meta = true;
|
792 |
$code .= "<div style=\"display:none;\" id=\"video_".$div_suffix."_meta\" class=\"kgvid_video_meta kgvid_video_meta_hover\">";
|
|
|
|
|
|
|
793 |
if ( $query_atts['embedcode'] != "false" ) {
|
794 |
if ( $query_atts['embedcode'] == "true" ) { $iframeurl = site_url('/')."?attachment_id=".$id."&kgvid_video_embed[enable]=true"; }
|
795 |
else { $iframeurl = $query_atts['embedcode']; }
|
796 |
$iframecode = "<iframe src='".$iframeurl."' frameborder='0' scrolling='no' width='".$query_atts['width']."' height='".$query_atts["height"]."'></iframe>";
|
797 |
$code .= "<div id=\"video_".$div_suffix."_embed\" class=\"kgvid_share\"><span>Embed: </span><input type=\"text\" value=\"".$iframecode."\" onClick=\"this.select();\"></div>";
|
798 |
}
|
799 |
+
if ( $query_atts['title'] != "false" ) {
|
800 |
+
$code .= "<div id='video_".$div_suffix."_title' class='kgvid_title'>".$query_atts['title']."</div>";
|
801 |
+
}
|
802 |
$code .= "</div>";
|
803 |
}
|
804 |
else { $kgvid_meta = false; }
|
822 |
$code .= "\n\t\t"."<script type='text/javascript'>
|
823 |
kgvid_video_vars['".$div_suffix."'] = jQuery.parseJSON ( '".$json_video_variables."' );";
|
824 |
if ( $options['embed_method'] == "Video.js" || ($options['embed_method'] == "Strobe Media Playback" && !$flash_source_found) ) {
|
825 |
+
$code .= "\n\t\t\t"."if(typeof(jQuery)=='function'){(function($){\$.fn.fitVids=function(){}})(jQuery)};
|
826 |
+
videojs('video_".$div_suffix."').ready(function(){ kgvid_setup_video('".$div_suffix."'); });";
|
827 |
}
|
828 |
if ( $options['embed_method'] == "Strobe Media Playback" && $flash_source_found ) {
|
829 |
$code .= "\n\t\t\t"."swfobject.embedSWF('".$video_swf."', 'video_".$div_suffix."', '".trim($query_atts['width'])."', '".trim($query_atts['height'])."', '".$minimum_flash."', '".plugins_url("", __FILE__)."/flash/expressInstall.swf', $flashvars, $params, '', function(e) { kgvid_setup_video(".$div_suffix."); });";
|
885 |
$downloadlink = get_post_meta($attachment->ID, "_kgflashmediaplayer-downloadlink", true);
|
886 |
if ( empty($query_atts['caption']) ) { $query_atts['caption'] = $attachment->post_excerpt; }
|
887 |
$below_video = 0;
|
888 |
+
if ( !empty($query_atts['caption']) ) { $below_video = 1; }
|
889 |
if ( $downloadlink == "checked" ) { ++$below_video; }
|
890 |
|
891 |
$code .= '<div onclick="kgvid_SetVideo(\''.$div_suffix.'\', \''.site_url('/').'\', \''.$attachment->ID.'\', \''.$video_width.'\', \''.$video_height.'\', '.$below_video.');return false;" class="kgvid_video_gallery_thumb" style="width:'.$query_atts["gallery_thumb"].'px"><img src="'.$thumbnail_url.'"><div class="'.$options['js_skin'].'" ><div class="vjs-big-play-button" style="-webkit-transform: scale('.$play_scale.') translateY(-30px); -o-transform: scale('.$play_scale.') translateY(-30px); -ms-transform: scale('.$play_scale.') translateY(-30px); transform: scale('.$play_scale.') translateY(-30px);"><span></span></div></div><div class="titlebackground"><div class="videotitle">'.$attachment->post_title.'</div></div></div>'."\n\t\t\t";
|
2781 |
if ( $movie_info['configuration']['libvo_aacenc'] == "true" ) { $aaclib = "libvo_aacenc"; }
|
2782 |
else { $aaclib = "libfaac"; }
|
2783 |
|
2784 |
+
if ( $format == "rotated" ) { $h264bitrate = round($h264_movie_width * 4); }
|
2785 |
+
else { $h264bitrate = round($h264_movie_height * 4); }
|
2786 |
$vpre_flags = "";
|
2787 |
if ( $options['ffmpeg_vpre'] == 'on' ) { $vpre_flags = '-vpre slow -vpre ipod640'; }
|
2788 |
|
2805 |
if ( $queued_format == "webm" ) {
|
2806 |
if ( ! $encodevideo_info['webm_exists'] || ($encodevideo_info['sameserver'] && filesize($encodevideo_info['webmfilepath']) < 24576) ) {
|
2807 |
if ( $movie_info['configuration']['libvorbis'] == "true" && $movie_info['configuration']['libvpx'] == "true" ) {
|
2808 |
+
$webmbitrate = $movie_info['height'] * 4;
|
2809 |
$ffmpeg_options = ' -'.$audio_bitrate_flag.' 128k -'.$video_bitrate_flag.' '.$webmbitrate.'k '.$movie_info['rotate'].' -threads 1 "'.$encodevideo_info['webmfilepath'].'"';
|
2810 |
$embed_display .= "<strong>Encoding WEBM. </strong>";
|
2811 |
}//if the necessary webm libraries are enabled
|
2823 |
if ( ! $encodevideo_info['ogg_exists'] || ($encodevideo_info['sameserver'] && filesize($encodevideo_info['oggfilepath']) < 24576) ) {
|
2824 |
|
2825 |
if ( $movie_info['configuration']['libvorbis'] == "true" && $movie_info['configuration']['libtheora'] == "true" ) {
|
2826 |
+
$ogvbitrate = $movie_info['height'] * 4;
|
2827 |
$ffmpeg_options = ' -acodec libvorbis -'.$audio_bitrate_flag.' 128k -vcodec libtheora -'.$video_bitrate_flag.' '.$ogvbitrate.'k '.$movie_info['rotate'].' -threads 1 "'.$encodevideo_info['oggfilepath'].'"';
|
2828 |
$embed_display .= "<strong>Encoding OGV. </strong>";
|
2829 |
}//if the necessary OGV libraries are enabled
|
video-js/kg-video-js-skin.css
CHANGED
@@ -390,13 +390,13 @@ by Kyle Gilman (http://www.kylegilman.net/)
|
|
390 |
.kg-video-js-skin .vjs-big-play-button:before {
|
391 |
content: "\e001"; /* Play icon */
|
392 |
font-family: VideoJS;
|
393 |
-
font-size:
|
394 |
-
line-height:
|
395 |
text-align: center; /* Needed for IE8 */
|
396 |
transition-property: color;
|
397 |
transition-duration: 0.4s;
|
398 |
position: absolute;
|
399 |
-
left:
|
400 |
width: 100%;
|
401 |
height: 100%;
|
402 |
}
|
390 |
.kg-video-js-skin .vjs-big-play-button:before {
|
391 |
content: "\e001"; /* Play icon */
|
392 |
font-family: VideoJS;
|
393 |
+
font-size: 5.5em;
|
394 |
+
line-height: 1.5em;
|
395 |
text-align: center; /* Needed for IE8 */
|
396 |
transition-property: color;
|
397 |
transition-duration: 0.4s;
|
398 |
position: absolute;
|
399 |
+
left: 2px;
|
400 |
width: 100%;
|
401 |
height: 100%;
|
402 |
}
|
video-js/video-js.css
CHANGED
@@ -1,730 +1,4 @@
|
|
1 |
/*!
|
2 |
Video.js Default Styles (http://videojs.com)
|
3 |
-
Version 4.0
|
4 |
-
*/
|
5 |
-
|
6 |
-
/*
|
7 |
-
REQUIRED STYLES (be careful overriding)
|
8 |
-
================================================================================ */
|
9 |
-
/* When loading the player, the video tag is replaced with a DIV,
|
10 |
-
that will hold the video tag or object tag for other playback methods.
|
11 |
-
The div contains the video playback element (Flash or HTML5) and controls, and sets the width and height of the video.
|
12 |
-
|
13 |
-
** If you want to add some kind of border/padding (e.g. a frame), or special positioning, use another containing element.
|
14 |
-
Otherwise you risk messing up control positioning and full window mode. **
|
15 |
-
*/
|
16 |
-
.video-js {
|
17 |
-
background-color: #000;
|
18 |
-
position: relative;
|
19 |
-
padding: 0;
|
20 |
-
/* Start with 10px for base font size so other dimensions can be em based and easily calculable. */
|
21 |
-
font-size: 10px;
|
22 |
-
/* Allow poster to be vertially aligned. */
|
23 |
-
vertical-align: middle;
|
24 |
-
/* display: table-cell; */ /*This works in Safari but not Firefox.*/
|
25 |
-
}
|
26 |
-
|
27 |
-
/* Playback technology elements expand to the width/height of the containing div.
|
28 |
-
<video> or <object> */
|
29 |
-
.video-js .vjs-tech {
|
30 |
-
position: absolute;
|
31 |
-
top: 0;
|
32 |
-
left: 0;
|
33 |
-
width: 100%;
|
34 |
-
height: 100%;
|
35 |
-
}
|
36 |
-
|
37 |
-
/* Fix for Firefox 9 fullscreen (only if it is enabled). Not needed when checking fullScreenEnabled. */
|
38 |
-
.video-js:-moz-full-screen { position: absolute; }
|
39 |
-
|
40 |
-
/* Fullscreen Styles */
|
41 |
-
body.vjs-full-window {
|
42 |
-
padding: 0;
|
43 |
-
margin: 0;
|
44 |
-
height: 100%;
|
45 |
-
overflow-y: auto; /* Fix for IE6 full-window. http://www.cssplay.co.uk/layouts/fixed.html */
|
46 |
-
}
|
47 |
-
.video-js.vjs-fullscreen {
|
48 |
-
position: fixed;
|
49 |
-
overflow: hidden;
|
50 |
-
z-index: 1000;
|
51 |
-
left: 0;
|
52 |
-
top: 0;
|
53 |
-
bottom: 0;
|
54 |
-
right: 0;
|
55 |
-
width: 100% !important;
|
56 |
-
height: 100% !important;
|
57 |
-
_position: absolute; /* IE6 Full-window (underscore hack) */
|
58 |
-
}
|
59 |
-
.video-js:-webkit-full-screen {
|
60 |
-
width: 100% !important; height: 100% !important;
|
61 |
-
}
|
62 |
-
|
63 |
-
/* Poster Styles */
|
64 |
-
.vjs-poster {
|
65 |
-
background-repeat: no-repeat;
|
66 |
-
background-position: 50% 50%;
|
67 |
-
background-size: contain;
|
68 |
-
cursor: pointer;
|
69 |
-
height: 100%;
|
70 |
-
margin: 0;
|
71 |
-
padding: 0;
|
72 |
-
position: relative;
|
73 |
-
width: 100%;
|
74 |
-
}
|
75 |
-
.vjs-poster img {
|
76 |
-
display: block;
|
77 |
-
margin: 0 auto;
|
78 |
-
max-height: 100%;
|
79 |
-
padding: 0;
|
80 |
-
width: 100%;
|
81 |
-
}
|
82 |
-
|
83 |
-
/* Text Track Styles */
|
84 |
-
/* Overall track holder for both captions and subtitles */
|
85 |
-
.video-js .vjs-text-track-display {
|
86 |
-
text-align: center;
|
87 |
-
position: absolute;
|
88 |
-
bottom: 4em;
|
89 |
-
left: 1em; /* Leave padding on left and right */
|
90 |
-
right: 1em;
|
91 |
-
font-family: Arial, sans-serif;
|
92 |
-
}
|
93 |
-
/* Individual tracks */
|
94 |
-
.video-js .vjs-text-track {
|
95 |
-
display: none;
|
96 |
-
font-size: 1.4em;
|
97 |
-
text-align: center;
|
98 |
-
margin-bottom: 0.1em;
|
99 |
-
/* Transparent black background, or fallback to all black (oldIE) */
|
100 |
-
background: rgb(0, 0, 0); background: rgba(0, 0, 0, 0.50);
|
101 |
-
}
|
102 |
-
.video-js .vjs-subtitles { color: #fff; } /* Subtitles are white */
|
103 |
-
.video-js .vjs-captions { color: #fc6; } /* Captions are yellow */
|
104 |
-
.vjs-tt-cue { display: block; }
|
105 |
-
|
106 |
-
/* Fading sytles, used to fade control bar. */
|
107 |
-
.vjs-fade-in {
|
108 |
-
display: block !important;
|
109 |
-
visibility: visible; /* Needed to make sure things hide in older browsers too. */
|
110 |
-
opacity: 1;
|
111 |
-
|
112 |
-
-webkit-transition: visibility 0.1s, opacity 0.1s;
|
113 |
-
-moz-transition: visibility 0.1s, opacity 0.1s;
|
114 |
-
-ms-transition: visibility 0.1s, opacity 0.1s;
|
115 |
-
-o-transition: visibility 0.1s, opacity 0.1s;
|
116 |
-
transition: visibility 0.1s, opacity 0.1s;
|
117 |
-
}
|
118 |
-
.vjs-fade-out {
|
119 |
-
display: block !important;
|
120 |
-
visibility: hidden;
|
121 |
-
opacity: 0;
|
122 |
-
|
123 |
-
-webkit-transition: visibility 1.5s, opacity 1.5s;
|
124 |
-
-moz-transition: visibility 1.5s, opacity 1.5s;
|
125 |
-
-ms-transition: visibility 1.5s, opacity 1.5s;
|
126 |
-
-o-transition: visibility 1.5s, opacity 1.5s;
|
127 |
-
transition: visibility 1.5s, opacity 1.5s;
|
128 |
-
|
129 |
-
/* Wait a moment before fading out the control bar */
|
130 |
-
-webkit-transition-delay: 2s;
|
131 |
-
-moz-transition-delay: 2s;
|
132 |
-
-ms-transition-delay: 2s;
|
133 |
-
-o-transition-delay: 2s;
|
134 |
-
transition-delay: 2s;
|
135 |
-
}
|
136 |
-
/* Hide disabled or unsupported controls */
|
137 |
-
.vjs-default-skin .vjs-hidden { display: none; }
|
138 |
-
|
139 |
-
.vjs-lock-showing {
|
140 |
-
display: block !important;
|
141 |
-
opacity: 1;
|
142 |
-
visibility: visible;
|
143 |
-
}
|
144 |
-
|
145 |
-
/* DEFAULT SKIN (override in another file to create new skins)
|
146 |
-
================================================================================
|
147 |
-
Instead of editing this file, I recommend creating your own skin CSS file to be included after this file,
|
148 |
-
so you can upgrade to newer versions easier. You can remove all these styles by removing the 'vjs-default-skin' class from the tag. */
|
149 |
-
|
150 |
-
/* Base UI Component Classes
|
151 |
-
-------------------------------------------------------------------------------- */
|
152 |
-
@font-face{
|
153 |
-
font-family: 'VideoJS';
|
154 |
-
src: url('font/vjs.eot');
|
155 |
-
src: url('font/vjs.eot?#iefix') format('embedded-opentype'),
|
156 |
-
url('font/vjs.woff') format('woff'),
|
157 |
-
url('font/vjs.ttf') format('truetype');
|
158 |
-
font-weight: normal;
|
159 |
-
font-style: normal;
|
160 |
-
}
|
161 |
-
|
162 |
-
.vjs-default-skin {
|
163 |
-
color: #ccc;
|
164 |
-
}
|
165 |
-
|
166 |
-
/* Slider - used for Volume bar and Seek bar */
|
167 |
-
.vjs-default-skin .vjs-slider {
|
168 |
-
outline: 0; /* Replace browser focus hightlight with handle highlight */
|
169 |
-
position: relative;
|
170 |
-
cursor: pointer;
|
171 |
-
padding: 0;
|
172 |
-
|
173 |
-
background: rgb(50, 50, 50); /* IE8- Fallback */
|
174 |
-
background: rgba(100, 100, 100, 0.5);
|
175 |
-
}
|
176 |
-
|
177 |
-
.vjs-default-skin .vjs-slider:focus {
|
178 |
-
background: rgb(70, 70, 70); /* IE8- Fallback */
|
179 |
-
background: rgba(100, 100, 100, 0.70);
|
180 |
-
|
181 |
-
-webkit-box-shadow: 0 0 2em rgba(255, 255, 255, 1);
|
182 |
-
-moz-box-shadow: 0 0 2em rgba(255, 255, 255, 1);
|
183 |
-
box-shadow: 0 0 2em rgba(255, 255, 255, 1);
|
184 |
-
}
|
185 |
-
|
186 |
-
.vjs-default-skin .vjs-slider-handle {
|
187 |
-
position: absolute;
|
188 |
-
/* Needed for IE6 */
|
189 |
-
left: 0;
|
190 |
-
top: 0;
|
191 |
-
}
|
192 |
-
|
193 |
-
.vjs-default-skin .vjs-slider-handle:before {
|
194 |
-
/*content: "\f111";*/ /* Circle icon = f111 */
|
195 |
-
content: "\e009"; /* Square icon */
|
196 |
-
font-family: VideoJS;
|
197 |
-
font-size: 1em;
|
198 |
-
line-height: 1;
|
199 |
-
text-align: center;
|
200 |
-
text-shadow: 0em 0em 1em #fff;
|
201 |
-
|
202 |
-
position: absolute;
|
203 |
-
top: 0;
|
204 |
-
left: 0;
|
205 |
-
|
206 |
-
/* Rotate the square icon to make a diamond */
|
207 |
-
-webkit-transform: rotate(-45deg);
|
208 |
-
-moz-transform: rotate(-45deg);
|
209 |
-
-ms-transform: rotate(-45deg);
|
210 |
-
-o-transform: rotate(-45deg);
|
211 |
-
filter: progid:DXImageTransform.Microsoft.BasicImage(rotation=2);
|
212 |
-
}
|
213 |
-
|
214 |
-
/* Control Bar
|
215 |
-
-------------------------------------------------------------------------------- */
|
216 |
-
/* The default control bar. Created by controls.js */
|
217 |
-
.vjs-default-skin .vjs-control-bar {
|
218 |
-
display: none; /* Start hidden */
|
219 |
-
position: absolute;
|
220 |
-
/* Distance from the bottom of the box/video. Keep 0. Use height to add more bottom margin. */
|
221 |
-
bottom: 0;
|
222 |
-
/* 100% width of player div */
|
223 |
-
left: 0;
|
224 |
-
right: 0;
|
225 |
-
/* Controls are absolutely position, so no padding necessary */
|
226 |
-
padding: 0;
|
227 |
-
margin: 0;
|
228 |
-
/* Height includes any margin you want above or below control items */
|
229 |
-
height: 3.0em;
|
230 |
-
background-color: rgb(0, 0, 0);
|
231 |
-
/* Slight blue so it can be seen more easily on black. */
|
232 |
-
background-color: rgba(7, 40, 50, 0.7);
|
233 |
-
/* Default font settings */
|
234 |
-
font-style: normal;
|
235 |
-
font-weight: normal;
|
236 |
-
font-family: Arial, sans-serif;
|
237 |
-
}
|
238 |
-
|
239 |
-
/* General styles for individual controls. */
|
240 |
-
.vjs-default-skin .vjs-control {
|
241 |
-
outline: none;
|
242 |
-
position: relative;
|
243 |
-
float: left;
|
244 |
-
text-align: center;
|
245 |
-
margin: 0;
|
246 |
-
padding: 0;
|
247 |
-
height: 3.0em;
|
248 |
-
width: 4em;
|
249 |
-
}
|
250 |
-
|
251 |
-
/* FontAwsome button icons */
|
252 |
-
.vjs-default-skin .vjs-control:before {
|
253 |
-
font-family: VideoJS;
|
254 |
-
font-size: 1.5em;
|
255 |
-
line-height: 2;
|
256 |
-
position: absolute;
|
257 |
-
top: 0;
|
258 |
-
left: 0;
|
259 |
-
width: 100%;
|
260 |
-
height: 100%;
|
261 |
-
text-align: center;
|
262 |
-
text-shadow: 1px 1px 1px rgba(0,0,0,0.5);
|
263 |
-
}
|
264 |
-
|
265 |
-
/* Replacement for focus outline */
|
266 |
-
.vjs-default-skin .vjs-control:focus:before,
|
267 |
-
.vjs-default-skin .vjs-control:hover:before {
|
268 |
-
text-shadow: 0em 0em 1em rgba(255, 255, 255, 1);
|
269 |
-
}
|
270 |
-
|
271 |
-
.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 */ }
|
272 |
-
|
273 |
-
/* Hide control text visually, but have it available for screenreaders: h5bp.com/v */
|
274 |
-
.vjs-default-skin .vjs-control-text { border: 0; clip: rect(0 0 0 0); height: 1px; margin: -1px; overflow: hidden; padding: 0; position: absolute; width: 1px; }
|
275 |
-
|
276 |
-
/* Play/Pause
|
277 |
-
-------------------------------------------------------------------------------- */
|
278 |
-
.vjs-default-skin .vjs-play-control {
|
279 |
-
width: 5em;
|
280 |
-
cursor: pointer;
|
281 |
-
}
|
282 |
-
.vjs-default-skin .vjs-play-control:before {
|
283 |
-
content: "\e001"; /* Play Icon */
|
284 |
-
}
|
285 |
-
.vjs-default-skin.vjs-playing .vjs-play-control:before {
|
286 |
-
content: "\e002"; /* Pause Icon */
|
287 |
-
}
|
288 |
-
|
289 |
-
/* Rewind
|
290 |
-
-------------------------------------------------------------------------------- */
|
291 |
-
/*.vjs-default-skin .vjs-rewind-control { width: 5em; cursor: pointer !important; }
|
292 |
-
.vjs-default-skin .vjs-rewind-control div { width: 19px; height: 16px; background: url('video-js.png'); margin: 0.5em auto 0; }
|
293 |
-
*/
|
294 |
-
|
295 |
-
/* Volume/Mute
|
296 |
-
-------------------------------------------------------------------------------- */
|
297 |
-
.vjs-default-skin .vjs-mute-control,
|
298 |
-
.vjs-default-skin .vjs-volume-menu-button {
|
299 |
-
cursor: pointer;
|
300 |
-
float: right;
|
301 |
-
}
|
302 |
-
.vjs-default-skin .vjs-mute-control:before,
|
303 |
-
.vjs-default-skin .vjs-volume-menu-button:before {
|
304 |
-
content: "\e006"; /* Full volume */
|
305 |
-
}
|
306 |
-
.vjs-default-skin .vjs-mute-control.vjs-vol-0:before,
|
307 |
-
.vjs-default-skin .vjs-volume-menu-button.vjs-vol-0:before {
|
308 |
-
content: "\e003"; /* No volume */
|
309 |
-
}
|
310 |
-
.vjs-default-skin .vjs-mute-control.vjs-vol-1:before,
|
311 |
-
.vjs-default-skin .vjs-volume-menu-button.vjs-vol-1:before {
|
312 |
-
content: "\e004"; /* Half volume */
|
313 |
-
}
|
314 |
-
.vjs-default-skin .vjs-mute-control.vjs-vol-2:before,
|
315 |
-
.vjs-default-skin .vjs-volume-menu-button.vjs-vol-2:before {
|
316 |
-
content: "\e005"; /* Full volume */
|
317 |
-
}
|
318 |
-
|
319 |
-
.vjs-default-skin .vjs-volume-control {
|
320 |
-
width: 5em;
|
321 |
-
float: right;
|
322 |
-
}
|
323 |
-
.vjs-default-skin .vjs-volume-bar {
|
324 |
-
width: 5em;
|
325 |
-
height: 0.6em;
|
326 |
-
margin: 1.1em auto 0;
|
327 |
-
}
|
328 |
-
|
329 |
-
.vjs-default-skin .vjs-volume-menu-button .vjs-menu-content {
|
330 |
-
height: 2.9em;
|
331 |
-
}
|
332 |
-
|
333 |
-
.vjs-default-skin .vjs-volume-level {
|
334 |
-
position: absolute;
|
335 |
-
top: 0;
|
336 |
-
left: 0;
|
337 |
-
height: 0.5em;
|
338 |
-
|
339 |
-
background: #66A8CC
|
340 |
-
url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAYAAAAGCAYAAADgzO9IAAAAP0lEQVQIHWWMAQoAIAgDR/QJ/Ub//04+w7ZICBwcOg5FZi5iBB82AGzixEglJrd4TVK5XUJpskSTEvpdFzX9AB2pGziSQcvAAAAAAElFTkSuQmCC)
|
341 |
-
-50% 0 repeat;
|
342 |
-
}
|
343 |
-
.vjs-default-skin .vjs-volume-bar .vjs-volume-handle {
|
344 |
-
width: 0.5em;
|
345 |
-
height: 0.5em;
|
346 |
-
}
|
347 |
-
|
348 |
-
.vjs-default-skin .vjs-volume-handle:before {
|
349 |
-
font-size: 0.9em;
|
350 |
-
top: -0.2em;
|
351 |
-
left: -0.2em;
|
352 |
-
|
353 |
-
width: 1em;
|
354 |
-
height: 1em;
|
355 |
-
}
|
356 |
-
|
357 |
-
.vjs-default-skin .vjs-volume-menu-button .vjs-menu .vjs-menu-content {
|
358 |
-
width: 6em;
|
359 |
-
left: -4em;
|
360 |
-
}
|
361 |
-
|
362 |
-
/*.vjs-default-skin .vjs-menu-button .vjs-volume-control {
|
363 |
-
height: 1.5em;
|
364 |
-
}*/
|
365 |
-
|
366 |
-
/* Progress
|
367 |
-
-------------------------------------------------------------------------------- */
|
368 |
-
.vjs-default-skin .vjs-progress-control {
|
369 |
-
position: absolute;
|
370 |
-
left: 0;
|
371 |
-
right: 0;
|
372 |
-
width: auto;
|
373 |
-
font-size: 0.3em;
|
374 |
-
height: 1em;
|
375 |
-
/* Set above the rest of the controls. */
|
376 |
-
top: -1em;
|
377 |
-
|
378 |
-
/* Shrink the bar slower than it grows. */
|
379 |
-
-webkit-transition: top 0.4s, height 0.4s, font-size 0.4s, -webkit-transform 0.4s;
|
380 |
-
-moz-transition: top 0.4s, height 0.4s, font-size 0.4s, -moz-transform 0.4s;
|
381 |
-
-o-transition: top 0.4s, height 0.4s, font-size 0.4s, -o-transform 0.4s;
|
382 |
-
transition: top 0.4s, height 0.4s, font-size 0.4s, transform 0.4s;
|
383 |
-
|
384 |
-
}
|
385 |
-
|
386 |
-
/* On hover, make the progress bar grow to something that's more clickable.
|
387 |
-
This simply changes the overall font for the progress bar, and this
|
388 |
-
updates both the em-based widths and heights, as wells as the icon font */
|
389 |
-
.vjs-default-skin:hover .vjs-progress-control {
|
390 |
-
font-size: .9em;
|
391 |
-
|
392 |
-
/* Even though we're not changing the top/height, we need to include them in
|
393 |
-
the transition so they're handled correctly. */
|
394 |
-
-webkit-transition: top 0.2s, height 0.2s, font-size 0.2s, -webkit-transform 0.2s;
|
395 |
-
-moz-transition: top 0.2s, height 0.2s, font-size 0.2s, -moz-transform 0.2s;
|
396 |
-
-o-transition: top 0.2s, height 0.2s, font-size 0.2s, -o-transform 0.2s;
|
397 |
-
transition: top 0.2s, height 0.2s, font-size 0.2s, transform 0.2s;
|
398 |
-
}
|
399 |
-
|
400 |
-
/* Box containing play and load progresses. Also acts as seek scrubber. */
|
401 |
-
.vjs-default-skin .vjs-progress-holder {
|
402 |
-
/* Placement within the progress control item */
|
403 |
-
height: 100%;
|
404 |
-
}
|
405 |
-
|
406 |
-
/* Progress Bars */
|
407 |
-
.vjs-default-skin .vjs-progress-holder .vjs-play-progress,
|
408 |
-
.vjs-default-skin .vjs-progress-holder .vjs-load-progress {
|
409 |
-
position: absolute;
|
410 |
-
display: block;
|
411 |
-
height: 100%;
|
412 |
-
margin: 0;
|
413 |
-
padding: 0;
|
414 |
-
/* Needed for IE6 */
|
415 |
-
left: 0;
|
416 |
-
top: 0;
|
417 |
-
}
|
418 |
-
|
419 |
-
.vjs-default-skin .vjs-play-progress {
|
420 |
-
/*
|
421 |
-
Using a data URI to create the white diagonal lines with a transparent
|
422 |
-
background. Surprising works in IE8.
|
423 |
-
Created using http://www.patternify.com
|
424 |
-
Changing the first color value will change the bar color.
|
425 |
-
Also using a paralax effect to make the lines move backwards.
|
426 |
-
The -50% left position makes that happen.
|
427 |
-
*/
|
428 |
-
background: #66A8CC
|
429 |
-
url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAYAAAAGCAYAAADgzO9IAAAAP0lEQVQIHWWMAQoAIAgDR/QJ/Ub//04+w7ZICBwcOg5FZi5iBB82AGzixEglJrd4TVK5XUJpskSTEvpdFzX9AB2pGziSQcvAAAAAAElFTkSuQmCC)
|
430 |
-
-50% 0 repeat;
|
431 |
-
}
|
432 |
-
.vjs-default-skin .vjs-load-progress {
|
433 |
-
background: rgb(100, 100, 100); /* IE8- Fallback */
|
434 |
-
background: rgba(255, 255, 255, 0.4);
|
435 |
-
}
|
436 |
-
|
437 |
-
.vjs-default-skin .vjs-seek-handle {
|
438 |
-
width: 1.5em;
|
439 |
-
height: 100%;
|
440 |
-
}
|
441 |
-
|
442 |
-
.vjs-default-skin .vjs-seek-handle:before {
|
443 |
-
padding-top: 0.1em; /* Minor adjustment */
|
444 |
-
}
|
445 |
-
|
446 |
-
/* Time Display
|
447 |
-
-------------------------------------------------------------------------------- */
|
448 |
-
.vjs-default-skin .vjs-time-controls {
|
449 |
-
font-size: 1em;
|
450 |
-
/* Align vertically by making the line height the same as the control bar */
|
451 |
-
line-height: 3em;
|
452 |
-
}
|
453 |
-
.vjs-default-skin .vjs-current-time { float: left; }
|
454 |
-
.vjs-default-skin .vjs-duration { float: left; }
|
455 |
-
/* Remaining time is in the HTML, but not included in default design */
|
456 |
-
.vjs-default-skin .vjs-remaining-time { display: none; float: left; }
|
457 |
-
.vjs-time-divider { float: left; line-height: 3em; }
|
458 |
-
|
459 |
-
/* Fullscreen
|
460 |
-
-------------------------------------------------------------------------------- */
|
461 |
-
.vjs-default-skin .vjs-fullscreen-control {
|
462 |
-
width: 3.8em;
|
463 |
-
cursor: pointer;
|
464 |
-
float: right;
|
465 |
-
}
|
466 |
-
.vjs-default-skin .vjs-fullscreen-control:before {
|
467 |
-
content: "\e000"; /* Enter full screen */
|
468 |
-
}
|
469 |
-
.vjs-default-skin.vjs-fullscreen .vjs-fullscreen-control:before {
|
470 |
-
content: "\e00b"; /* Exit full screen */
|
471 |
-
}
|
472 |
-
|
473 |
-
/* Big Play Button (at start)
|
474 |
-
---------------------------------------------------------*/
|
475 |
-
.vjs-default-skin .vjs-big-play-button {
|
476 |
-
display: block;
|
477 |
-
z-index: 2;
|
478 |
-
position: absolute;
|
479 |
-
top: 2em;
|
480 |
-
left: 2em;
|
481 |
-
width: 12.0em;
|
482 |
-
height: 8.0em;
|
483 |
-
margin: 0;
|
484 |
-
text-align: center;
|
485 |
-
vertical-align: middle;
|
486 |
-
cursor: pointer;
|
487 |
-
opacity: 1;
|
488 |
-
|
489 |
-
/* Need a slightly gray bg so it can be seen on black backgrounds */
|
490 |
-
background-color: rgb(40, 40, 40);
|
491 |
-
background-color: rgba(7, 40, 50, 0.7);
|
492 |
-
|
493 |
-
border: 0.3em solid rgb(50, 50, 50);
|
494 |
-
border-color: rgba(255, 255, 255, 0.25);
|
495 |
-
|
496 |
-
-webkit-border-radius: 25px;
|
497 |
-
-moz-border-radius: 25px;
|
498 |
-
border-radius: 25px;
|
499 |
-
|
500 |
-
-webkit-box-shadow: 0px 0px 1em rgba(255, 255, 255, 0.25);
|
501 |
-
-moz-box-shadow: 0px 0px 1em rgba(255, 255, 255, 0.25);
|
502 |
-
box-shadow: 0px 0px 1em rgba(255, 255, 255, 0.25);
|
503 |
-
|
504 |
-
-webkit-transition: border 0.4s, -webkit-box-shadow 0.4s, -webkit-transform 0.4s;
|
505 |
-
-moz-transition: border 0.4s, -moz-box-shadow 0.4s, -moz-transform 0.4s;
|
506 |
-
-o-transition: border 0.4s, -o-box-shadow 0.4s, -o-transform 0.4s;
|
507 |
-
transition: border 0.4s, box-shadow 0.4s, transform 0.4s;
|
508 |
-
}
|
509 |
-
|
510 |
-
.vjs-default-skin:hover .vjs-big-play-button,
|
511 |
-
.vjs-default-skin .vjs-big-play-button:focus {
|
512 |
-
outline: 0;
|
513 |
-
border-color: rgb(255, 255, 255);
|
514 |
-
border-color: rgba(255, 255, 255, 1);
|
515 |
-
/* IE8 needs a non-glow hover state */
|
516 |
-
background-color: rgb(80, 80, 80);
|
517 |
-
background-color: rgba(50, 50, 50, 0.75);
|
518 |
-
|
519 |
-
-webkit-box-shadow: 0 0 3em #fff;
|
520 |
-
-moz-box-shadow: 0 0 3em #fff;
|
521 |
-
box-shadow: 0 0 3em #fff;
|
522 |
-
|
523 |
-
-webkit-transition: border 0s, -webkit-box-shadow 0s, -webkit-transform 0s;
|
524 |
-
-moz-transition: border 0s, -moz-box-shadow 0s, -moz-transform 0s;
|
525 |
-
-o-transition: border 0s, -o-box-shadow 0s, -o-transform 0s;
|
526 |
-
transition: border 0s, box-shadow 0s, transform 0s;
|
527 |
-
}
|
528 |
-
|
529 |
-
.vjs-default-skin .vjs-big-play-button:before {
|
530 |
-
content: "\e001"; /* Play icon */
|
531 |
-
font-family: VideoJS;
|
532 |
-
font-size: 3em;
|
533 |
-
line-height: 2.66;
|
534 |
-
text-shadow: 0.05em 0.05em 0.1em #000;
|
535 |
-
text-align: center; /* Needed for IE8 */
|
536 |
-
|
537 |
-
position: absolute;
|
538 |
-
left: 0;
|
539 |
-
width: 100%;
|
540 |
-
height: 100%;
|
541 |
-
}
|
542 |
-
|
543 |
-
/* Loading Spinner
|
544 |
-
---------------------------------------------------------*/
|
545 |
-
.vjs-loading-spinner {
|
546 |
-
display: none;
|
547 |
-
position: absolute;
|
548 |
-
top: 50%;
|
549 |
-
left: 50%;
|
550 |
-
|
551 |
-
font-size: 5em;
|
552 |
-
line-height: 1;
|
553 |
-
|
554 |
-
width: 1em;
|
555 |
-
height: 1em;
|
556 |
-
|
557 |
-
margin-left: -0.5em;
|
558 |
-
margin-top: -0.5em;
|
559 |
-
|
560 |
-
opacity: 0.75;
|
561 |
-
|
562 |
-
-webkit-animation: spin 1.5s infinite linear;
|
563 |
-
-moz-animation: spin 1.5s infinite linear;
|
564 |
-
-o-animation: spin 1.5s infinite linear;
|
565 |
-
animation: spin 1.5s infinite linear;
|
566 |
-
}
|
567 |
-
|
568 |
-
.vjs-default-skin .vjs-loading-spinner:before {
|
569 |
-
content: "\e00a"; /* Loading spinner icon */
|
570 |
-
font-family: VideoJS;
|
571 |
-
|
572 |
-
position: absolute;
|
573 |
-
width: 1em;
|
574 |
-
height: 1em;
|
575 |
-
text-align: center;
|
576 |
-
text-shadow: 0em 0em 0.1em #000;
|
577 |
-
}
|
578 |
-
|
579 |
-
/* Add a gradient to the spinner by overlaying another copy.
|
580 |
-
Text gradient plus a text shadow doesn't work
|
581 |
-
and `background-clip: text` only works in Webkit. */
|
582 |
-
.vjs-default-skin .vjs-loading-spinner:after {
|
583 |
-
content: "\e00a"; /* Loading spinner icon */
|
584 |
-
font-family: VideoJS;
|
585 |
-
|
586 |
-
position: absolute;
|
587 |
-
width: 1em;
|
588 |
-
height: 1em;
|
589 |
-
text-align: center;
|
590 |
-
|
591 |
-
-webkit-background-clip: text;
|
592 |
-
-webkit-text-fill-color: transparent;
|
593 |
-
}
|
594 |
-
|
595 |
-
@-moz-keyframes spin {
|
596 |
-
0% { -moz-transform: rotate(0deg); }
|
597 |
-
100% { -moz-transform: rotate(359deg); }
|
598 |
-
}
|
599 |
-
@-webkit-keyframes spin {
|
600 |
-
0% { -webkit-transform: rotate(0deg); }
|
601 |
-
100% { -webkit-transform: rotate(359deg); }
|
602 |
-
}
|
603 |
-
@-o-keyframes spin {
|
604 |
-
0% { -o-transform: rotate(0deg); }
|
605 |
-
100% { -o-transform: rotate(359deg); }
|
606 |
-
}
|
607 |
-
@-ms-keyframes spin {
|
608 |
-
0% { -ms-transform: rotate(0deg); }
|
609 |
-
100% { -ms-transform: rotate(359deg); }
|
610 |
-
}
|
611 |
-
@keyframes spin {
|
612 |
-
0% { transform: rotate(0deg); }
|
613 |
-
100% { transform: rotate(359deg); }
|
614 |
-
}
|
615 |
-
|
616 |
-
/* Menu Buttons (Captions/Subtitles/etc.)
|
617 |
-
-------------------------------------------------------------------------------- */
|
618 |
-
.vjs-default-skin .vjs-menu-button {
|
619 |
-
float: right;
|
620 |
-
cursor: pointer;
|
621 |
-
}
|
622 |
-
|
623 |
-
.vjs-default-skin .vjs-menu {
|
624 |
-
display: none;
|
625 |
-
position: absolute;
|
626 |
-
bottom: 0;
|
627 |
-
left: 0em; /* (Width of vjs-menu - width of button) / 2 */
|
628 |
-
width: 0em;
|
629 |
-
height: 0em;
|
630 |
-
margin-bottom: 3em;
|
631 |
-
|
632 |
-
border-left: 2em solid transparent;
|
633 |
-
border-right: 2em solid transparent;
|
634 |
-
|
635 |
-
border-top: 1.55em solid rgb(0, 0, 0); /* Same top as ul bottom */
|
636 |
-
border-top-color: rgba(7, 40, 50, 0.5); /* Same as ul background */
|
637 |
-
}
|
638 |
-
|
639 |
-
/* Button Pop-up Menu */
|
640 |
-
.vjs-default-skin .vjs-menu-button .vjs-menu .vjs-menu-content {
|
641 |
-
display: block;
|
642 |
-
padding: 0; margin: 0;
|
643 |
-
position: absolute;
|
644 |
-
width: 10em;
|
645 |
-
bottom: 1.5em; /* Same bottom as vjs-menu border-top */
|
646 |
-
max-height: 15em;
|
647 |
-
overflow: auto;
|
648 |
-
|
649 |
-
left: -5em; /* Width of menu - width of button / 2 */
|
650 |
-
|
651 |
-
background-color: rgb(0, 0, 0);
|
652 |
-
background-color: rgba(7, 40, 50, 0.7);
|
653 |
-
|
654 |
-
-webkit-box-shadow: -20px -20px 0px rgba(255, 255, 255, 0.5);
|
655 |
-
-moz-box-shadow: 0 0 1em rgba(255, 255, 255, 0.5);
|
656 |
-
box-shadow: -0.2em -0.2em 0.3em rgba(255, 255, 255, 0.2);
|
657 |
-
}
|
658 |
-
|
659 |
-
/*.vjs-default-skin .vjs-menu-button:focus ul,*/ /* This is not needed because keyboard accessibility for the caption button is not handled with the focus any more. */
|
660 |
-
.vjs-default-skin .vjs-menu-button:hover .vjs-menu {
|
661 |
-
display: block;
|
662 |
-
}
|
663 |
-
.vjs-default-skin .vjs-menu-button ul li {
|
664 |
-
list-style: none;
|
665 |
-
margin: 0;
|
666 |
-
padding: 0.3em 0 0.3em 0;
|
667 |
-
line-height: 1.4em;
|
668 |
-
font-size: 1.2em;
|
669 |
-
font-weight: normal;
|
670 |
-
text-align: center;
|
671 |
-
text-transform: lowercase;
|
672 |
-
}
|
673 |
-
.vjs-default-skin .vjs-menu-button ul li.vjs-selected {
|
674 |
-
background-color: #000;
|
675 |
-
}
|
676 |
-
.vjs-default-skin .vjs-menu-button ul li:focus,
|
677 |
-
.vjs-default-skin .vjs-menu-button ul li:hover,
|
678 |
-
.vjs-default-skin .vjs-menu-button ul li.vjs-selected:focus,
|
679 |
-
.vjs-default-skin .vjs-menu-button ul li.vjs-selected:hover {
|
680 |
-
background-color: rgb(255, 255, 255);
|
681 |
-
background-color: rgba(255, 255, 255, 0.75);
|
682 |
-
color: #111;
|
683 |
-
outline: 0;
|
684 |
-
|
685 |
-
-webkit-box-shadow: 0 0 1em rgba(255, 255, 255, 1);
|
686 |
-
-moz-box-shadow: 0 0 1em rgba(255, 255, 255, 1);
|
687 |
-
box-shadow: 0 0 1em rgba(255, 255, 255, 1);
|
688 |
-
}
|
689 |
-
.vjs-default-skin .vjs-menu-button ul li.vjs-menu-title {
|
690 |
-
text-align: center;
|
691 |
-
text-transform: uppercase;
|
692 |
-
font-size: 1em;
|
693 |
-
line-height: 2em;
|
694 |
-
padding: 0;
|
695 |
-
margin: 0 0 0.3em 0;
|
696 |
-
font-weight: bold;
|
697 |
-
cursor: default;
|
698 |
-
}
|
699 |
-
|
700 |
-
/* Subtitles Button */
|
701 |
-
.vjs-default-skin .vjs-subtitles-button:before { content: "\e00c"; }
|
702 |
-
|
703 |
-
/* There's unfortunately no CC button in FontAwesome, so we need
|
704 |
-
to manually create one. Please +1 the fontawesome request.
|
705 |
-
https://github.com/FortAwesome/Font-Awesome/issues/968 */
|
706 |
-
.vjs-default-skin .vjs-captions-button {
|
707 |
-
font-size: 1em; /* Font icons are 1.5em */
|
708 |
-
}
|
709 |
-
.vjs-default-skin .vjs-captions-button:before {
|
710 |
-
content: "\e008";
|
711 |
-
font-family: VideoJS;
|
712 |
-
font-size: 1.5em;
|
713 |
-
line-height: 2;
|
714 |
-
position: absolute;
|
715 |
-
top: 0;
|
716 |
-
left: 0;
|
717 |
-
width: 100%;
|
718 |
-
height: 100%;
|
719 |
-
text-align: center;
|
720 |
-
text-shadow: none;
|
721 |
-
}
|
722 |
-
|
723 |
-
|
724 |
-
/* Replacement for focus outline */
|
725 |
-
.vjs-default-skin .vjs-captions-button:focus .vjs-control-content:before,
|
726 |
-
.vjs-default-skin .vjs-captions-button:hover .vjs-control-content:before {
|
727 |
-
-webkit-box-shadow: 0 0 1em rgba(255, 255, 255, 1);
|
728 |
-
-moz-box-shadow: 0 0 1em rgba(255, 255, 255, 1);
|
729 |
-
box-shadow: 0 0 1em rgba(255, 255, 255, 1);
|
730 |
-
}
|
1 |
/*!
|
2 |
Video.js Default Styles (http://videojs.com)
|
3 |
+
Version 4.1.0
|
4 |
+
*/.video-js{background-color:#000;position:relative;padding:0;font-size:10px;vertical-align:middle;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;-o-user-select:none;user-select:none}.video-js .vjs-tech{position:absolute;top:0;left:0;width:100%;height:100%}.video-js:-moz-full-screen{position:absolute}body.vjs-full-window{padding:0;margin:0;height:100%;overflow-y:auto}.video-js.vjs-fullscreen{position:fixed;overflow:hidden;z-index:1000;left:0;top:0;bottom:0;right:0;width:100%!important;height:100%!important;_position:absolute}.video-js:-webkit-full-screen{width:100%!important;height:100%!important}.vjs-poster{background-repeat:no-repeat;background-position:50% 50%;background-size:contain;cursor:pointer;height:100%;margin:0;padding:0;position:relative;width:100%}.vjs-poster img{display:block;margin:0 auto;max-height:100%;padding:0;width:100%}.video-js .vjs-text-track-display{text-align:center;position:absolute;bottom:4em;left:1em;right:1em;font-family:Arial,sans-serif}.video-js .vjs-text-track{display:none;font-size:1.4em;text-align:center;margin-bottom:.1em;background:#000;background:rgba(0,0,0,.5)}.video-js .vjs-subtitles{color:#fff}.video-js .vjs-captions{color:#fc6}.vjs-tt-cue{display:block}.vjs-fade-in{display:block!important;visibility:visible;opacity:1;-webkit-transition:visibility .1s,opacity .1s;-moz-transition:visibility .1s,opacity .1s;-ms-transition:visibility .1s,opacity .1s;-o-transition:visibility .1s,opacity .1s;transition:visibility .1s,opacity .1s}.vjs-fade-out{display:block!important;visibility:hidden;opacity:0;-webkit-transition:visibility 1.5s,opacity 1.5s;-moz-transition:visibility 1.5s,opacity 1.5s;-ms-transition:visibility 1.5s,opacity 1.5s;-o-transition:visibility 1.5s,opacity 1.5s;transition:visibility 1.5s,opacity 1.5s;-webkit-transition-delay:2s;-moz-transition-delay:2s;-ms-transition-delay:2s;-o-transition-delay:2s;transition-delay:2s}.vjs-default-skin .vjs-hidden{display:none}.vjs-lock-showing{display:block!important;opacity:1;visibility:visible}@font-face{font-family:VideoJS;src:url(font/vjs.eot);src:url(font/vjs.eot?#iefix) format('embedded-opentype'),url(font/vjs.woff) format('woff'),url(font/vjs.ttf) format('truetype');font-weight:400;font-style:normal}.vjs-default-skin{color:#ccc}.vjs-default-skin .vjs-slider{outline:0;position:relative;cursor:pointer;padding:0;background:#323232;background:rgba(100,100,100,.5)}.vjs-default-skin .vjs-slider:focus{background:#464646;background:rgba(100,100,100,.7);-webkit-box-shadow:0 0 2em rgba(255,255,255,1);-moz-box-shadow:0 0 2em rgba(255,255,255,1);box-shadow:0 0 2em rgba(255,255,255,1)}.vjs-default-skin .vjs-slider-handle{position:absolute;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:0 0 1em #fff;position:absolute;top:0;left:0;-webkit-transform:rotate(-45deg);-moz-transform:rotate(-45deg);-ms-transform:rotate(-45deg);-o-transform:rotate(-45deg);filter:progid:DXImageTransform.Microsoft.BasicImage(rotation=2)}.vjs-default-skin .vjs-control-bar{display:none;position:absolute;bottom:0;left:0;right:0;padding:0;margin:0;height:3em;background-color:#000;background-color:rgba(7,40,50,.7);font-style:normal;font-weight:400;font-family:Arial,sans-serif}.vjs-default-skin .vjs-control{outline:0;position:relative;float:left;text-align:center;margin:0;padding:0;height:3em;width:4em}.vjs-default-skin .vjs-control:before{font-family:VideoJS;font-size:1.5em;line-height:2;position:absolute;top:0;left:0;width:100%;height:100%;text-align:center;text-shadow:1px 1px 1px rgba(0,0,0,.5)}.vjs-default-skin .vjs-control:focus:before,.vjs-default-skin .vjs-control:hover:before{text-shadow:0 0 1em rgba(255,255,255,1)}.vjs-default-skin .vjs-control:focus{}.vjs-default-skin .vjs-control-text{border:0;clip:rect(0 0 0 0);height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;width:1px}.vjs-default-skin .vjs-play-control{width:5em;cursor:pointer}.vjs-default-skin .vjs-play-control:before{content:"\e001"}.vjs-default-skin.vjs-playing .vjs-play-control:before{content:"\e002"}.vjs-default-skin .vjs-mute-control,.vjs-default-skin .vjs-volume-menu-button{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:.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;left:0;height:.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:.5em;height:.5em}.vjs-default-skin .vjs-volume-handle:before{font-size:.9em;top:-.2em;left:-.2em;width:1em;height:1em}.vjs-default-skin .vjs-volume-menu-button .vjs-menu .vjs-menu-content{width:6em;left:-4em}.vjs-default-skin .vjs-progress-control{position:absolute;left:0;right:0;width:auto;font-size:.3em;height:1em;top:-1em;-webkit-transition:top .4s,height .4s,font-size .4s,-webkit-transform .4s;-moz-transition:top .4s,height .4s,font-size .4s,-moz-transform .4s;-o-transition:top .4s,height .4s,font-size .4s,-o-transform .4s;transition:top .4s,height .4s,font-size .4s,transform .4s}.vjs-default-skin:hover .vjs-progress-control{font-size:.9em;-webkit-transition:top .2s,height .2s,font-size .2s,-webkit-transform .2s;-moz-transition:top .2s,height .2s,font-size .2s,-moz-transform .2s;-o-transition:top .2s,height .2s,font-size .2s,-o-transform .2s;transition:top .2s,height .2s,font-size .2s,transform .2s}.vjs-default-skin .vjs-progress-holder{height:100%}.vjs-default-skin .vjs-progress-holder .vjs-play-progress,.vjs-default-skin .vjs-progress-holder .vjs-load-progress{position:absolute;display:block;height:100%;margin:0;padding:0;left:0;top:0}.vjs-default-skin .vjs-play-progress{background:#66A8CC url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAYAAAAGCAYAAADgzO9IAAAAP0lEQVQIHWWMAQoAIAgDR/QJ/Ub//04+w7ZICBwcOg5FZi5iBB82AGzixEglJrd4TVK5XUJpskSTEvpdFzX9AB2pGziSQcvAAAAAAElFTkSuQmCC) -50% 0 repeat}.vjs-default-skin .vjs-load-progress{background:#646464;background:rgba(255,255,255,.4)}.vjs-default-skin .vjs-seek-handle{width:1.5em;height:100%}.vjs-default-skin .vjs-seek-handle:before{padding-top:.1em}.vjs-default-skin .vjs-time-controls{font-size:1em;line-height:3em}.vjs-default-skin .vjs-current-time{float:left}.vjs-default-skin .vjs-duration{float:left}.vjs-default-skin .vjs-remaining-time{display:none;float:left}.vjs-time-divider{float:left;line-height:3em}.vjs-default-skin .vjs-fullscreen-control{width:3.8em;cursor:pointer;float:right}.vjs-default-skin .vjs-fullscreen-control:before{content:"\e000"}.vjs-default-skin.vjs-fullscreen .vjs-fullscreen-control:before{content:"\e00b"}.vjs-default-skin .vjs-big-play-button{display:block;z-index:2;position:absolute;top:2em;left:2em;width:12em;height:8em;margin:0;text-align:center;vertical-align:middle;cursor:pointer;opacity:1;background-color:#282828;background-color:rgba(7,40,50,.7);border:.3em solid #323232;border-color:rgba(255,255,255,.25);-webkit-border-radius:25px;-moz-border-radius:25px;border-radius:25px;-webkit-box-shadow:0 0 1em rgba(255,255,255,.25);-moz-box-shadow:0 0 1em rgba(255,255,255,.25);box-shadow:0 0 1em rgba(255,255,255,.25);-webkit-transition:border .4s,-webkit-box-shadow .4s,-webkit-transform .4s;-moz-transition:border .4s,-moz-box-shadow .4s,-moz-transform .4s;-o-transition:border .4s,-o-box-shadow .4s,-o-transform .4s;transition:border .4s,box-shadow .4s,transform .4s}.vjs-default-skin:hover .vjs-big-play-button,.vjs-default-skin .vjs-big-play-button:focus{outline:0;border-color:#fff;border-color:rgba(255,255,255,1);background-color:#505050;background-color:rgba(50,50,50,.75);-webkit-box-shadow:0 0 3em #fff;-moz-box-shadow:0 0 3em #fff;box-shadow:0 0 3em #fff;-webkit-transition:border 0s,-webkit-box-shadow 0s,-webkit-transform 0s;-moz-transition:border 0s,-moz-box-shadow 0s,-moz-transform 0s;-o-transition:border 0s,-o-box-shadow 0s,-o-transform 0s;transition:border 0s,box-shadow 0s,transform 0s}.vjs-default-skin .vjs-big-play-button:before{content:"\e001";font-family:VideoJS;font-size:3em;line-height:2.66;text-shadow:.05em .05em .1em #000;text-align:center;position:absolute;left:0;width:100%;height:100%}.vjs-loading-spinner{display:none;position:absolute;top:50%;left:50%;font-size:5em;line-height:1;width:1em;height:1em;margin-left:-.5em;margin-top:-.5em;opacity:.75;-webkit-animation:spin 1.5s infinite linear;-moz-animation:spin 1.5s infinite linear;-o-animation:spin 1.5s infinite linear;animation:spin 1.5s infinite linear}.vjs-default-skin .vjs-loading-spinner:before{content:"\e00a";font-family:VideoJS;position:absolute;width:1em;height:1em;text-align:center;text-shadow:0 0 .1em #000}.vjs-default-skin .vjs-loading-spinner:after{content:"\e00a";font-family:VideoJS;position:absolute;width:1em;height:1em;text-align:center;-webkit-background-clip:text;-webkit-text-fill-color:transparent}@-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)}}@-ms-keyframes spin{0%{-ms-transform:rotate(0deg)}100%{-ms-transform:rotate(359deg)}}@keyframes spin{0%{transform:rotate(0deg)}100%{transform:rotate(359deg)}}.vjs-default-skin .vjs-menu-button{float:right;cursor:pointer}.vjs-default-skin .vjs-menu{display:none;position:absolute;bottom:0;left:0;width:0;height:0;margin-bottom:3em;border-left:2em solid transparent;border-right:2em solid transparent;border-top:1.55em solid #000;border-top-color:rgba(7,40,50,.5)}.vjs-default-skin .vjs-menu-button .vjs-menu .vjs-menu-content{display:block;padding:0;margin:0;position:absolute;width:10em;bottom:1.5em;max-height:15em;overflow:auto;left:-5em;background-color:#000;background-color:rgba(7,40,50,.7);-webkit-box-shadow:-20px -20px 0 rgba(255,255,255,.5);-moz-box-shadow:0 0 1em rgba(255,255,255,.5);box-shadow:-.2em -.2em .3em rgba(255,255,255,.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;padding:.3em 0;line-height:1.4em;font-size:1.2em;font-weight:400;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,.vjs-default-skin .vjs-menu-button ul li.vjs-selected:hover{background-color:#fff;background-color:rgba(255,255,255,.75);color:#111;outline:0;-webkit-box-shadow:0 0 1em rgba(255,255,255,1);-moz-box-shadow:0 0 1em rgba(255,255,255,1);box-shadow:0 0 1em rgba(255,255,255,1)}.vjs-default-skin .vjs-menu-button ul li.vjs-menu-title{text-align:center;text-transform:uppercase;font-size:1em;line-height:2em;padding:0;margin:0 0 .3em;font-weight:700;cursor:default}.vjs-default-skin .vjs-subtitles-button:before{content:"\e00c"}.vjs-default-skin .vjs-captions-button:before{content:"\e008"}.vjs-default-skin .vjs-captions-button:focus .vjs-control-content:before,.vjs-default-skin .vjs-captions-button:hover .vjs-control-content:before{-webkit-box-shadow:0 0 1em rgba(255,255,255,1);-moz-box-shadow:0 0 1em rgba(255,255,255,1);box-shadow:0 0 1em rgba(255,255,255,1)}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
video-js/video.js
CHANGED
@@ -1,120 +1,121 @@
|
|
1 |
-
/*! Video.js v4.0
|
2 |
-
(function() {var b=void 0,f=!0,h=null,l=!1;function m(){return function(){}}function p(a){return function(){return this[a]}}function r(a){return function(){return a}}var t;document.createElement("video");document.createElement("audio");function u(a,c,d){if("string"===typeof a){0===a.indexOf("#")&&(a=a.slice(1));if(u.
|
3 |
-
u.
|
4 |
u.ka.extend=function(a){var c,d;a=a||{};c=a.init||a.g||this.prototype.init||this.prototype.g||m();d=function(){c.apply(this,arguments)};d.prototype=u.i.create(this.prototype);d.prototype.constructor=d;d.extend=u.ka.extend;d.create=u.ka.create;for(var e in a)a.hasOwnProperty(e)&&(d.prototype[e]=a[e]);return d};u.ka.create=function(){var a=u.i.create(this.prototype);this.apply(a,arguments);return a};
|
5 |
-
u.d=function(a,c,d){var e=u.getData(a);e.z||(e.z={});e.z[c]||(e.z[c]=[]);d.u||(d.u=u.u++);e.z[c].push(d);e.
|
6 |
-
u.t=function(a,c,d){if(u.
|
7 |
-
u.
|
8 |
-
e.stopImmediatePropagation();a.
|
9 |
-
u.k=function(a,c){var d=u.
|
10 |
-
u.e=function(a,c){var d=document.createElement(a||"div"),e;for(e in c)w.call(c,e)&&(-1!==e.indexOf("aria-")||"role"==e?d.setAttribute(e,c[e]):d[e]=c[e]);return d};u.
|
11 |
-
u.i.
|
12 |
-
u.getData=function(a){var c=a[u.expando];c||(c=a[u.expando]=u.u++,u.
|
13 |
-
u.w=function(a,c){if(-1!=a.className.indexOf(c)){for(var d=a.className.split(" "),e=d.length-1;0<=e;e--)d[e]===c&&d.splice(e,1);a.className=d.join(" ")}};u.
|
14 |
-
u.
|
15 |
-
u.
|
16 |
-
u.trim=function(a){return a.toString().replace(/^\s+/,"").replace(/\s+$/,"")};u.round=function(a,c){c||(c=0);return Math.round(a*Math.pow(10,c))/Math.pow(10,c)};
|
|
|
17 |
u.get=function(a,c,d){var e=0===a.indexOf("file:")||0===window.location.href.indexOf("file:")&&-1===a.indexOf("http");"undefined"===typeof XMLHttpRequest&&(window.XMLHttpRequest=function(){try{return new window.ActiveXObject("Msxml2.XMLHTTP.6.0")}catch(a){}try{return new window.ActiveXObject("Msxml2.XMLHTTP.3.0")}catch(c){}try{return new window.ActiveXObject("Msxml2.XMLHTTP")}catch(d){}throw Error("This browser does not support XMLHttpRequest.");});var g=new XMLHttpRequest;try{g.open("GET",a)}catch(j){d(j)}g.onreadystatechange=
|
18 |
-
function(){4===g.readyState&&(200===g.status||e&&0===g.status?c(g.responseText):d&&d())};try{g.send()}catch(k){d&&d(k)}};u.
|
19 |
-
u.log=function(){u.log.history=u.log.history||[];u.log.history.push(arguments);window.console&&window.console.log(Array.prototype.slice.call(arguments))};u.
|
20 |
-
u.c=u.ka.extend({g:function(a,c,d){this.a=a;this.f=u.i.copy(this.f);c=this.options(c);this.
|
21 |
-
t.
|
22 |
-
t.
|
23 |
-
t.removeChild=function(a){"string"===typeof a&&(a=this.
|
24 |
-
t.
|
25 |
-
t.
|
26 |
-
function
|
27 |
-
u.o=u.c.extend({g:function(a,c){u.c.call(this,a,c);var d=l;this.d("touchstart",function(){d=f});this.d("touchmove",function(){d=l});var e=this;this.d("touchend",function(a){d&&e.n(a);a.preventDefault();a.stopPropagation()});this.d("click",this.n);this.d("focus",this.
|
28 |
-
t.e=function(a,c){c=u.i.B({className:this.
|
29 |
-
t.
|
30 |
-
t.e=function(a,c){c=c||{};c.className+=" vjs-slider";c=u.i.B({
|
31 |
-
t.
|
32 |
-
function
|
33 |
-
t
|
34 |
-
function
|
35 |
-
u.
|
36 |
-
u.
|
37 |
-
t.
|
38 |
-
u.
|
39 |
-
this.
|
40 |
-
function
|
41 |
-
t.e=function(){var a=this.b=u.c.prototype.e.call(this,"div"),c=this.
|
42 |
-
f);c.parentNode&&c.parentNode.insertBefore(a,c);u.
|
43 |
-
function
|
44 |
-
this.k("progress"))}),500);a.h.
|
45 |
-
t.
|
46 |
-
function
|
47 |
-
t.paused=function(){return
|
48 |
-
function
|
49 |
-
t.
|
50 |
-
function
|
51 |
-
t.src=function(a){if(a instanceof Array){var c;a:{c=a;for(var d=0,e=this.f.techOrder;d<e.length;d++){var g=u.
|
52 |
-
Object?window.videojs[this.
|
53 |
-
t.autoplay=function(a){return a!==b?(
|
54 |
-
O.
|
55 |
-
u.
|
56 |
-
|
57 |
-
u.
|
58 |
-
t.
|
59 |
-
u.
|
60 |
-
u.
|
61 |
-
u.
|
62 |
-
u.
|
63 |
-
u.
|
64 |
-
u.
|
65 |
-
u.
|
66 |
-
t=u.
|
67 |
-
t.
|
68 |
-
u
|
69 |
-
u.
|
70 |
-
u.
|
71 |
-
t.f={children:{volumeLevel:{},volumeHandle:{}},barName:"volumeLevel",handleName:"volumeHandle"};t.
|
72 |
-
u
|
73 |
-
u.
|
74 |
-
u.
|
75 |
-
u.
|
76 |
-
u.
|
77 |
-
u.
|
78 |
-
u.
|
79 |
-
u.
|
80 |
-
u.media={};u.media.
|
81 |
-
function
|
82 |
-
u.m=u.q.extend({g:function(a,c,d){this.j.
|
83 |
-
t.e=function(){var a=this.a,c=a.
|
84 |
-
t.
|
85 |
-
t.
|
86 |
-
u.m.isSupported=function(){return!!
|
87 |
-
u.
|
88 |
-
u.l=u.q.extend({g:function(a,c,d){u.q.call(this,a,c,d);d=c.source;var e=c.parentEl,g=this.b=u.e("div",{id:a.id()+"_temp_flash"}),j=a.id()+"_flash_api";a=a.f;var k=u.i.B({readyFunction:"videojs.Flash.onReady",eventProxyFunction:"videojs.Flash.onEvent",errorEventProxyFunction:"videojs.Flash.onError",autoplay:a.autoplay,preload:a.
|
89 |
-
u.
|
90 |
-
this.a;d.ready=u.bind(this.a,function(c){c=a.getElementById(c);var d=this.h;d.b=c;u.d(c,"click",d.bind(d.n));u.l.
|
91 |
-
t.src=function(a){a=u.
|
92 |
-
function
|
93 |
-
u.l.onReady=function(a){a=u.r(a);var c=a.player||a.parentNode.player,d=c.h;a.player=c;d.b=a;d.d("click",d.n);u.l.
|
94 |
u.l.version=function(){var a="0,0,0";try{a=(new window.ActiveXObject("ShockwaveFlash.ShockwaveFlash")).GetVariable("$version").replace(/\D+/g,",").match(/^,?(.+),?$/)[1]}catch(c){try{navigator.mimeTypes["application/x-shockwave-flash"].enabledPlugin&&(a=(navigator.plugins["Shockwave Flash 2.0"]||navigator.plugins["Shockwave Flash"]).description.replace(/\D+/g,",").match(/^,?(.+),?$/)[1])}catch(d){}}return a.split(",")};
|
95 |
-
u.l.
|
96 |
-
u.l.
|
97 |
-
u.
|
98 |
-
u.
|
99 |
-
t.e=function(){return u.c.prototype.e.call(this,"div",{className:"vjs-"+this.A+" vjs-text-track"})};t.show=function(){W(this);this.ia=2;u.c.prototype.show.call(this)};t.v=function(){W(this);this.ia=1;u.c.prototype.v.call(this)};t.disable=function(){2==this.ia&&this.v();this.a.t("timeupdate",u.bind(this,this.update,this.
|
100 |
-
function W(a){0===a.ja&&a.load();0===a.ia&&(a.a.d("timeupdate",u.bind(a,a.update,a.
|
101 |
-
t.
|
102 |
function X(a){var c=a.split(":");a=0;var d,e,g;3==c.length?(d=c[0],e=c[1],c=c[2]):(d=0,e=c[0],c=c[1]);c=c.split(/\s+/);c=c.splice(0,1)[0];c=c.split(/\.|,/);g=parseFloat(c[1]);c=c[0];a+=3600*parseFloat(d);a+=60*parseFloat(e);a+=parseFloat(c);g&&(a+=g/1E3);return a}
|
103 |
-
t.update=function(){if(0<this.
|
104 |
-
n.
|
105 |
-
u
|
106 |
-
u.
|
107 |
-
u.
|
108 |
-
u.
|
109 |
-
u.
|
110 |
-
t.
|
111 |
-
u.
|
112 |
-
u.i.B(u.
|
113 |
if("undefined"!==typeof window.JSON&&"function"===window.JSON.parse)u.JSON=window.JSON;else{u.JSON={};var Y=/[\u0000\u00ad\u0600-\u0604\u070f\u17b4\u17b5\u200c-\u200f\u2028-\u202f\u2060-\u206f\ufeff\ufff0-\uffff]/g;u.JSON.parse=function(a,c){function d(a,e){var k,q,n=a[e];if(n&&"object"===typeof n)for(k in n)Object.prototype.hasOwnProperty.call(n,k)&&(q=d(n,k),q!==b?n[k]=q:delete n[k]);return c.call(a,e,n)}var e;a=String(a);Y.lastIndex=0;Y.test(a)&&(a=a.replace(Y,function(a){return"\\u"+("0000"+a.charCodeAt(0).toString(16)).slice(-4)}));
|
114 |
if(/^[\],:{}\s]*$/.test(a.replace(/\\(?:["\\\/bfnrt]|u[0-9a-fA-F]{4})/g,"@").replace(/"[^"\\\n\r]*"|true|false|null|-?\d+(?:\.\d*)?(?:[eE][+\-]?\d+)?/g,"]").replace(/(?:^|:|,)(?:\s*\[)+/g,"")))return e=eval("("+a+")"),"function"===typeof c?d({"":e},""):e;throw new SyntaxError("JSON.parse(): invalid or malformed JSON data");}}
|
115 |
-
u.
|
116 |
-
u.c.prototype.show=u.c.prototype.show;u.c.prototype.hide=u.c.prototype.v;u.c.prototype.width=u.c.prototype.width;u.c.prototype.height=u.c.prototype.height;u.c.prototype.dimensions=u.c.prototype.
|
117 |
-
$("videojs.
|
118 |
-
$("videojs.
|
119 |
-
|
120 |
-
$("videojs.CaptionsTrack",u.
|
1 |
+
/*! Video.js v4.1.0 Copyright 2013 Brightcove, Inc. https://github.com/videojs/video.js/blob/master/LICENSE */
|
2 |
+
(function() {var b=void 0,f=!0,h=null,l=!1;function m(){return function(){}}function p(a){return function(){return this[a]}}function r(a){return function(){return a}}var t;document.createElement("video");document.createElement("audio");document.createElement("track");function u(a,c,d){if("string"===typeof a){0===a.indexOf("#")&&(a=a.slice(1));if(u.va[a])return u.va[a];a=u.r(a)}if(!a||!a.nodeName)throw new TypeError("The element or ID supplied is not valid. (videojs)");return a.player||new u.C(a,c,d)}var v=u;
|
3 |
+
window.Bd=window.Cd=u;u.Qb="4.1";u.yc="https:"==document.location.protocol?"https://":"http://";u.options={techOrder:["html5","flash"],html5:{},flash:{},width:300,height:150,defaultVolume:0,children:{mediaLoader:{},posterImage:{},textTrackDisplay:{},loadingSpinner:{},bigPlayButton:{},controlBar:{}}};"GENERATED_CDN_VSN"!==u.Qb&&(v.options.flash.swf=u.yc+"vjs.zencdn.net/"+u.Qb+"/video-js.swf");u.va={};u.ka=u.CoreObject=m();
|
4 |
u.ka.extend=function(a){var c,d;a=a||{};c=a.init||a.g||this.prototype.init||this.prototype.g||m();d=function(){c.apply(this,arguments)};d.prototype=u.i.create(this.prototype);d.prototype.constructor=d;d.extend=u.ka.extend;d.create=u.ka.create;for(var e in a)a.hasOwnProperty(e)&&(d.prototype[e]=a[e]);return d};u.ka.create=function(){var a=u.i.create(this.prototype);this.apply(a,arguments);return a};
|
5 |
+
u.d=function(a,c,d){var e=u.getData(a);e.z||(e.z={});e.z[c]||(e.z[c]=[]);d.u||(d.u=u.u++);e.z[c].push(d);e.T||(e.disabled=l,e.T=function(c){if(!e.disabled){c=u.hc(c);var d=e.z[c.type];if(d)for(var d=d.slice(0),k=0,q=d.length;k<q&&!c.nc();k++)d[k].call(a,c)}});1==e.z[c].length&&(document.addEventListener?a.addEventListener(c,e.T,l):document.attachEvent&&a.attachEvent("on"+c,e.T))};
|
6 |
+
u.t=function(a,c,d){if(u.mc(a)){var e=u.getData(a);if(e.z)if(c){var g=e.z[c];if(g){if(d){if(d.u)for(e=0;e<g.length;e++)g[e].u===d.u&&g.splice(e--,1)}else e.z[c]=[];u.ec(a,c)}}else for(g in e.z)c=g,e.z[c]=[],u.ec(a,c)}};u.ec=function(a,c){var d=u.getData(a);0===d.z[c].length&&(delete d.z[c],document.removeEventListener?a.removeEventListener(c,d.T,l):document.detachEvent&&a.detachEvent("on"+c,d.T));u.Bb(d.z)&&(delete d.z,delete d.T,delete d.disabled);u.Bb(d)&&u.sc(a)};
|
7 |
+
u.hc=function(a){function c(){return f}function d(){return l}if(!a||!a.Cb){var e=a||window.event;a={};for(var g in e)"layerX"!==g&&"layerY"!==g&&(a[g]=e[g]);a.target||(a.target=a.srcElement||document);a.relatedTarget=a.fromElement===a.target?a.toElement:a.fromElement;a.preventDefault=function(){e.preventDefault&&e.preventDefault();a.returnValue=l;a.Ab=c};a.Ab=d;a.stopPropagation=function(){e.stopPropagation&&e.stopPropagation();a.cancelBubble=f;a.Cb=c};a.Cb=d;a.stopImmediatePropagation=function(){e.stopImmediatePropagation&&
|
8 |
+
e.stopImmediatePropagation();a.nc=c;a.stopPropagation()};a.nc=d;if(a.clientX!=h){g=document.documentElement;var j=document.body;a.pageX=a.clientX+(g&&g.scrollLeft||j&&j.scrollLeft||0)-(g&&g.clientLeft||j&&j.clientLeft||0);a.pageY=a.clientY+(g&&g.scrollTop||j&&j.scrollTop||0)-(g&&g.clientTop||j&&j.clientTop||0)}a.which=a.charCode||a.keyCode;a.button!=h&&(a.button=a.button&1?0:a.button&4?1:a.button&2?2:0)}return a};
|
9 |
+
u.k=function(a,c){var d=u.mc(a)?u.getData(a):{},e=a.parentNode||a.ownerDocument;"string"===typeof c&&(c={type:c,target:a});c=u.hc(c);d.T&&d.T.call(a,c);if(e&&!c.Cb())u.k(e,c);else if(!e&&!c.Ab()&&(d=u.getData(c.target),c.target[c.type])){d.disabled=f;if("function"===typeof c.target[c.type])c.target[c.type]();d.disabled=l}return!c.Ab()};u.R=function(a,c,d){u.d(a,c,function(){u.t(a,c,arguments.callee);d.apply(this,arguments)})};var w=Object.prototype.hasOwnProperty;
|
10 |
+
u.e=function(a,c){var d=document.createElement(a||"div"),e;for(e in c)w.call(c,e)&&(-1!==e.indexOf("aria-")||"role"==e?d.setAttribute(e,c[e]):d[e]=c[e]);return d};u.Z=function(a){return a.charAt(0).toUpperCase()+a.slice(1)};u.i={};u.i.create=Object.create||function(a){function c(){}c.prototype=a;return new c};u.i.ra=function(a,c,d){for(var e in a)w.call(a,e)&&c.call(d||this,e,a[e])};u.i.B=function(a,c){if(!c)return a;for(var d in c)w.call(c,d)&&(a[d]=c[d]);return a};
|
11 |
+
u.i.gc=function(a,c){var d,e,g;a=u.i.copy(a);for(d in c)w.call(c,d)&&(e=a[d],g=c[d],a[d]=u.i.oc(e)&&u.i.oc(g)?u.i.gc(e,g):c[d]);return a};u.i.copy=function(a){return u.i.B({},a)};u.i.oc=function(a){return!!a&&"object"===typeof a&&"[object Object]"===a.toString()&&a.constructor===Object};u.bind=function(a,c,d){function e(){return c.apply(a,arguments)}c.u||(c.u=u.u++);e.u=d?d+"_"+c.u:c.u;return e};u.pa={};u.u=1;u.expando="vdata"+(new Date).getTime();
|
12 |
+
u.getData=function(a){var c=a[u.expando];c||(c=a[u.expando]=u.u++,u.pa[c]={});return u.pa[c]};u.mc=function(a){a=a[u.expando];return!(!a||u.Bb(u.pa[a]))};u.sc=function(a){var c=a[u.expando];if(c){delete u.pa[c];try{delete a[u.expando]}catch(d){a.removeAttribute?a.removeAttribute(u.expando):a[u.expando]=h}}};u.Bb=function(a){for(var c in a)if(a[c]!==h)return l;return f};u.p=function(a,c){-1==(" "+a.className+" ").indexOf(" "+c+" ")&&(a.className=""===a.className?c:a.className+" "+c)};
|
13 |
+
u.w=function(a,c){if(-1!=a.className.indexOf(c)){for(var d=a.className.split(" "),e=d.length-1;0<=e;e--)d[e]===c&&d.splice(e,1);a.className=d.join(" ")}};u.ma=u.e("video");u.G=navigator.userAgent;u.Cc=/iPhone/i.test(u.G);u.Bc=/iPad/i.test(u.G);u.Dc=/iPod/i.test(u.G);u.Ub=u.Cc||u.Bc||u.Dc;var aa=u,x;var y=u.G.match(/OS (\d+)_/i);x=y&&y[1]?y[1]:b;aa.td=x;u.ab=/Android/i.test(u.G);var ba=u,z;var A=u.G.match(/Android (\d+)(?:\.(\d+))?(?:\.(\d+))*/i),B,C;
|
14 |
+
A?(B=A[1]&&parseFloat(A[1]),C=A[2]&&parseFloat(A[2]),z=B&&C?parseFloat(A[1]+"."+A[2]):B?B:h):z=h;ba.zc=z;u.Ec=u.ab&&/webkit/i.test(u.G)&&2.3>u.zc;u.Ac=/Firefox/i.test(u.G);u.ud=/Chrome/i.test(u.G);u.xb=function(a){var c={};if(a&&a.attributes&&0<a.attributes.length)for(var d=a.attributes,e,g,j=d.length-1;0<=j;j--){e=d[j].name;g=d[j].value;if("boolean"===typeof a[e]||-1!==",autoplay,controls,loop,muted,default,".indexOf(","+e+","))g=g!==h?f:l;c[e]=g}return c};
|
15 |
+
u.xd=function(a,c){var d="";document.defaultView&&document.defaultView.getComputedStyle?d=document.defaultView.getComputedStyle(a,"").getPropertyValue(c):a.currentStyle&&(d=a["client"+c.substr(0,1).toUpperCase()+c.substr(1)]+"px");return d};u.zb=function(a,c){c.firstChild?c.insertBefore(a,c.firstChild):c.appendChild(a)};u.Ob={};u.r=function(a){0===a.indexOf("#")&&(a=a.slice(1));return document.getElementById(a)};
|
16 |
+
u.Ka=function(a,c){c=c||a;var d=Math.floor(a%60),e=Math.floor(a/60%60),g=Math.floor(a/3600),j=Math.floor(c/60%60),k=Math.floor(c/3600),g=0<g||0<k?g+":":"";return g+(((g||10<=j)&&10>e?"0"+e:e)+":")+(10>d?"0"+d:d)};u.Ic=function(){document.body.focus();document.onselectstart=r(l)};u.od=function(){document.onselectstart=r(f)};u.trim=function(a){return a.toString().replace(/^\s+/,"").replace(/\s+$/,"")};u.round=function(a,c){c||(c=0);return Math.round(a*Math.pow(10,c))/Math.pow(10,c)};
|
17 |
+
u.tb=function(a,c){return{length:1,start:function(){return a},end:function(){return c}}};
|
18 |
u.get=function(a,c,d){var e=0===a.indexOf("file:")||0===window.location.href.indexOf("file:")&&-1===a.indexOf("http");"undefined"===typeof XMLHttpRequest&&(window.XMLHttpRequest=function(){try{return new window.ActiveXObject("Msxml2.XMLHTTP.6.0")}catch(a){}try{return new window.ActiveXObject("Msxml2.XMLHTTP.3.0")}catch(c){}try{return new window.ActiveXObject("Msxml2.XMLHTTP")}catch(d){}throw Error("This browser does not support XMLHttpRequest.");});var g=new XMLHttpRequest;try{g.open("GET",a)}catch(j){d(j)}g.onreadystatechange=
|
19 |
+
function(){4===g.readyState&&(200===g.status||e&&0===g.status?c(g.responseText):d&&d())};try{g.send()}catch(k){d&&d(k)}};u.gd=function(a){try{var c=window.localStorage||l;c&&(c.volume=a)}catch(d){22==d.code||1014==d.code?u.log("LocalStorage Full (VideoJS)",d):18==d.code?u.log("LocalStorage not allowed (VideoJS)",d):u.log("LocalStorage Error (VideoJS)",d)}};u.kc=function(a){a.match(/^https?:\/\//)||(a=u.e("div",{innerHTML:'<a href="'+a+'">x</a>'}).firstChild.href);return a};
|
20 |
+
u.log=function(){u.log.history=u.log.history||[];u.log.history.push(arguments);window.console&&window.console.log(Array.prototype.slice.call(arguments))};u.Qc=function(a){var c,d;a.getBoundingClientRect&&a.parentNode&&(c=a.getBoundingClientRect());if(!c)return{left:0,top:0};a=document.documentElement;d=document.body;return{left:c.left+(window.pageXOffset||d.scrollLeft)-(a.clientLeft||d.clientLeft||0),top:c.top+(window.pageYOffset||d.scrollTop)-(a.clientTop||d.clientTop||0)}};
|
21 |
+
u.c=u.ka.extend({g:function(a,c,d){this.a=a;this.f=u.i.copy(this.f);c=this.options(c);this.O=c.id||(c.el&&c.el.id?c.el.id:a.id()+"_component_"+u.u++);this.Vc=c.name||h;this.b=c.el||this.e();this.H=[];this.rb={};this.S={};if((a=this.f)&&a.children){var e=this;u.i.ra(a.children,function(a,c){c!==l&&!c.loadEvent&&(e[a]=e.Y(a,c))})}this.P(d)}});t=u.c.prototype;
|
22 |
+
t.D=function(){if(this.H)for(var a=this.H.length-1;0<=a;a--)this.H[a].D&&this.H[a].D();this.S=this.rb=this.H=h;this.t();this.b.parentNode&&this.b.parentNode.removeChild(this.b);u.sc(this.b);this.b=h};t.bd=p("a");t.options=function(a){return a===b?this.f:this.f=u.i.gc(this.f,a)};t.e=function(a,c){return u.e(a,c)};t.r=p("b");t.id=p("O");t.name=p("Vc");t.children=p("H");
|
23 |
+
t.Y=function(a,c){var d,e;"string"===typeof a?(e=a,c=c||{},d=c.componentClass||u.Z(e),c.name=e,d=new window.videojs[d](this.a||this,c)):d=a;this.H.push(d);"function"===typeof d.id&&(this.rb[d.id()]=d);(e=e||d.name&&d.name())&&(this.S[e]=d);"function"===typeof d.el&&d.el()&&(this.qa||this.b).appendChild(d.el());return d};
|
24 |
+
t.removeChild=function(a){"string"===typeof a&&(a=this.S[a]);if(a&&this.H){for(var c=l,d=this.H.length-1;0<=d;d--)if(this.H[d]===a){c=f;this.H.splice(d,1);break}c&&(this.rb[a.id]=h,this.S[a.name]=h,(c=a.r())&&c.parentNode===(this.qa||this.b)&&(this.qa||this.b).removeChild(a.r()))}};t.Q=r("");t.d=function(a,c){u.d(this.b,a,u.bind(this,c));return this};t.t=function(a,c){u.t(this.b,a,c);return this};t.R=function(a,c){u.R(this.b,a,u.bind(this,c));return this};t.k=function(a,c){u.k(this.b,a,c);return this};
|
25 |
+
t.P=function(a){a&&(this.aa?a.call(this):(this.Ra===b&&(this.Ra=[]),this.Ra.push(a)));return this};t.Ta=function(){this.aa=f;var a=this.Ra;if(a&&0<a.length){for(var c=0,d=a.length;c<d;c++)a[c].call(this);this.Ra=[];this.k("ready")}};t.p=function(a){u.p(this.b,a);return this};t.w=function(a){u.w(this.b,a);return this};t.show=function(){this.b.style.display="block";return this};t.v=function(){this.b.style.display="none";return this};t.$=function(){this.w("vjs-fade-out");this.p("vjs-fade-in");return this};
|
26 |
+
t.ta=function(){this.w("vjs-fade-in");this.p("vjs-fade-out");return this};t.pc=function(){this.p("vjs-lock-showing");return this};t.Ua=function(){this.w("vjs-lock-showing");return this};t.disable=function(){this.v();this.show=m();this.$=m()};t.width=function(a,c){return D(this,"width",a,c)};t.height=function(a,c){return D(this,"height",a,c)};t.Mc=function(a,c){return this.width(a,f).height(c)};
|
27 |
+
function D(a,c,d,e){if(d!==b)return a.b.style[c]=-1!==(""+d).indexOf("%")||-1!==(""+d).indexOf("px")?d:"auto"===d?"":d+"px",e||a.k("resize"),a;if(!a.b)return 0;d=a.b.style[c];e=d.indexOf("px");return-1!==e?parseInt(d.slice(0,e),10):parseInt(a.b["offset"+u.Z(c)],10)}
|
28 |
+
u.o=u.c.extend({g:function(a,c){u.c.call(this,a,c);var d=l;this.d("touchstart",function(){d=f});this.d("touchmove",function(){d=l});var e=this;this.d("touchend",function(a){d&&e.n(a);a.preventDefault();a.stopPropagation()});this.d("click",this.n);this.d("focus",this.Na);this.d("blur",this.Ma)}});t=u.o.prototype;
|
29 |
+
t.e=function(a,c){c=u.i.B({className:this.Q(),innerHTML:'<div class="vjs-control-content"><span class="vjs-control-text">'+(this.oa||"Need Text")+"</span></div>",dd:"button","aria-live":"polite",tabIndex:0},c);return u.c.prototype.e.call(this,a,c)};t.Q=function(){return"vjs-control "+u.c.prototype.Q.call(this)};t.n=m();t.Na=function(){u.d(document,"keyup",u.bind(this,this.ba))};t.ba=function(a){if(32==a.which||13==a.which)a.preventDefault(),this.n()};
|
30 |
+
t.Ma=function(){u.t(document,"keyup",u.bind(this,this.ba))};u.M=u.c.extend({g:function(a,c){u.c.call(this,a,c);this.Hc=this.S[this.f.barName];this.handle=this.S[this.f.handleName];a.d(this.qc,u.bind(this,this.update));this.d("mousedown",this.Oa);this.d("touchstart",this.Oa);this.d("focus",this.Na);this.d("blur",this.Ma);this.d("click",this.n);this.a.d("controlsvisible",u.bind(this,this.update));a.P(u.bind(this,this.update));this.N={}}});t=u.M.prototype;
|
31 |
+
t.e=function(a,c){c=c||{};c.className+=" vjs-slider";c=u.i.B({dd:"slider","aria-valuenow":0,"aria-valuemin":0,"aria-valuemax":100,tabIndex:0},c);return u.c.prototype.e.call(this,a,c)};t.Oa=function(a){a.preventDefault();u.Ic();this.N.move=u.bind(this,this.Hb);this.N.end=u.bind(this,this.Ib);u.d(document,"mousemove",this.N.move);u.d(document,"mouseup",this.N.end);u.d(document,"touchmove",this.N.move);u.d(document,"touchend",this.N.end);this.Hb(a)};
|
32 |
+
t.Ib=function(){u.od();u.t(document,"mousemove",this.N.move,l);u.t(document,"mouseup",this.N.end,l);u.t(document,"touchmove",this.N.move,l);u.t(document,"touchend",this.N.end,l);this.update()};t.update=function(){if(this.b){var a,c=this.yb(),d=this.handle,e=this.Hc;isNaN(c)&&(c=0);a=c;if(d){a=this.b.offsetWidth;var g=d.r().offsetWidth;a=g?g/a:0;c*=1-a;a=c+a/2;d.r().style.left=u.round(100*c,2)+"%"}e.r().style.width=u.round(100*a,2)+"%"}};
|
33 |
+
function E(a,c){var d,e,g,j;d=a.b;e=u.Qc(d);j=g=d.offsetWidth;d=a.handle;if(a.f.pd)return j=e.top,e=c.changedTouches?c.changedTouches[0].pageY:c.pageY,d&&(d=d.r().offsetHeight,j+=d/2,g-=d),Math.max(0,Math.min(1,(j-e+g)/g));g=e.left;e=c.changedTouches?c.changedTouches[0].pageX:c.pageX;d&&(d=d.r().offsetWidth,g+=d/2,j-=d);return Math.max(0,Math.min(1,(e-g)/j))}t.Na=function(){u.d(document,"keyup",u.bind(this,this.ba))};
|
34 |
+
t.ba=function(a){37==a.which?(a.preventDefault(),this.vc()):39==a.which&&(a.preventDefault(),this.wc())};t.Ma=function(){u.t(document,"keyup",u.bind(this,this.ba))};t.n=function(a){a.stopImmediatePropagation();a.preventDefault()};u.ga=u.c.extend();u.ga.prototype.defaultValue=0;u.ga.prototype.e=function(a,c){c=c||{};c.className+=" vjs-slider-handle";c=u.i.B({innerHTML:'<span class="vjs-control-text">'+this.defaultValue+"</span>"},c);return u.c.prototype.e.call(this,"div",c)};u.la=u.c.extend();
|
35 |
+
function ca(a,c){a.Y(c);c.d("click",u.bind(a,function(){this.Ua()}))}u.la.prototype.e=function(){var a=this.options().Kc||"ul";this.qa=u.e(a,{className:"vjs-menu-content"});a=u.c.prototype.e.call(this,"div",{append:this.qa,className:"vjs-menu"});a.appendChild(this.qa);u.d(a,"click",function(a){a.preventDefault();a.stopImmediatePropagation()});return a};u.L=u.o.extend({g:function(a,c){u.o.call(this,a,c);this.selected(c.selected)}});
|
36 |
+
u.L.prototype.e=function(a,c){return u.o.prototype.e.call(this,"li",u.i.B({className:"vjs-menu-item",innerHTML:this.f.label},c))};u.L.prototype.n=function(){this.selected(f)};u.L.prototype.selected=function(a){a?(this.p("vjs-selected"),this.b.setAttribute("aria-selected",f)):(this.w("vjs-selected"),this.b.setAttribute("aria-selected",l))};
|
37 |
+
u.ea=u.o.extend({g:function(a,c){u.o.call(this,a,c);this.ua=this.Ja();this.Y(this.ua);this.J&&0===this.J.length&&this.v();this.d("keyup",this.ba);this.b.setAttribute("aria-haspopup",f);this.b.setAttribute("role","button")}});t=u.ea.prototype;t.na=l;t.Ja=function(){var a=new u.la(this.a);this.options().title&&a.r().appendChild(u.e("li",{className:"vjs-menu-title",innerHTML:u.Z(this.A),md:-1}));if(this.J=this.sb())for(var c=0;c<this.J.length;c++)ca(a,this.J[c]);return a};t.sb=m();
|
38 |
+
t.Q=function(){return this.className+" vjs-menu-button "+u.o.prototype.Q.call(this)};t.Na=m();t.Ma=m();t.n=function(){this.R("mouseout",u.bind(this,function(){this.ua.Ua();this.b.blur()}));this.na?F(this):G(this)};t.ba=function(a){a.preventDefault();32==a.which||13==a.which?this.na?F(this):G(this):27==a.which&&this.na&&F(this)};function G(a){a.na=f;a.ua.pc();a.b.setAttribute("aria-pressed",f);a.J&&0<a.J.length&&a.J[0].r().focus()}function F(a){a.na=l;a.ua.Ua();a.b.setAttribute("aria-pressed",l)}
|
39 |
+
u.C=u.c.extend({g:function(a,c,d){this.F=a;c=u.i.B(da(a),c);this.s={};this.rc=c.poster;this.Ia=c.controls;c.customControlsOnMobile!==f&&(u.Ub||u.ab)?(a.controls=c.controls,this.Ia=l):a.controls=l;u.c.call(this,this,c,d);this.R("play",function(a){u.k(this.b,{type:"firstplay",target:this.b})||(a.preventDefault(),a.stopPropagation(),a.stopImmediatePropagation())});this.d("ended",this.Xc);this.d("play",this.Kb);this.d("firstplay",this.Yc);this.d("pause",this.Jb);this.d("progress",this.$c);this.d("durationchange",
|
40 |
+
this.Wc);this.d("error",this.Gb);this.d("fullscreenchange",this.Zc);u.va[this.O]=this;c.plugins&&u.i.ra(c.plugins,function(a,c){this[a](c)},this)}});t=u.C.prototype;t.f=u.options;t.D=function(){u.va[this.O]=h;this.F&&this.F.player&&(this.F.player=h);this.b&&this.b.player&&(this.b.player=h);clearInterval(this.Qa);this.xa();this.h&&this.h.D();u.c.prototype.D.call(this)};
|
41 |
+
function da(a){var c={sources:[],tracks:[]};u.i.B(c,u.xb(a));if(a.hasChildNodes()){var d,e,g,j;a=a.childNodes;g=0;for(j=a.length;g<j;g++)d=a[g],e=d.nodeName.toLowerCase(),"source"===e?c.sources.push(u.xb(d)):"track"===e&&c.tracks.push(u.xb(d))}return c}
|
42 |
+
t.e=function(){var a=this.b=u.c.prototype.e.call(this,"div"),c=this.F;c.removeAttribute("width");c.removeAttribute("height");if(c.hasChildNodes()){var d,e,g,j,k;d=c.childNodes;e=d.length;for(k=[];e--;)g=d[e],j=g.nodeName.toLowerCase(),("source"===j||"track"===j)&&k.push(g);for(d=0;d<k.length;d++)c.removeChild(k[d])}c.id=c.id||"vjs_video_"+u.u++;a.id=c.id;a.className=c.className;c.id+="_html5_api";c.className="vjs-tech";c.player=a.player=this;this.p("vjs-paused");this.width(this.f.width,f);this.height(this.f.height,
|
43 |
+
f);c.parentNode&&c.parentNode.insertBefore(a,c);u.zb(c,a);return a};
|
44 |
+
function H(a,c,d){a.h?(a.aa=l,a.h.D(),a.Eb&&(a.Eb=l,clearInterval(a.Qa)),a.Fb&&I(a),a.h=l):"Html5"!==c&&a.F&&(a.b.removeChild(a.F),a.F.player=h,a.F=h);a.ya=c;a.aa=l;var e=u.i.B({source:d,parentEl:a.b},a.f[c.toLowerCase()]);d&&(d.src==a.s.src&&0<a.s.currentTime&&(e.startTime=a.s.currentTime),a.s.src=d.src);a.h=new window.videojs[c](a,e);a.h.P(function(){this.a.Ta();if(!this.j.Mb){var a=this.a;a.Eb=f;a.Qa=setInterval(u.bind(a,function(){this.s.mb<this.buffered().end(0)?this.k("progress"):1==this.Ha()&&
|
45 |
+
(clearInterval(this.Qa),this.k("progress"))}),500);a.h.R("progress",function(){this.j.Mb=f;var a=this.a;a.Eb=l;clearInterval(a.Qa)})}this.j.Pb||(a=this.a,a.Fb=f,a.d("play",a.xc),a.d("pause",a.xa),a.h.R("timeupdate",function(){this.j.Pb=f;I(this.a)}))})}function I(a){a.Fb=l;a.xa();a.t("play",a.xc);a.t("pause",a.xa)}t.xc=function(){this.fc&&this.xa();this.fc=setInterval(u.bind(this,function(){this.k("timeupdate")}),250)};t.xa=function(){clearInterval(this.fc)};
|
46 |
+
t.Xc=function(){this.f.loop&&(this.currentTime(0),this.play())};t.Kb=function(){u.w(this.b,"vjs-paused");u.p(this.b,"vjs-playing")};t.Yc=function(){this.f.starttime&&this.currentTime(this.f.starttime)};t.Jb=function(){u.w(this.b,"vjs-playing");u.p(this.b,"vjs-paused")};t.$c=function(){1==this.Ha()&&this.k("loadedalldata")};t.Wc=function(){this.duration(J(this,"duration"))};t.Gb=function(a){u.log("Video Error",a)};t.Zc=function(){this.I?this.p("vjs-fullscreen"):this.w("vjs-fullscreen")};
|
47 |
+
function K(a,c,d){if(a.h&&!a.h.aa)a.h.P(function(){this[c](d)});else try{a.h[c](d)}catch(e){throw u.log(e),e;}}function J(a,c){if(a.h.aa)try{return a.h[c]()}catch(d){throw a.h[c]===b?u.log("Video.js: "+c+" method not defined for "+a.ya+" playback technology.",d):"TypeError"==d.name?(u.log("Video.js: "+c+" unavailable on "+a.ya+" playback technology element.",d),a.h.aa=l):u.log(d),d;}}t.play=function(){K(this,"play");return this};t.pause=function(){K(this,"pause");return this};
|
48 |
+
t.paused=function(){return J(this,"paused")===l?l:f};t.currentTime=function(a){return a!==b?(this.s.zd=a,K(this,"setCurrentTime",a),this.Fb&&this.k("timeupdate"),this):this.s.currentTime=J(this,"currentTime")||0};t.duration=function(a){return a!==b?(this.s.duration=parseFloat(a),this):this.s.duration};t.buffered=function(){var a=J(this,"buffered"),c=this.s.mb=this.s.mb||0;a&&(0<a.length&&a.end(0)!==c)&&(c=a.end(0),this.s.mb=c);return u.tb(0,c)};
|
49 |
+
t.Ha=function(){return this.duration()?this.buffered().end(0)/this.duration():0};t.volume=function(a){if(a!==b)return a=Math.max(0,Math.min(1,parseFloat(a))),this.s.volume=a,K(this,"setVolume",a),u.gd(a),this;a=parseFloat(J(this,"volume"));return isNaN(a)?1:a};t.muted=function(a){return a!==b?(K(this,"setMuted",a),this):J(this,"muted")||l};t.Sa=function(){return J(this,"supportsFullScreen")||l};
|
50 |
+
t.wa=function(){var a=u.Ob.wa;this.I=f;a?(u.d(document,a.vb,u.bind(this,function(c){this.I=document[a.I];this.I===l&&u.t(document,a.vb,arguments.callee);this.k("fullscreenchange")})),this.b[a.tc]()):this.h.Sa()?K(this,"enterFullScreen"):(this.Sc=f,this.Nc=document.documentElement.style.overflow,u.d(document,"keydown",u.bind(this,this.ic)),document.documentElement.style.overflow="hidden",u.p(document.body,"vjs-full-window"),this.k("enterFullWindow"),this.k("fullscreenchange"));return this};
|
51 |
+
t.pb=function(){var a=u.Ob.wa;this.I=l;if(a)document[a.ob]();else this.h.Sa()?K(this,"exitFullScreen"):(L(this),this.k("fullscreenchange"));return this};t.ic=function(a){27===a.keyCode&&(this.I===f?this.pb():L(this))};function L(a){a.Sc=l;u.t(document,"keydown",a.ic);document.documentElement.style.overflow=a.Nc;u.w(document.body,"vjs-full-window");a.k("exitFullWindow")}
|
52 |
+
t.src=function(a){if(a instanceof Array){var c;a:{c=a;for(var d=0,e=this.f.techOrder;d<e.length;d++){var g=u.Z(e[d]),j=window.videojs[g];if(j.isSupported())for(var k=0,q=c;k<q.length;k++){var n=q[k];if(j.canPlaySource(n)){c={source:n,h:g};break a}}}c=l}c?(a=c.source,c=c.h,c==this.ya?this.src(a):H(this,c,a)):this.b.appendChild(u.e("p",{innerHTML:'Sorry, no compatible source and playback technology were found for this video. Try using another browser like <a href="http://bit.ly/ccMUEC">Chrome</a> or download the latest <a href="http://adobe.ly/mwfN1">Adobe Flash Player</a>.'}))}else a instanceof
|
53 |
+
Object?window.videojs[this.ya].canPlaySource(a)?this.src(a.src):this.src([a]):(this.s.src=a,this.aa?(K(this,"src",a),"auto"==this.f.preload&&this.load(),this.f.autoplay&&this.play()):this.P(function(){this.src(a)}));return this};t.load=function(){K(this,"load");return this};t.currentSrc=function(){return J(this,"currentSrc")||this.s.src||""};t.Pa=function(a){return a!==b?(K(this,"setPreload",a),this.f.preload=a,this):J(this,"preload")};
|
54 |
+
t.autoplay=function(a){return a!==b?(K(this,"setAutoplay",a),this.f.autoplay=a,this):J(this,"autoplay")};t.loop=function(a){return a!==b?(K(this,"setLoop",a),this.f.loop=a,this):J(this,"loop")};t.poster=function(a){a!==b&&(this.rc=a);return this.rc};t.controls=function(a){a!==b&&this.Ia!==a&&(this.Ia=!!a,this.k("controlschange"));return this.Ia};t.error=function(){return J(this,"error")};var M,N,O;O=document.createElement("div");N={};
|
55 |
+
O.vd!==b?(N.tc="requestFullscreen",N.ob="exitFullscreen",N.vb="fullscreenchange",N.I="fullScreen"):(document.mozCancelFullScreen?(M="moz",N.I=M+"FullScreen"):(M="webkit",N.I=M+"IsFullScreen"),O[M+"RequestFullScreen"]&&(N.tc=M+"RequestFullScreen",N.ob=M+"CancelFullScreen"),N.vb=M+"fullscreenchange");document[N.ob]&&(u.Ob.wa=N);
|
56 |
+
u.da=u.c.extend({g:function(a,c){u.c.call(this,a,c);a.controls()||this.disable();a.R("play",u.bind(this,function(){var a,c=u.bind(this,this.$),g=u.bind(this,this.ta);this.$();"ontouchstart"in window||(this.a.d("mouseover",c),this.a.d("mouseout",g),this.a.d("pause",u.bind(this,this.pc)),this.a.d("play",u.bind(this,this.Ua)));a=l;this.a.d("touchstart",function(){a=f});this.a.d("touchmove",function(){a=l});this.a.d("touchend",u.bind(this,function(c){var e;a&&(e=this.r().className.search("fade-in"),-1!==
|
57 |
+
e?this.ta():this.$());a=l;this.a.paused()||c.preventDefault()}))}))}});u.da.prototype.f={Ad:"play",children:{playToggle:{},currentTimeDisplay:{},timeDivider:{},durationDisplay:{},remainingTimeDisplay:{},progressControl:{},fullscreenToggle:{},volumeControl:{},muteToggle:{}}};u.da.prototype.e=function(){return u.e("div",{className:"vjs-control-bar"})};u.da.prototype.$=function(){u.c.prototype.$.call(this);this.a.k("controlsvisible")};u.da.prototype.ta=function(){u.c.prototype.ta.call(this);this.a.k("controlshidden")};
|
58 |
+
u.Xb=u.o.extend({g:function(a,c){u.o.call(this,a,c);a.d("play",u.bind(this,this.Kb));a.d("pause",u.bind(this,this.Jb))}});t=u.Xb.prototype;t.oa="Play";t.Q=function(){return"vjs-play-control "+u.o.prototype.Q.call(this)};t.n=function(){this.a.paused()?this.a.play():this.a.pause()};t.Kb=function(){u.w(this.b,"vjs-paused");u.p(this.b,"vjs-playing");this.b.children[0].children[0].innerHTML="Pause"};
|
59 |
+
t.Jb=function(){u.w(this.b,"vjs-playing");u.p(this.b,"vjs-paused");this.b.children[0].children[0].innerHTML="Play"};u.Ya=u.c.extend({g:function(a,c){u.c.call(this,a,c);a.d("timeupdate",u.bind(this,this.Ba))}});
|
60 |
+
u.Ya.prototype.e=function(){var a=u.c.prototype.e.call(this,"div",{className:"vjs-current-time vjs-time-controls vjs-control"});this.content=u.e("div",{className:"vjs-current-time-display",innerHTML:'<span class="vjs-control-text">Current Time </span>0:00',"aria-live":"off"});a.appendChild(u.e("div").appendChild(this.content));return a};
|
61 |
+
u.Ya.prototype.Ba=function(){var a=this.a.Nb?this.a.s.currentTime:this.a.currentTime();this.content.innerHTML='<span class="vjs-control-text">Current Time </span>'+u.Ka(a,this.a.duration())};u.Za=u.c.extend({g:function(a,c){u.c.call(this,a,c);a.d("timeupdate",u.bind(this,this.Ba))}});
|
62 |
+
u.Za.prototype.e=function(){var a=u.c.prototype.e.call(this,"div",{className:"vjs-duration vjs-time-controls vjs-control"});this.content=u.e("div",{className:"vjs-duration-display",innerHTML:'<span class="vjs-control-text">Duration Time </span>0:00',"aria-live":"off"});a.appendChild(u.e("div").appendChild(this.content));return a};u.Za.prototype.Ba=function(){this.a.duration()&&(this.content.innerHTML='<span class="vjs-control-text">Duration Time </span>'+u.Ka(this.a.duration()))};
|
63 |
+
u.ac=u.c.extend({g:function(a,c){u.c.call(this,a,c)}});u.ac.prototype.e=function(){return u.c.prototype.e.call(this,"div",{className:"vjs-time-divider",innerHTML:"<div><span>/</span></div>"})};u.gb=u.c.extend({g:function(a,c){u.c.call(this,a,c);a.d("timeupdate",u.bind(this,this.Ba))}});
|
64 |
+
u.gb.prototype.e=function(){var a=u.c.prototype.e.call(this,"div",{className:"vjs-remaining-time vjs-time-controls vjs-control"});this.content=u.e("div",{className:"vjs-remaining-time-display",innerHTML:'<span class="vjs-control-text">Remaining Time </span>-0:00',"aria-live":"off"});a.appendChild(u.e("div").appendChild(this.content));return a};
|
65 |
+
u.gb.prototype.Ba=function(){this.a.duration()&&this.a.duration()&&(this.content.innerHTML='<span class="vjs-control-text">Remaining Time </span>-'+u.Ka(this.a.duration()-this.a.currentTime()))};u.Da=u.o.extend({g:function(a,c){u.o.call(this,a,c)}});u.Da.prototype.oa="Fullscreen";u.Da.prototype.Q=function(){return"vjs-fullscreen-control "+u.o.prototype.Q.call(this)};
|
66 |
+
u.Da.prototype.n=function(){this.a.I?(this.a.pb(),this.b.children[0].children[0].innerHTML="Fullscreen"):(this.a.wa(),this.b.children[0].children[0].innerHTML="Non-Fullscreen")};u.fb=u.c.extend({g:function(a,c){u.c.call(this,a,c)}});u.fb.prototype.f={children:{seekBar:{}}};u.fb.prototype.e=function(){return u.c.prototype.e.call(this,"div",{className:"vjs-progress-control vjs-control"})};u.Yb=u.M.extend({g:function(a,c){u.M.call(this,a,c);a.d("timeupdate",u.bind(this,this.Aa));a.P(u.bind(this,this.Aa))}});
|
67 |
+
t=u.Yb.prototype;t.f={children:{loadProgressBar:{},playProgressBar:{},seekHandle:{}},barName:"playProgressBar",handleName:"seekHandle"};t.qc="timeupdate";t.e=function(){return u.M.prototype.e.call(this,"div",{className:"vjs-progress-holder","aria-label":"video progress bar"})};t.Aa=function(){var a=this.a.Nb?this.a.s.currentTime:this.a.currentTime();this.b.setAttribute("aria-valuenow",u.round(100*this.yb(),2));this.b.setAttribute("aria-valuetext",u.Ka(a,this.a.duration()))};
|
68 |
+
t.yb=function(){return this.a.currentTime()/this.a.duration()};t.Oa=function(a){u.M.prototype.Oa.call(this,a);this.a.Nb=f;this.qd=!this.a.paused();this.a.pause()};t.Hb=function(a){a=E(this,a)*this.a.duration();a==this.a.duration()&&(a-=0.1);this.a.currentTime(a)};t.Ib=function(a){u.M.prototype.Ib.call(this,a);this.a.Nb=l;this.qd&&this.a.play()};t.wc=function(){this.a.currentTime(this.a.currentTime()+5)};t.vc=function(){this.a.currentTime(this.a.currentTime()-5)};
|
69 |
+
u.bb=u.c.extend({g:function(a,c){u.c.call(this,a,c);a.d("progress",u.bind(this,this.update))}});u.bb.prototype.e=function(){return u.c.prototype.e.call(this,"div",{className:"vjs-load-progress",innerHTML:'<span class="vjs-control-text">Loaded: 0%</span>'})};u.bb.prototype.update=function(){this.b.style&&(this.b.style.width=u.round(100*this.a.Ha(),2)+"%")};u.Wb=u.c.extend({g:function(a,c){u.c.call(this,a,c)}});
|
70 |
+
u.Wb.prototype.e=function(){return u.c.prototype.e.call(this,"div",{className:"vjs-play-progress",innerHTML:'<span class="vjs-control-text">Progress: 0%</span>'})};u.hb=u.ga.extend();u.hb.prototype.defaultValue="00:00";u.hb.prototype.e=function(){return u.ga.prototype.e.call(this,"div",{className:"vjs-seek-handle"})};u.jb=u.c.extend({g:function(a,c){u.c.call(this,a,c);a.h&&(a.h.j&&a.h.j.U===l)&&this.p("vjs-hidden");a.d("loadstart",u.bind(this,function(){a.h.j&&a.h.j.U===l?this.p("vjs-hidden"):this.w("vjs-hidden")}))}});
|
71 |
+
u.jb.prototype.f={children:{volumeBar:{}}};u.jb.prototype.e=function(){return u.c.prototype.e.call(this,"div",{className:"vjs-volume-control vjs-control"})};u.ib=u.M.extend({g:function(a,c){u.M.call(this,a,c);a.d("volumechange",u.bind(this,this.Aa));a.P(u.bind(this,this.Aa));setTimeout(u.bind(this,this.update),0)}});t=u.ib.prototype;t.Aa=function(){this.b.setAttribute("aria-valuenow",u.round(100*this.a.volume(),2));this.b.setAttribute("aria-valuetext",u.round(100*this.a.volume(),2)+"%")};
|
72 |
+
t.f={children:{volumeLevel:{},volumeHandle:{}},barName:"volumeLevel",handleName:"volumeHandle"};t.qc="volumechange";t.e=function(){return u.M.prototype.e.call(this,"div",{className:"vjs-volume-bar","aria-label":"volume level"})};t.Hb=function(a){this.a.volume(E(this,a))};t.yb=function(){return this.a.muted()?0:this.a.volume()};t.wc=function(){this.a.volume(this.a.volume()+0.1)};t.vc=function(){this.a.volume(this.a.volume()-0.1)};u.bc=u.c.extend({g:function(a,c){u.c.call(this,a,c)}});
|
73 |
+
u.bc.prototype.e=function(){return u.c.prototype.e.call(this,"div",{className:"vjs-volume-level",innerHTML:'<span class="vjs-control-text"></span>'})};u.kb=u.ga.extend();u.kb.prototype.defaultValue="00:00";u.kb.prototype.e=function(){return u.ga.prototype.e.call(this,"div",{className:"vjs-volume-handle"})};
|
74 |
+
u.fa=u.o.extend({g:function(a,c){u.o.call(this,a,c);a.d("volumechange",u.bind(this,this.update));a.h&&(a.h.j&&a.h.j.U===l)&&this.p("vjs-hidden");a.d("loadstart",u.bind(this,function(){a.h.j&&a.h.j.U===l?this.p("vjs-hidden"):this.w("vjs-hidden")}))}});u.fa.prototype.e=function(){return u.o.prototype.e.call(this,"div",{className:"vjs-mute-control vjs-control",innerHTML:'<div><span class="vjs-control-text">Mute</span></div>'})};u.fa.prototype.n=function(){this.a.muted(this.a.muted()?l:f)};
|
75 |
+
u.fa.prototype.update=function(){var a=this.a.volume(),c=3;0===a||this.a.muted()?c=0:0.33>a?c=1:0.67>a&&(c=2);this.a.muted()?"Unmute"!=this.b.children[0].children[0].innerHTML&&(this.b.children[0].children[0].innerHTML="Unmute"):"Mute"!=this.b.children[0].children[0].innerHTML&&(this.b.children[0].children[0].innerHTML="Mute");for(a=0;4>a;a++)u.w(this.b,"vjs-vol-"+a);u.p(this.b,"vjs-vol-"+c)};
|
76 |
+
u.Fa=u.ea.extend({g:function(a,c){u.ea.call(this,a,c);a.d("volumechange",u.bind(this,this.update));a.h&&(a.h.j&&a.h.j.U===l)&&this.p("vjs-hidden");a.d("loadstart",u.bind(this,function(){a.h.j&&a.h.j.U===l?this.p("vjs-hidden"):this.w("vjs-hidden")}));this.p("vjs-menu-button")}});u.Fa.prototype.Ja=function(){var a=new u.la(this.a,{Kc:"div"}),c=new u.ib(this.a,u.i.B({pd:f},this.f.Dd));a.Y(c);return a};u.Fa.prototype.n=function(){u.fa.prototype.n.call(this);u.ea.prototype.n.call(this)};
|
77 |
+
u.Fa.prototype.e=function(){return u.o.prototype.e.call(this,"div",{className:"vjs-volume-menu-button vjs-menu-button vjs-control",innerHTML:'<div><span class="vjs-control-text">Mute</span></div>'})};u.Fa.prototype.update=u.fa.prototype.update;u.eb=u.o.extend({g:function(a,c){u.o.call(this,a,c);(!a.poster()||!a.controls())&&this.v();a.d("play",u.bind(this,this.v))}});
|
78 |
+
u.eb.prototype.e=function(){var a=u.e("div",{className:"vjs-poster",tabIndex:-1}),c=this.a.poster();c&&("backgroundSize"in a.style?a.style.backgroundImage='url("'+c+'")':a.appendChild(u.e("img",{src:c})));return a};u.eb.prototype.n=function(){this.a.play()};
|
79 |
+
u.Vb=u.c.extend({g:function(a,c){u.c.call(this,a,c);a.d("canplay",u.bind(this,this.v));a.d("canplaythrough",u.bind(this,this.v));a.d("playing",u.bind(this,this.v));a.d("seeked",u.bind(this,this.v));a.d("seeking",u.bind(this,this.show));a.d("seeked",u.bind(this,this.v));a.d("error",u.bind(this,this.show));a.d("waiting",u.bind(this,this.show))}});u.Vb.prototype.e=function(){return u.c.prototype.e.call(this,"div",{className:"vjs-loading-spinner"})};
|
80 |
+
u.Wa=u.o.extend({g:function(a,c){u.o.call(this,a,c);a.controls()||this.v();a.d("play",u.bind(this,this.v))}});u.Wa.prototype.e=function(){return u.o.prototype.e.call(this,"div",{className:"vjs-big-play-button",innerHTML:"<span></span>","aria-label":"play video"})};u.Wa.prototype.n=function(){this.a.play()};u.q=u.c.extend({g:function(a,c,d){u.c.call(this,a,c,d)}});u.q.prototype.n=u.ab?m():function(){this.a.controls()&&(this.a.paused()?this.a.play():this.a.pause())};u.q.prototype.j={U:f,jc:l,Mb:l,Pb:l};
|
81 |
+
u.media={};u.media.Va="play pause paused currentTime setCurrentTime duration buffered volume setVolume muted setMuted width height supportsFullScreen enterFullScreen src load currentSrc preload setPreload autoplay setAutoplay loop setLoop error networkState readyState seeking initialTime startOffsetTime played seekable ended videoTracks audioTracks videoWidth videoHeight textTracks defaultPlaybackRate playbackRate mediaGroup controller controls defaultMuted".split(" ");
|
82 |
+
function ea(){var a=u.media.Va[i];return function(){throw Error('The "'+a+"\" method is not available on the playback technology's API");}}for(var i=u.media.Va.length-1;0<=i;i--)u.q.prototype[u.media.Va[i]]=ea();
|
83 |
+
u.m=u.q.extend({g:function(a,c,d){this.j.U=u.m.Jc();this.j.Uc=!u.Ub;this.j.jc=f;u.q.call(this,a,c,d);(c=c.source)&&this.b.currentSrc==c.src?a.k("loadstart"):c&&(this.b.src=c.src);a.P(function(){this.F&&(this.f.autoplay&&this.paused())&&(delete this.F.poster,this.play())});this.d("click",this.n);for(a=u.m.$a.length-1;0<=a;a--)u.d(this.b,u.m.$a[a],u.bind(this.a,this.Pc));this.Ta()}});t=u.m.prototype;t.D=function(){u.q.prototype.D.call(this)};
|
84 |
+
t.e=function(){var a=this.a,c=a.F;if(!c||this.j.Uc===l)c?(c.player=h,a.F=h,a.r().removeChild(c),c=c.cloneNode(l)):c=u.e("video",{id:a.id()+"_html5_api",className:"vjs-tech"}),c.player=a,u.zb(c,a.r());for(var d=["autoplay","preload","loop","muted"],e=d.length-1;0<=e;e--){var g=d[e];a.f[g]!==h&&(c[g]=a.f[g])}return c};t.Pc=function(a){this.k(a);a.stopPropagation()};t.play=function(){this.b.play()};t.pause=function(){this.b.pause()};t.paused=function(){return this.b.paused};t.currentTime=function(){return this.b.currentTime};
|
85 |
+
t.fd=function(a){try{this.b.currentTime=a}catch(c){u.log(c,"Video is not ready. (Video.js)")}};t.duration=function(){return this.b.duration||0};t.buffered=function(){return this.b.buffered};t.volume=function(){return this.b.volume};t.ld=function(a){this.b.volume=a};t.muted=function(){return this.b.muted};t.jd=function(a){this.b.muted=a};t.width=function(){return this.b.offsetWidth};t.height=function(){return this.b.offsetHeight};
|
86 |
+
t.Sa=function(){return"function"==typeof this.b.webkitEnterFullScreen&&(/Android/.test(u.G)||!/Chrome|Mac OS X 10.5/.test(u.G))?f:l};t.src=function(a){this.b.src=a};t.load=function(){this.b.load()};t.currentSrc=function(){return this.b.currentSrc};t.Pa=function(){return this.b.Pa};t.kd=function(a){this.b.Pa=a};t.autoplay=function(){return this.b.autoplay};t.ed=function(a){this.b.autoplay=a};t.loop=function(){return this.b.loop};t.hd=function(a){this.b.loop=a};t.error=function(){return this.b.error};
|
87 |
+
u.m.isSupported=function(){return!!u.ma.canPlayType};u.m.nb=function(a){try{return!!u.ma.canPlayType(a.type)}catch(c){return""}};u.m.Jc=function(){var a=u.ma.volume;u.ma.volume=a/2+0.1;return a!==u.ma.volume};u.m.$a="loadstart suspend abort error emptied stalled loadedmetadata loadeddata canplay canplaythrough playing waiting seeking seeked ended durationchange timeupdate progress play pause ratechange volumechange".split(" ");
|
88 |
+
u.Ec&&(document.createElement("video").constructor.prototype.canPlayType=function(a){return a&&-1!=a.toLowerCase().indexOf("video/mp4")?"maybe":""});
|
89 |
+
u.l=u.q.extend({g:function(a,c,d){u.q.call(this,a,c,d);d=c.source;var e=c.parentEl,g=this.b=u.e("div",{id:a.id()+"_temp_flash"}),j=a.id()+"_flash_api";a=a.f;var k=u.i.B({readyFunction:"videojs.Flash.onReady",eventProxyFunction:"videojs.Flash.onEvent",errorEventProxyFunction:"videojs.Flash.onError",autoplay:a.autoplay,preload:a.Pa,loop:a.loop,muted:a.muted},c.flashVars),q=u.i.B({wmode:"opaque",bgcolor:"#000000"},c.params),n=u.i.B({id:j,name:j,"class":"vjs-tech"},c.attributes);d&&(k.src=encodeURIComponent(u.kc(d.src)));
|
90 |
+
u.zb(g,e);c.startTime&&this.P(function(){this.load();this.play();this.currentTime(c.startTime)});if(c.iFrameMode===f&&!u.Ac){var s=u.e("iframe",{id:j+"_iframe",name:j+"_iframe",className:"vjs-tech",scrolling:"no",marginWidth:0,marginHeight:0,frameBorder:0});k.readyFunction="ready";k.eventProxyFunction="events";k.errorEventProxyFunction="errors";u.d(s,"load",u.bind(this,function(){var a,d=s.contentWindow;a=s.contentDocument?s.contentDocument:s.contentWindow.document;a.write(u.l.lc(c.swf,k,q,n));d.player=
|
91 |
+
this.a;d.ready=u.bind(this.a,function(c){c=a.getElementById(c);var d=this.h;d.b=c;u.d(c,"click",d.bind(d.n));u.l.qb(d)});d.events=u.bind(this.a,function(a,c){this&&"flash"===this.ya&&this.k(c)});d.errors=u.bind(this.a,function(a,c){u.log("Flash Error",c)})}));g.parentNode.replaceChild(s,g)}else u.l.Oc(c.swf,g,k,q,n)}});t=u.l.prototype;t.D=function(){u.q.prototype.D.call(this)};t.play=function(){this.b.vjs_play()};t.pause=function(){this.b.vjs_pause()};
|
92 |
+
t.src=function(a){a=u.kc(a);this.b.vjs_src(a);if(this.a.autoplay()){var c=this;setTimeout(function(){c.play()},0)}};t.load=function(){this.b.vjs_load()};t.poster=function(){this.b.vjs_getProperty("poster")};t.buffered=function(){return u.tb(0,this.b.vjs_getProperty("buffered"))};t.Sa=r(l);var P=u.l.prototype,Q="preload currentTime defaultPlaybackRate playbackRate autoplay loop mediaGroup controller controls volume muted defaultMuted".split(" "),R="error currentSrc networkState readyState seeking initialTime duration startOffsetTime paused played seekable ended videoTracks audioTracks videoWidth videoHeight textTracks".split(" ");
|
93 |
+
function fa(){var a=Q[S],c=a.charAt(0).toUpperCase()+a.slice(1);P["set"+c]=function(c){return this.b.vjs_setProperty(a,c)}}function T(a){P[a]=function(){return this.b.vjs_getProperty(a)}}var S;for(S=0;S<Q.length;S++)T(Q[S]),fa();for(S=0;S<R.length;S++)T(R[S]);u.l.isSupported=function(){return 10<=u.l.version()[0]};u.l.nb=function(a){if(a.type in u.l.Rc)return"maybe"};u.l.Rc={"video/flv":"FLV","video/x-flv":"FLV","video/mp4":"MP4","video/m4v":"MP4"};
|
94 |
+
u.l.onReady=function(a){a=u.r(a);var c=a.player||a.parentNode.player,d=c.h;a.player=c;d.b=a;d.d("click",d.n);u.l.qb(d)};u.l.qb=function(a){a.r().vjs_getProperty?a.Ta():setTimeout(function(){u.l.qb(a)},50)};u.l.onEvent=function(a,c){u.r(a).player.k(c)};u.l.onError=function(a,c){u.r(a).player.k("error");u.log("Flash Error",c,a)};
|
95 |
u.l.version=function(){var a="0,0,0";try{a=(new window.ActiveXObject("ShockwaveFlash.ShockwaveFlash")).GetVariable("$version").replace(/\D+/g,",").match(/^,?(.+),?$/)[1]}catch(c){try{navigator.mimeTypes["application/x-shockwave-flash"].enabledPlugin&&(a=(navigator.plugins["Shockwave Flash 2.0"]||navigator.plugins["Shockwave Flash"]).description.replace(/\D+/g,",").match(/^,?(.+),?$/)[1])}catch(d){}}return a.split(",")};
|
96 |
+
u.l.Oc=function(a,c,d,e,g){a=u.l.lc(a,d,e,g);a=u.e("div",{innerHTML:a}).childNodes[0];d=c.parentNode;c.parentNode.replaceChild(a,c);var j=d.childNodes[0];setTimeout(function(){j.style.display="block"},1E3)};
|
97 |
+
u.l.lc=function(a,c,d,e){var g="",j="",k="";c&&u.i.ra(c,function(a,c){g+=a+"="+c+"&"});d=u.i.B({movie:a,flashvars:g,allowScriptAccess:"always",allowNetworking:"all"},d);u.i.ra(d,function(a,c){j+='<param name="'+a+'" value="'+c+'" />'});e=u.i.B({data:a,width:"100%",height:"100%"},e);u.i.ra(e,function(a,c){k+=a+'="'+c+'" '});return'<object type="application/x-shockwave-flash"'+k+">"+j+"</object>"};
|
98 |
+
u.Fc=u.c.extend({g:function(a,c,d){u.c.call(this,a,c,d);if(!a.f.sources||0===a.f.sources.length){c=0;for(d=a.f.techOrder;c<d.length;c++){var e=u.Z(d[c]),g=window.videojs[e];if(g&&g.isSupported()){H(a,e);break}}}else a.src(a.f.sources)}});function U(a){a.za=a.za||[];return a.za}function V(a,c,d){for(var e=a.za,g=0,j=e.length,k,q;g<j;g++)k=e[g],k.id()===c?(k.show(),q=k):d&&(k.K()==d&&0<k.mode())&&k.disable();(c=q?q.K():d?d:l)&&a.k(c+"trackchange")}
|
99 |
+
u.V=u.c.extend({g:function(a,c){u.c.call(this,a,c);this.O=c.id||"vjs_"+c.kind+"_"+c.language+"_"+u.u++;this.uc=c.src;this.Lc=c["default"]||c.dflt;this.nd=c.title;this.yd=c.srclang;this.Tc=c.label;this.ha=[];this.cc=[];this.ia=this.ja=0;this.a.d("fullscreenchange",u.bind(this,this.Gc))}});t=u.V.prototype;t.K=p("A");t.src=p("uc");t.ub=p("Lc");t.title=p("nd");t.label=p("Tc");t.readyState=p("ja");t.mode=p("ia");t.Gc=function(){this.b.style.fontSize=this.a.I?140*(screen.width/this.a.width())+"%":""};
|
100 |
+
t.e=function(){return u.c.prototype.e.call(this,"div",{className:"vjs-"+this.A+" vjs-text-track"})};t.show=function(){W(this);this.ia=2;u.c.prototype.show.call(this)};t.v=function(){W(this);this.ia=1;u.c.prototype.v.call(this)};t.disable=function(){2==this.ia&&this.v();this.a.t("timeupdate",u.bind(this,this.update,this.O));this.a.t("ended",u.bind(this,this.reset,this.O));this.reset();this.a.S.textTrackDisplay.removeChild(this);this.ia=0};
|
101 |
+
function W(a){0===a.ja&&a.load();0===a.ia&&(a.a.d("timeupdate",u.bind(a,a.update,a.O)),a.a.d("ended",u.bind(a,a.reset,a.O)),("captions"===a.A||"subtitles"===a.A)&&a.a.S.textTrackDisplay.Y(a))}t.load=function(){0===this.ja&&(this.ja=1,u.get(this.uc,u.bind(this,this.ad),u.bind(this,this.Gb)))};t.Gb=function(a){this.error=a;this.ja=3;this.k("error")};
|
102 |
+
t.ad=function(a){var c,d;a=a.split("\n");for(var e="",g=1,j=a.length;g<j;g++)if(e=u.trim(a[g])){-1==e.indexOf("--\x3e")?(c=e,e=u.trim(a[++g])):c=this.ha.length;c={id:c,index:this.ha.length};d=e.split(" --\x3e ");c.startTime=X(d[0]);c.sa=X(d[1]);for(d=[];a[++g]&&(e=u.trim(a[g]));)d.push(e);c.text=d.join("<br/>");this.ha.push(c)}this.ja=2;this.k("loaded")};
|
103 |
function X(a){var c=a.split(":");a=0;var d,e,g;3==c.length?(d=c[0],e=c[1],c=c[2]):(d=0,e=c[0],c=c[1]);c=c.split(/\s+/);c=c.splice(0,1)[0];c=c.split(/\.|,/);g=parseFloat(c[1]);c=c[0];a+=3600*parseFloat(d);a+=60*parseFloat(e);a+=parseFloat(c);g&&(a+=g/1E3);return a}
|
104 |
+
t.update=function(){if(0<this.ha.length){var a=this.a.currentTime();if(this.Lb===b||a<this.Lb||this.La<=a){var c=this.ha,d=this.a.duration(),e=0,g=l,j=[],k,q,n,s;a>=this.La||this.La===b?s=this.wb!==b?this.wb:0:(g=f,s=this.Db!==b?this.Db:c.length-1);for(;;){n=c[s];if(n.sa<=a)e=Math.max(e,n.sa),n.Ga&&(n.Ga=l);else if(a<n.startTime){if(d=Math.min(d,n.startTime),n.Ga&&(n.Ga=l),!g)break}else g?(j.splice(0,0,n),q===b&&(q=s),k=s):(j.push(n),k===b&&(k=s),q=s),d=Math.min(d,n.sa),e=Math.max(e,n.startTime),
|
105 |
+
n.Ga=f;if(g)if(0===s)break;else s--;else if(s===c.length-1)break;else s++}this.cc=j;this.La=d;this.Lb=e;this.wb=k;this.Db=q;a=this.cc;c="";d=0;for(e=a.length;d<e;d++)c+='<span class="vjs-tt-cue">'+a[d].text+"</span>";this.b.innerHTML=c;this.k("cuechange")}}};t.reset=function(){this.La=0;this.Lb=this.a.duration();this.Db=this.wb=0};u.Rb=u.V.extend();u.Rb.prototype.A="captions";u.Zb=u.V.extend();u.Zb.prototype.A="subtitles";u.Tb=u.V.extend();u.Tb.prototype.A="chapters";
|
106 |
+
u.$b=u.c.extend({g:function(a,c,d){u.c.call(this,a,c,d);if(a.f.tracks&&0<a.f.tracks.length){c=this.a;a=a.f.tracks;var e;for(d=0;d<a.length;d++){e=a[d];var g=c,j=e.kind,k=e.label,q=e.language,n=e;e=g.za=g.za||[];n=n||{};n.kind=j;n.label=k;n.language=q;j=u.Z(j||"subtitles");g=new window.videojs[j+"Track"](g,n);e.push(g)}}}});u.$b.prototype.e=function(){return u.c.prototype.e.call(this,"div",{className:"vjs-text-track-display"})};
|
107 |
+
u.X=u.L.extend({g:function(a,c){var d=this.ca=c.track;c.label=d.label();c.selected=d.ub();u.L.call(this,a,c);this.a.d(d.K()+"trackchange",u.bind(this,this.update))}});u.X.prototype.n=function(){u.L.prototype.n.call(this);V(this.a,this.ca.O,this.ca.K())};u.X.prototype.update=function(){this.selected(2==this.ca.mode())};u.cb=u.X.extend({g:function(a,c){c.track={K:function(){return c.kind},bd:a,label:function(){return c.kind+" off"},ub:r(l),mode:r(l)};u.X.call(this,a,c);this.selected(f)}});
|
108 |
+
u.cb.prototype.n=function(){u.X.prototype.n.call(this);V(this.a,this.ca.O,this.ca.K())};u.cb.prototype.update=function(){for(var a=U(this.a),c=0,d=a.length,e,g=f;c<d;c++)e=a[c],e.K()==this.ca.K()&&2==e.mode()&&(g=l);this.selected(g)};u.W=u.ea.extend({g:function(a,c){u.ea.call(this,a,c);1>=this.J.length&&this.v()}});u.W.prototype.sb=function(){var a=[],c;a.push(new u.cb(this.a,{kind:this.A}));for(var d=0;d<U(this.a).length;d++)c=U(this.a)[d],c.K()===this.A&&a.push(new u.X(this.a,{track:c}));return a};
|
109 |
+
u.Ca=u.W.extend({g:function(a,c,d){u.W.call(this,a,c,d);this.b.setAttribute("aria-label","Captions Menu")}});u.Ca.prototype.A="captions";u.Ca.prototype.oa="Captions";u.Ca.prototype.className="vjs-captions-button";u.Ea=u.W.extend({g:function(a,c,d){u.W.call(this,a,c,d);this.b.setAttribute("aria-label","Subtitles Menu")}});u.Ea.prototype.A="subtitles";u.Ea.prototype.oa="Subtitles";u.Ea.prototype.className="vjs-subtitles-button";
|
110 |
+
u.Sb=u.W.extend({g:function(a,c,d){u.W.call(this,a,c,d);this.b.setAttribute("aria-label","Chapters Menu")}});t=u.Sb.prototype;t.A="chapters";t.oa="Chapters";t.className="vjs-chapters-button";t.sb=function(){for(var a=[],c,d=0;d<U(this.a).length;d++)c=U(this.a)[d],c.K()===this.A&&a.push(new u.X(this.a,{track:c}));return a};
|
111 |
+
t.Ja=function(){for(var a=U(this.a),c=0,d=a.length,e,g,j=this.J=[];c<d;c++)if(e=a[c],e.K()==this.A&&e.ub()){if(2>e.readyState()){this.wd=e;e.d("loaded",u.bind(this,this.Ja));return}g=e;break}a=this.ua=new u.la(this.a);a.b.appendChild(u.e("li",{className:"vjs-menu-title",innerHTML:u.Z(this.A),md:-1}));if(g){e=g.ha;for(var k,c=0,d=e.length;c<d;c++)k=e[c],k=new u.Xa(this.a,{track:g,cue:k}),j.push(k),a.Y(k)}0<this.J.length&&this.show();return a};
|
112 |
+
u.Xa=u.L.extend({g:function(a,c){var d=this.ca=c.track,e=this.cue=c.cue,g=a.currentTime();c.label=e.text;c.selected=e.startTime<=g&&g<e.sa;u.L.call(this,a,c);d.d("cuechange",u.bind(this,this.update))}});u.Xa.prototype.n=function(){u.L.prototype.n.call(this);this.a.currentTime(this.cue.startTime);this.update(this.cue.startTime)};u.Xa.prototype.update=function(){var a=this.cue,c=this.a.currentTime();this.selected(a.startTime<=c&&c<a.sa)};
|
113 |
+
u.i.B(u.da.prototype.f.children,{subtitlesButton:{},captionsButton:{},chaptersButton:{}});
|
114 |
if("undefined"!==typeof window.JSON&&"function"===window.JSON.parse)u.JSON=window.JSON;else{u.JSON={};var Y=/[\u0000\u00ad\u0600-\u0604\u070f\u17b4\u17b5\u200c-\u200f\u2028-\u202f\u2060-\u206f\ufeff\ufff0-\uffff]/g;u.JSON.parse=function(a,c){function d(a,e){var k,q,n=a[e];if(n&&"object"===typeof n)for(k in n)Object.prototype.hasOwnProperty.call(n,k)&&(q=d(n,k),q!==b?n[k]=q:delete n[k]);return c.call(a,e,n)}var e;a=String(a);Y.lastIndex=0;Y.test(a)&&(a=a.replace(Y,function(a){return"\\u"+("0000"+a.charCodeAt(0).toString(16)).slice(-4)}));
|
115 |
if(/^[\],:{}\s]*$/.test(a.replace(/\\(?:["\\\/bfnrt]|u[0-9a-fA-F]{4})/g,"@").replace(/"[^"\\\n\r]*"|true|false|null|-?\d+(?:\.\d*)?(?:[eE][+\-]?\d+)?/g,"]").replace(/(?:^|:|,)(?:\s*\[)+/g,"")))return e=eval("("+a+")"),"function"===typeof c?d({"":e},""):e;throw new SyntaxError("JSON.parse(): invalid or malformed JSON data");}}
|
116 |
+
u.dc=function(){var a,c,d=document.getElementsByTagName("video");if(d&&0<d.length)for(var e=0,g=d.length;e<g;e++)if((c=d[e])&&c.getAttribute)c.player===b&&(a=c.getAttribute("data-setup"),a!==h&&(a=u.JSON.parse(a||"{}"),v(c,a)));else{u.lb();break}else u.rd||u.lb()};u.lb=function(){setTimeout(u.dc,1)};u.R(window,"load",function(){u.rd=f});u.lb();u.cd=function(a,c){u.C.prototype[a]=c};var Z=this;Z.sd=f;function $(a,c){var d=a.split("."),e=Z;!(d[0]in e)&&e.execScript&&e.execScript("var "+d[0]);for(var g;d.length&&(g=d.shift());)!d.length&&c!==b?e[g]=c:e=e[g]?e[g]:e[g]={}};$("videojs",u);$("_V_",u);$("videojs.options",u.options);$("videojs.players",u.va);$("videojs.cache",u.pa);$("videojs.Component",u.c);u.c.prototype.dispose=u.c.prototype.D;u.c.prototype.createEl=u.c.prototype.e;u.c.prototype.el=u.c.prototype.r;u.c.prototype.addChild=u.c.prototype.Y;u.c.prototype.children=u.c.prototype.children;u.c.prototype.on=u.c.prototype.d;u.c.prototype.off=u.c.prototype.t;u.c.prototype.one=u.c.prototype.R;u.c.prototype.trigger=u.c.prototype.k;u.c.prototype.triggerReady=u.c.prototype.Ta;
|
117 |
+
u.c.prototype.show=u.c.prototype.show;u.c.prototype.hide=u.c.prototype.v;u.c.prototype.width=u.c.prototype.width;u.c.prototype.height=u.c.prototype.height;u.c.prototype.dimensions=u.c.prototype.Mc;u.c.prototype.ready=u.c.prototype.P;u.c.prototype.fadeIn=u.c.prototype.$;u.c.prototype.fadeOut=u.c.prototype.ta;$("videojs.Player",u.C);u.C.prototype.dispose=u.C.prototype.D;u.C.prototype.requestFullScreen=u.C.prototype.wa;u.C.prototype.cancelFullScreen=u.C.prototype.pb;u.C.prototype.bufferedPercent=u.C.prototype.Ha;
|
118 |
+
$("videojs.MediaLoader",u.Fc);$("videojs.TextTrackDisplay",u.$b);$("videojs.ControlBar",u.da);$("videojs.Button",u.o);$("videojs.PlayToggle",u.Xb);$("videojs.FullscreenToggle",u.Da);$("videojs.BigPlayButton",u.Wa);$("videojs.LoadingSpinner",u.Vb);$("videojs.CurrentTimeDisplay",u.Ya);$("videojs.DurationDisplay",u.Za);$("videojs.TimeDivider",u.ac);$("videojs.RemainingTimeDisplay",u.gb);$("videojs.Slider",u.M);$("videojs.ProgressControl",u.fb);$("videojs.SeekBar",u.Yb);$("videojs.LoadProgressBar",u.bb);
|
119 |
+
$("videojs.PlayProgressBar",u.Wb);$("videojs.SeekHandle",u.hb);$("videojs.VolumeControl",u.jb);$("videojs.VolumeBar",u.ib);$("videojs.VolumeLevel",u.bc);$("videojs.VolumeHandle",u.kb);$("videojs.MuteToggle",u.fa);$("videojs.PosterImage",u.eb);$("videojs.Menu",u.la);$("videojs.MenuItem",u.L);$("videojs.SubtitlesButton",u.Ea);$("videojs.CaptionsButton",u.Ca);$("videojs.ChaptersButton",u.Sb);$("videojs.MediaTechController",u.q);u.q.prototype.features=u.q.prototype.j;u.q.prototype.j.volumeControl=u.q.prototype.j.U;
|
120 |
+
u.q.prototype.j.fullscreenResize=u.q.prototype.j.jc;u.q.prototype.j.progressEvents=u.q.prototype.j.Mb;u.q.prototype.j.timeupdateEvents=u.q.prototype.j.Pb;$("videojs.Html5",u.m);u.m.Events=u.m.$a;u.m.isSupported=u.m.isSupported;u.m.canPlaySource=u.m.nb;u.m.prototype.setCurrentTime=u.m.prototype.fd;u.m.prototype.setVolume=u.m.prototype.ld;u.m.prototype.setMuted=u.m.prototype.jd;u.m.prototype.setPreload=u.m.prototype.kd;u.m.prototype.setAutoplay=u.m.prototype.ed;u.m.prototype.setLoop=u.m.prototype.hd;
|
121 |
+
$("videojs.Flash",u.l);u.l.isSupported=u.l.isSupported;u.l.canPlaySource=u.l.nb;u.l.onReady=u.l.onReady;$("videojs.TextTrack",u.V);u.V.prototype.label=u.V.prototype.label;$("videojs.CaptionsTrack",u.Rb);$("videojs.SubtitlesTrack",u.Zb);$("videojs.ChaptersTrack",u.Tb);$("videojs.autoSetup",u.dc);$("videojs.plugin",u.cd);$("videojs.createTimeRange",u.tb);})();//@ sourceMappingURL=video.js.map
|