new Cb_video js Beta added
This commit is contained in:
parent
27015cc53c
commit
7ae1a5c1d4
72 changed files with 24985 additions and 0 deletions
49
upload/player/CB_video_js/cb_video_js.html
Executable file
49
upload/player/CB_video_js/cb_video_js.html
Executable file
|
@ -0,0 +1,49 @@
|
||||||
|
<link rel="stylesheet" href="{$cb_vjs_player_url}/css/video-js.css" />
|
||||||
|
<link href="{$cb_vjs_player_url}/css/cb_vjs_res.css" rel="stylesheet" type="text/css" />
|
||||||
|
<link href="{$cb_vjs_player_url}/fonts/myriad-set-pro.css" rel="stylesheet" type="text/css" />
|
||||||
|
|
||||||
|
<script src="{$cb_vjs_player_url}/js/video.dev.js"></script>
|
||||||
|
<script src="{$cb_vjs_player_url}/js/cb_vjs_res.js"></script>
|
||||||
|
|
||||||
|
|
||||||
|
<video id="cb_video_js" class="video-js vjs-default-skin" width="{$width}" height="{$height}" poster="{getThumb vdetails=$vdata}" >
|
||||||
|
{foreach $video_files as $file}
|
||||||
|
{$quality = explode('-', $file)}
|
||||||
|
{$quality = explode('.',$quality.1)}
|
||||||
|
{$quality = $quality.0}
|
||||||
|
<source src='{$file}' type="video/mp4" data-res="{$quality}" />
|
||||||
|
{/foreach}
|
||||||
|
<p class="vjs-no-js">To view this video please enable JavaScript, and consider upgrading to a web browser that <a href="http://videojs.com/html5-video-support/" target="_blank">supports HTML5 video</a></p>
|
||||||
|
</video>
|
||||||
|
|
||||||
|
<script type="text/javascript">
|
||||||
|
var videotitle = "{$vdata.title}";
|
||||||
|
var uploader = "{$vdata.username}";
|
||||||
|
var branding_logo = "{$cb_logo}";
|
||||||
|
var product_link = "{$player_config.player_logo_url}";
|
||||||
|
//NOTE : do not remove show_logo, otherwise player will not initiate !
|
||||||
|
var show_logo = true;
|
||||||
|
|
||||||
|
var cb_player_setup = {
|
||||||
|
plugins : { resolutionSelector : {
|
||||||
|
// Pass any options here
|
||||||
|
default_res : 'HD'
|
||||||
|
// Define an on.ready function
|
||||||
|
} },
|
||||||
|
"techOrder" : ['html5', 'flash'],
|
||||||
|
"controls": true,
|
||||||
|
"autoplay": false,
|
||||||
|
"preload": "auto",
|
||||||
|
"videotitle" : videotitle,
|
||||||
|
"uploader" : uploader,
|
||||||
|
"branding_logo" : branding_logo,
|
||||||
|
"show_logo" : show_logo,
|
||||||
|
"product_link" : product_link
|
||||||
|
};
|
||||||
|
//Initializing
|
||||||
|
var player = videojs('cb_video_js', cb_player_setup , function(){
|
||||||
|
var cb_video_js = this;
|
||||||
|
});
|
||||||
|
|
||||||
|
</script>
|
||||||
|
<script src="{$cb_vjs_player_url}/js/cb_vjs_custom.js"></script>
|
63
upload/player/CB_video_js/cb_video_js.php
Executable file
63
upload/player/CB_video_js/cb_video_js.php
Executable file
|
@ -0,0 +1,63 @@
|
||||||
|
<?php
|
||||||
|
/*
|
||||||
|
Player Name: cb video js 1.0
|
||||||
|
Description: New Official cb video js player
|
||||||
|
Author: Fahad Abbas
|
||||||
|
ClipBucket Version: 2.7
|
||||||
|
|
||||||
|
|
||||||
|
* @Author : Arslan Hassan
|
||||||
|
* @Script : ClipBucket v2
|
||||||
|
* @License : Attribution Assurance License -- http://www.opensource.org/licenses/attribution.php
|
||||||
|
* @Since : September 15 2009
|
||||||
|
|
||||||
|
*/
|
||||||
|
|
||||||
|
$cb_video_js = false;
|
||||||
|
|
||||||
|
|
||||||
|
if (!function_exists('cb_video_js'))
|
||||||
|
{
|
||||||
|
define("CB_VJS_PLAYER",basename(dirname(__FILE__)));
|
||||||
|
define("CB_VJS_PLAYER_DIR",PLAYER_DIR."/".CB_VJS_PLAYER);
|
||||||
|
define("CB_VJS_PLAYER_URL",PLAYER_URL."/".CB_VJS_PLAYER);
|
||||||
|
assign('cb_vjs_player_dir',CB_VJS_PLAYER_DIR);
|
||||||
|
assign('cb_vjs_player_url',CB_VJS_PLAYER_URL);
|
||||||
|
|
||||||
|
function cb_video_js($in)
|
||||||
|
{
|
||||||
|
global $cb_video_js;
|
||||||
|
$cb_video_js = true;
|
||||||
|
|
||||||
|
$vdetails = $in['vdetails'];
|
||||||
|
|
||||||
|
$video_play = get_video_files($vdetails,true,true);
|
||||||
|
|
||||||
|
if(!strstr($in['width'],"%"))
|
||||||
|
$in['width'] = $in['width'].'px';
|
||||||
|
if(!strstr($in['height'],"%"))
|
||||||
|
$in['height'] = $in['height'].'px';
|
||||||
|
|
||||||
|
|
||||||
|
assign('height',$in['height']);
|
||||||
|
assign('width',$in['width']);
|
||||||
|
assign('player_config',$in);
|
||||||
|
assign('vdata',$vdetails);
|
||||||
|
assign('cb_logo',cb_logo());
|
||||||
|
assign('video_files',$video_play);
|
||||||
|
Template(CB_VJS_PLAYER_DIR.'/cb_video_js.html',false);
|
||||||
|
return true;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
function cb_logo()
|
||||||
|
{
|
||||||
|
$l_details = BASEURL.'/images/icons/country/hp-cb.png';
|
||||||
|
$l_convert = base64_encode(file_get_contents($l_details));
|
||||||
|
return $l_convert;
|
||||||
|
}
|
||||||
|
|
||||||
|
register_actions_play_video('cb_video_js');
|
||||||
|
}
|
||||||
|
|
||||||
|
?>
|
30
upload/player/CB_video_js/css/cb_vjs_res.css
Executable file
30
upload/player/CB_video_js/css/cb_vjs_res.css
Executable file
|
@ -0,0 +1,30 @@
|
||||||
|
@charset "utf-8";
|
||||||
|
/*
|
||||||
|
You are free to style the button however you wish. I plan to use
|
||||||
|
an icon from my site's own icon font to make it more visible. These
|
||||||
|
are just basic styles to make it look ok with plain text.
|
||||||
|
*/
|
||||||
|
|
||||||
|
/* Position the button */
|
||||||
|
.vjs-res-button {
|
||||||
|
float: right;
|
||||||
|
line-height: 2em;
|
||||||
|
margin-right:13px !important;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Don't show hover effects on title */
|
||||||
|
ul li.vjs-menu-title.vjs-res-menu-title:hover {
|
||||||
|
cursor: default;
|
||||||
|
background-color: transparent;
|
||||||
|
color: #CCC;
|
||||||
|
-moz-box-shadow: none;
|
||||||
|
-webkit-box-shadow: none;
|
||||||
|
box-shadow: none;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Needed to keep text visible in video.js 4.9 */
|
||||||
|
/*.vjs-res-button .vjs-control-text {
|
||||||
|
width: auto;
|
||||||
|
height: auto;
|
||||||
|
clip: auto;
|
||||||
|
}*/
|
30
upload/player/CB_video_js/css/font/cb_vjs_res.css
Executable file
30
upload/player/CB_video_js/css/font/cb_vjs_res.css
Executable file
|
@ -0,0 +1,30 @@
|
||||||
|
@charset "utf-8";
|
||||||
|
/*
|
||||||
|
You are free to style the button however you wish. I plan to use
|
||||||
|
an icon from my site's own icon font to make it more visible. These
|
||||||
|
are just basic styles to make it look ok with plain text.
|
||||||
|
*/
|
||||||
|
|
||||||
|
/* Position the button */
|
||||||
|
.vjs-res-button {
|
||||||
|
float: right;
|
||||||
|
line-height: 2em;
|
||||||
|
margin-right:4px !important;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Don't show hover effects on title */
|
||||||
|
ul li.vjs-menu-title.vjs-res-menu-title:hover {
|
||||||
|
cursor: default;
|
||||||
|
background-color: transparent;
|
||||||
|
color: #CCC;
|
||||||
|
-moz-box-shadow: none;
|
||||||
|
-webkit-box-shadow: none;
|
||||||
|
box-shadow: none;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Needed to keep text visible in video.js 4.9 */
|
||||||
|
/*.vjs-res-button .vjs-control-text {
|
||||||
|
width: auto;
|
||||||
|
height: auto;
|
||||||
|
clip: auto;
|
||||||
|
}*/
|
BIN
upload/player/CB_video_js/css/font/vjs.eot
Executable file
BIN
upload/player/CB_video_js/css/font/vjs.eot
Executable file
Binary file not shown.
28
upload/player/CB_video_js/css/font/vjs.svg
Executable file
28
upload/player/CB_video_js/css/font/vjs.svg
Executable file
|
@ -0,0 +1,28 @@
|
||||||
|
<?xml version="1.0" standalone="no"?>
|
||||||
|
<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd" >
|
||||||
|
<svg xmlns="http://www.w3.org/2000/svg">
|
||||||
|
<metadata>Generated by IcoMoon</metadata>
|
||||||
|
<defs>
|
||||||
|
<font id="icomoon" horiz-adv-x="1024">
|
||||||
|
<font-face units-per-em="1024" ascent="960" descent="-64" />
|
||||||
|
<missing-glyph horiz-adv-x="1024" />
|
||||||
|
<glyph unicode=" " d="" horiz-adv-x="512" />
|
||||||
|
<glyph unicode="" d="M1024 960v-416l-160 160-192-192-96 96 192 192-160 160zM448 288l-192-192 160-160h-416v416l160-160 192 192z" />
|
||||||
|
<glyph unicode="" d="M192 832l640-384-640-384z" />
|
||||||
|
<glyph unicode="" d="M128 832h320v-768h-320zM576 832h320v-768h-320z" />
|
||||||
|
<glyph unicode="" d="M401.332 881.332c25.668 25.668 46.668 16.968 46.668-19.332v-828c0-36.3-21-44.998-46.668-19.33l-241.332 241.33h-160v384h160l241.332 241.332z" />
|
||||||
|
<glyph unicode="" d="M549.020 218.98c-12.286 0-24.568 4.686-33.942 14.058-18.746 18.746-18.746 49.136 0 67.882 81.1 81.1 81.1 213.058 0 294.156-18.746 18.746-18.746 49.138 0 67.882 18.746 18.744 49.136 18.744 67.882 0 118.53-118.53 118.53-311.392 0-429.922-9.372-9.37-21.656-14.056-33.94-14.056zM401.332 881.332c25.668 25.668 46.668 16.968 46.668-19.332v-828c0-36.3-21-44.998-46.668-19.33l-241.332 241.33h-160v384h160l241.332 241.332z" />
|
||||||
|
<glyph unicode="" d="M719.53 128.47c-12.286 0-24.568 4.686-33.942 14.058-18.744 18.744-18.744 49.136 0 67.882 131.006 131.006 131.006 344.17 0 475.176-18.744 18.746-18.744 49.138 0 67.882 18.744 18.742 49.138 18.744 67.882 0 81.594-81.592 126.53-190.076 126.53-305.468 0-115.39-44.936-223.876-126.53-305.47-9.372-9.374-21.656-14.060-33.94-14.060zM549.020 218.98c-12.286 0-24.568 4.686-33.942 14.058-18.746 18.746-18.746 49.136 0 67.882 81.1 81.1 81.1 213.058 0 294.156-18.746 18.746-18.746 49.138 0 67.882 18.746 18.744 49.136 18.744 67.882 0 118.53-118.53 118.53-311.392 0-429.922-9.372-9.37-21.656-14.056-33.94-14.056zM401.332 881.332c25.668 25.668 46.668 16.968 46.668-19.332v-828c0-36.3-21-44.998-46.668-19.33l-241.332 241.33h-160v384h160l241.332 241.332z" />
|
||||||
|
<glyph unicode="" d="M890.040 37.96c-12.286 0-24.568 4.686-33.942 14.058-18.744 18.746-18.744 49.136 0 67.882 87.638 87.642 135.904 204.16 135.904 328.1 0 123.938-48.266 240.458-135.904 328.098-18.744 18.746-18.744 49.138 0 67.882 18.744 18.744 49.138 18.744 67.882 0 105.77-105.772 164.022-246.4 164.022-395.98 0-149.582-58.252-290.208-164.022-395.98-9.372-9.374-21.656-14.060-33.94-14.060zM719.53 128.47c-12.286 0-24.568 4.686-33.942 14.058-18.744 18.744-18.744 49.136 0 67.882 131.006 131.006 131.006 344.17 0 475.176-18.744 18.746-18.744 49.138 0 67.882 18.744 18.742 49.138 18.744 67.882 0 81.594-81.592 126.53-190.076 126.53-305.468 0-115.39-44.936-223.876-126.53-305.47-9.372-9.374-21.656-14.060-33.94-14.060zM549.020 218.98c-12.286 0-24.568 4.686-33.942 14.058-18.746 18.746-18.746 49.136 0 67.882 81.1 81.1 81.1 213.058 0 294.156-18.746 18.746-18.746 49.138 0 67.882 18.746 18.744 49.136 18.744 67.882 0 118.53-118.53 118.53-311.392 0-429.922-9.372-9.37-21.656-14.056-33.94-14.056zM401.332 881.332c25.668 25.668 46.668 16.968 46.668-19.332v-828c0-36.3-21-44.998-46.668-19.33l-241.332 241.33h-160v384h160l241.332 241.332z" horiz-adv-x="1088" />
|
||||||
|
<glyph unicode="" d="M512 960l-320-512 320-512 320 512z" />
|
||||||
|
<glyph unicode="" d="M0 960h1374.316v-1030.414h-1374.316v1030.414zM1245.462 449.276c-1.706 180.052-8.542 258.568-51.2 314.036-7.68 11.946-22.186 18.772-34.132 27.296-41.814 30.73-238.944 41.814-467.636 41.814-228.702 0-435.21-11.084-476.17-41.814-12.8-8.524-27.316-15.35-35.84-27.296-41.822-55.468-47.786-133.984-50.346-314.036 2.56-180.062 8.524-258.57 50.346-314.036 8.524-12.8 23.040-18.774 35.84-27.306 40.96-31.574 247.468-41.814 476.17-43.52 228.692 1.706 425.822 11.946 467.636 43.52 11.946 8.532 26.452 14.506 34.132 27.306 42.658 55.466 49.494 133.974 51.2 314.036zM662.358 495.904c-11.58 140.898-86.51 223.906-220.556 223.906-122.458 0-218.722-110.432-218.722-287.88 0-178.212 87.73-289.396 232.734-289.396 115.766 0 196.798 85.298 209.588 226.95h-138.302c-5.48-52.548-27.414-92.914-73.72-92.914-73.108 0-86.51 72.354-86.51 149.27 0 105.868 30.46 159.932 81.032 159.932 45.082 0 73.718-32.75 77.976-89.868h136.48zM1140.026 495.904c-11.57 140.898-86.51 223.906-220.546 223.906-122.466 0-218.722-110.432-218.722-287.88 0-178.212 87.73-289.396 232.734-289.396 115.758 0 196.788 85.298 209.58 226.95h-138.304c-5.47-52.548-27.404-92.914-73.71-92.914-73.116 0-86.518 72.354-86.518 149.27 0 105.868 30.468 159.932 81.030 159.932 45.084 0 73.728-32.75 77.986-89.868h136.47z" horiz-adv-x="1374" />
|
||||||
|
<glyph unicode="" d="M128 832h768v-768h-768z" />
|
||||||
|
<glyph unicode="" d="M384 832c0-70.692 57.308-128 128-128s128 57.308 128 128c0 70.692-57.308 128-128 128-70.692 0-128-57.308-128-128zM655.53 719.53c0-70.692 57.308-128 128-128s128 57.308 128 128c0 70.692-57.308 128-128 128-70.692 0-128-57.308-128-128zM832 448c0-35.346 28.654-64 64-64s64 28.654 64 64c0 35.346-28.654 64-64 64-35.346 0-64-28.654-64-64zM719.53 176.47c0-35.346 28.654-64 64-64s64 28.654 64 64c0 35.346-28.654 64-64 64-35.346 0-64-28.654-64-64zM448.002 64c0 0 0 0 0 0 0-35.346 28.654-64 64-64 35.346 0 64 28.654 64 64 0 0 0 0 0 0 0 0 0 0 0 0 0 35.346-28.654 64-64 64-35.346 0-64-28.654-64-64s0 0 0 0zM176.472 176.47c0 0 0 0 0 0 0-35.346 28.654-64 64-64 35.346 0 64 28.654 64 64 0 0 0 0 0 0 0 0 0 0 0 0 0 35.346-28.654 64-64 64-35.346 0-64-28.654-64-64s0 0 0 0zM144.472 719.53c0 0 0 0 0 0 0-53.019 42.981-96 96-96 53.019 0 96 42.981 96 96 0 0 0 0 0 0 0 0 0 0 0 0 0 53.019-42.981 96-96 96-53.019 0-96-42.981-96-96s0 0 0 0zM56 448c0-39.765 32.235-72 72-72s72 32.235 72 72c0 39.765-32.235 72-72 72-39.765 0-72-32.235-72-72z" />
|
||||||
|
<glyph unicode="" d="M448 384v-416l-160 160-192-192-96 96 192 192-160 160zM1024 864l-192-192 160-160h-416v416l160-160 192 192z" />
|
||||||
|
<glyph unicode="" d="M512 896c282.77 0 512-186.25 512-416 0-229.752-229.23-416-512-416-27.156 0-53.81 1.734-79.824 5.044-109.978-109.978-241.25-129.7-368.176-132.596v26.916c68.536 33.578 128 94.74 128 164.636 0 9.754-0.758 19.33-2.164 28.696-115.796 76.264-189.836 192.754-189.836 323.304 0 229.75 229.23 416 512 416z" />
|
||||||
|
<glyph unicode="" d="M512 960c-282.77 0-512-229.23-512-512s229.23-512 512-512 512 229.23 512 512-229.23 512-512 512zM512 704c141.384 0 256-114.616 256-256s-114.616-256-256-256-256 114.616-256 256 114.616 256 256 256zM817.47 142.53c-81.594-81.594-190.080-126.53-305.47-126.53-115.392 0-223.876 44.936-305.47 126.53-81.594 81.594-126.53 190.078-126.53 305.47 0 115.39 44.936 223.876 126.53 305.47l67.882-67.882c0 0 0 0 0 0-131.006-131.006-131.006-344.17 0-475.176 63.462-63.462 147.838-98.412 237.588-98.412 89.748 0 174.124 34.95 237.588 98.412 131.006 131.006 131.006 344.168 0 475.176l67.882 67.882c81.594-81.594 126.53-190.080 126.53-305.47 0-115.392-44.936-223.876-126.53-305.47z" />
|
||||||
|
<glyph unicode="" d="M864 256c-45.16 0-85.92-18.738-115.012-48.83l-431.004 215.502c1.314 8.252 2.016 16.706 2.016 25.328s-0.702 17.076-2.016 25.326l431.004 215.502c29.092-30.090 69.852-48.828 115.012-48.828 88.366 0 160 71.634 160 160s-71.634 160-160 160-160-71.634-160-160c0-8.622 0.704-17.076 2.016-25.326l-431.004-215.504c-29.092 30.090-69.852 48.83-115.012 48.83-88.366 0-160-71.636-160-160 0-88.368 71.634-160 160-160 45.16 0 85.92 18.738 115.012 48.828l431.004-215.502c-1.312-8.25-2.016-16.704-2.016-25.326 0-88.368 71.634-160 160-160s160 71.632 160 160c0 88.364-71.634 160-160 160z" />
|
||||||
|
<glyph unicode="" d="M1024 448c-1.278 66.862-15.784 133.516-42.576 194.462-26.704 61-65.462 116.258-113.042 161.92-47.552 45.696-103.944 81.82-164.984 105.652-61.004 23.924-126.596 35.352-191.398 33.966-64.81-1.282-129.332-15.374-188.334-41.356-59.048-25.896-112.542-63.47-156.734-109.576-44.224-46.082-79.16-100.708-102.186-159.798-23.114-59.062-34.128-122.52-32.746-185.27 1.286-62.76 14.964-125.148 40.134-182.206 25.088-57.1 61.476-108.828 106.11-151.548 44.61-42.754 97.472-76.504 154.614-98.72 57.118-22.304 118.446-32.902 179.142-31.526 60.708 1.29 120.962 14.554 176.076 38.914 55.15 24.282 105.116 59.48 146.366 102.644 41.282 43.14 73.844 94.236 95.254 149.43 13.034 33.458 21.88 68.4 26.542 103.798 1.246-0.072 2.498-0.12 3.762-0.12 35.346 0 64 28.652 64 64 0 1.796-0.094 3.572-0.238 5.332h0.238zM922.306 278.052c-23.472-53.202-57.484-101.4-99.178-141.18-41.67-39.81-91-71.186-144.244-91.79-53.228-20.678-110.29-30.452-166.884-29.082-56.604 1.298-112.596 13.736-163.82 36.474-51.25 22.666-97.684 55.49-135.994 95.712-38.338 40.198-68.528 87.764-88.322 139.058-19.87 51.284-29.228 106.214-27.864 160.756 1.302 54.552 13.328 108.412 35.254 157.69 21.858 49.3 53.498 93.97 92.246 130.81 38.73 36.868 84.53 65.87 133.874 84.856 49.338 19.060 102.136 28.006 154.626 26.644 52.5-1.306 104.228-12.918 151.562-34.034 47.352-21.050 90.256-51.502 125.624-88.782 35.396-37.258 63.21-81.294 81.39-128.688 18.248-47.392 26.782-98.058 25.424-148.496h0.238c-0.144-1.76-0.238-3.536-0.238-5.332 0-33.012 24.992-60.174 57.086-63.624-6.224-34.822-16.53-68.818-30.78-100.992z" />
|
||||||
|
<glyph unicode="" d="M512 960c-278.748 0-505.458-222.762-511.848-499.974 5.92 241.864 189.832 435.974 415.848 435.974 229.75 0 416-200.576 416-448 0-53.020 42.98-96 96-96 53.020 0 96 42.98 96 96 0 282.77-229.23 512-512 512zM512-64c278.748 0 505.458 222.762 511.848 499.974-5.92-241.864-189.832-435.974-415.848-435.974-229.75 0-416 200.576-416 448 0 53.020-42.98 96-96 96-53.020 0-96-42.98-96-96 0-282.77 229.23-512 512-512z" />
|
||||||
|
<glyph unicode="" d="M1024 351.906v192.188l-146.774 24.462c-5.958 18.132-13.222 35.668-21.694 52.5l86.454 121.034-135.896 135.898-120.826-86.304c-16.91 8.554-34.538 15.888-52.768 21.902l-24.402 146.414h-192.188l-24.402-146.416c-18.23-6.014-35.858-13.348-52.766-21.902l-120.828 86.304-135.898-135.898 86.454-121.036c-8.47-16.83-15.734-34.366-21.692-52.498l-146.774-24.46v-192.188l147.118-24.52c5.96-17.968 13.21-35.348 21.642-52.030l-86.748-121.448 135.898-135.896 121.654 86.894c16.602-8.35 33.89-15.528 51.764-21.434l24.578-147.472h192.188l24.578 147.474c17.874 5.906 35.162 13.084 51.766 21.432l121.652-86.892 135.896 135.896-86.744 121.446c8.432 16.682 15.678 34.062 21.64 52.032l147.118 24.518zM512 320c-70.692 0-128 57.306-128 128 0 70.692 57.308 128 128 128 70.694 0 128-57.308 128-128 0-70.694-57.306-128-128-128z" />
|
||||||
|
</font></defs></svg>
|
After Width: | Height: | Size: 10 KiB |
BIN
upload/player/CB_video_js/css/font/vjs.ttf
Executable file
BIN
upload/player/CB_video_js/css/font/vjs.ttf
Executable file
Binary file not shown.
BIN
upload/player/CB_video_js/css/font/vjs.woff
Executable file
BIN
upload/player/CB_video_js/css/font/vjs.woff
Executable file
Binary file not shown.
5
upload/player/CB_video_js/css/video-js.css
Executable file
5
upload/player/CB_video_js/css/video-js.css
Executable file
File diff suppressed because one or more lines are too long
5
upload/player/CB_video_js/css/video-js.min.css
vendored
Executable file
5
upload/player/CB_video_js/css/video-js.min.css
vendored
Executable file
File diff suppressed because one or more lines are too long
BIN
upload/player/CB_video_js/dfdfdfdfd.swf
Executable file
BIN
upload/player/CB_video_js/dfdfdfdfd.swf
Executable file
Binary file not shown.
BIN
upload/player/CB_video_js/fonts/icomoon.eot
Executable file
BIN
upload/player/CB_video_js/fonts/icomoon.eot
Executable file
Binary file not shown.
30
upload/player/CB_video_js/fonts/icomoon.svg
Executable file
30
upload/player/CB_video_js/fonts/icomoon.svg
Executable file
|
@ -0,0 +1,30 @@
|
||||||
|
<?xml version="1.0" standalone="no"?>
|
||||||
|
<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd" >
|
||||||
|
<svg xmlns="http://www.w3.org/2000/svg">
|
||||||
|
<metadata>Generated by IcoMoon</metadata>
|
||||||
|
<defs>
|
||||||
|
<font id="icomoon" horiz-adv-x="1024">
|
||||||
|
<font-face units-per-em="1024" ascent="960" descent="-64" />
|
||||||
|
<missing-glyph horiz-adv-x="1024" />
|
||||||
|
<glyph unicode=" " horiz-adv-x="512" d="" />
|
||||||
|
<glyph unicode="" glyph-name="cb" horiz-adv-x="1820" d="M1382.4 612.978c-11.378 45.511-51.2 56.889-108.089 39.822-28.444-5.689-45.511-11.378-51.2-17.067l34.133-130.844 39.822 11.378c68.267 17.067 96.711 56.889 85.333 96.711zM1814.756 243.2l-164.978 637.156c-17.067 56.889-73.956 91.022-130.844 73.956l-631.467-170.667c-5.689 0-11.378-5.689-17.067-5.689l-28.444 102.4c-17.067 56.889-73.956 91.022-130.844 73.956l-631.467-170.667c-56.889-17.067-91.022-73.956-73.956-130.844l170.667-637.156c17.067-56.889 73.956-91.022 130.844-73.956l631.467 170.667c5.689 0 11.378 5.689 17.067 5.689l28.444-102.4c17.067-56.889 73.956-91.022 130.844-73.956l631.467 170.667c51.2 11.378 85.333 73.956 68.267 130.844zM625.778 180.622c-193.422-51.2-329.956 39.822-369.778 204.8-51.2 193.422 56.889 341.333 227.556 386.844 68.267 17.067 119.467 17.067 147.911 11.378v-108.089c-28.444 5.689-68.267 5.689-113.778-5.689-102.4-28.444-164.978-113.778-130.844-238.933 28.444-113.778 113.778-170.667 227.556-136.533 39.822 11.378 79.644 28.444 102.4 45.511l45.511-96.711c-17.067-17.067-68.267-45.511-136.533-62.578zM1570.133 271.644c-34.133-45.511-96.711-79.644-210.489-113.778-62.578-17.067-108.089-22.756-142.222-28.444l-147.911 557.511c34.133 17.067 96.711 39.822 159.289 56.889 79.644 22.756 125.156 28.444 176.356 11.378 45.511-11.378 85.333-39.822 96.711-91.022s-5.689-108.089-62.578-147.911v0c68.267 0 130.844-34.133 147.911-108.089 22.756-51.2 5.689-102.4-17.067-136.533zM1325.511 425.244l-45.511-11.378 39.822-159.289c11.378 0 28.444 5.689 51.2 11.378 56.889 17.067 102.4 51.2 85.333 113.778-11.378 51.2-68.267 62.578-130.844 45.511z" />
|
||||||
|
<glyph unicode="" glyph-name="togglescreen" horiz-adv-x="1243" d="M1028.827 947.127h-801.207c-110.665 0-200.338-89.673-200.338-200.119v-550.327c0-110.592 89.673-200.119 200.338-200.119h801.28c110.592 0 200.265 89.6 200.265 200.119v550.327c0 110.519-89.746 200.119-200.338 200.119zM1097.143 155.429h-950.857v658.286h950.857v-658.286z" />
|
||||||
|
<glyph unicode="" glyph-name="fullscreen" horiz-adv-x="1205" d="M0 598.588h120.471v180.706h180.706v120.471h-301.176v-301.176zM1084.235 604.612h120.471v295.153h-301.176v-120.471h180.706v-174.682zM1084.235 237.176v-180.706h-180.706v-120.471h301.176v301.176h-120.471zM120.471 237.176h-120.471v-301.176h301.176v120.471h-180.706v180.706z" />
|
||||||
|
<glyph unicode="" glyph-name="hd" horiz-adv-x="1877" d="M708.267 524.8h-409.6l59.733 435.2h-196.267l-153.6-1006.933h204.8l59.733 418.133h409.6l-59.733-418.133h204.8l145.067 1006.933h-204.8l-59.733-435.2zM1792 840.533c-68.267 76.8-162.133 119.467-281.6 119.467h-349.867l-153.6-1006.933h349.867c128 0 230.4 34.133 324.267 110.933s145.067 179.2 162.133 307.2l25.6 170.667c17.067 119.467-8.533 221.867-76.8 298.667zM1664 541.867l-25.6-170.667c-8.533-76.8-42.667-136.533-93.867-187.733s-102.4-76.8-170.667-76.8h-153.6l102.4 699.733h153.6c68.267 0 119.467-25.6 153.6-68.267 42.667-51.2 51.2-119.467 34.133-196.267z" />
|
||||||
|
<glyph unicode="" glyph-name="pause" horiz-adv-x="751" d="M0-64h273.067v1024h-273.067v-1024zM477.867 960v-1024h273.067v1024h-273.067z" />
|
||||||
|
<glyph unicode="" glyph-name="pause-big" d="M512 960c-282.867 0-512-229.133-512-512s229.133-512 512-512c282.867 0 512 229.133 512 512s-229.133 512-512 512zM512 81.996c-201.758 0-364.99 163.232-364.99 364.99s163.232 364.99 364.99 364.99c201.758 0 364.99-163.232 364.99-364.99 1.014-200.745-162.218-364.99-364.99-364.99zM547.485 209.743h152.079v476.515h-152.079v-476.515zM324.436 209.743h152.079v476.515h-152.079v-476.515z" />
|
||||||
|
<glyph unicode="" glyph-name="play" horiz-adv-x="956" d="M0 960v-1024l955.733 512z" />
|
||||||
|
<glyph unicode="" glyph-name="play-big" d="M378.88 263.68l327.68 189.44-327.68 189.44v-378.88zM512 960c-282.624 0-512-229.376-512-512s229.376-512 512-512 512 229.376 512 512c0 282.624-229.376 512-512 512zM512 32.256c-229.376 0-415.744 186.368-415.744 415.744s186.368 415.744 415.744 415.744c229.376 0 415.744-186.368 415.744-415.744s-186.368-415.744-415.744-415.744z" />
|
||||||
|
<glyph unicode="" glyph-name="volume1" horiz-adv-x="1152" d="M550.4 902.4l-364.8-256h-185.6v-396.8h185.6l358.4-249.6c0 0 64-51.2 64 0s0 851.2 0 896c0 44.8-57.6 6.4-57.6 6.4zM806.4 723.2c-19.2 19.2-51.2 19.2-70.4 0s-19.2-44.8 0-64c70.4-57.6 96-134.4 96-211.2s-32-153.6-89.6-211.2c-19.2-19.2-19.2-44.8 0-64 6.4-6.4 19.2-12.8 32-12.8s25.6 6.4 32 12.8c76.8 76.8 121.6 172.8 121.6 275.2s-38.4 198.4-121.6 275.2zM940.8 864c-19.2 19.2-51.2 19.2-70.4 0s-19.2-44.8 0-64c102.4-96 153.6-224 153.6-352s-51.2-256-153.6-352v-64c6.4-6.4 19.2-12.8 32-12.8s25.6 6.4 32 12.8c121.6 115.2 185.6 268.8 185.6 416 0 153.6-57.6 300.8-179.2 416z" />
|
||||||
|
<glyph unicode="" glyph-name="volume2" horiz-adv-x="960" d="M550.4 902.4l-364.8-256h-185.6v-396.8h185.6l358.4-249.6c0 0 64-51.2 64 0s0 851.2 0 896c0 44.8-57.6 6.4-57.6 6.4zM806.4 723.2c-19.2 19.2-51.2 19.2-70.4 0s-19.2-44.8 0-64c70.4-57.6 96-134.4 96-211.2s-32-153.6-89.6-211.2c-19.2-19.2-19.2-44.8 0-64 6.4-6.4 19.2-12.8 32-12.8s25.6 6.4 32 12.8c76.8 76.8 121.6 172.8 121.6 275.2s-38.4 198.4-121.6 275.2z" />
|
||||||
|
<glyph unicode="" glyph-name="volume3" horiz-adv-x="640" d="M550.4 902.4l-364.8-256h-185.6v-396.8h185.6l358.4-249.6c0 0 64-51.2 64 0s0 851.2 0 896c0 44.8-57.6 6.4-57.6 6.4z" />
|
||||||
|
<glyph unicode="" glyph-name="pause2" horiz-adv-x="768" d="M619.52 960c-128 0-148.48-71.68-148.48-117.76v-788.48c0-46.080 20.48-117.76 148.48-117.76s148.48 71.68 148.48 117.76v788.48c0 46.080-20.48 117.76-148.48 117.76zM711.68 53.76c0-20.48 0-61.44-92.16-61.44s-92.16 46.080-92.16 61.44v788.48c0 20.48 0 61.44 92.16 61.44s92.16-46.080 92.16-61.44v-788.48zM148.48 960c-128 0-148.48-71.68-148.48-117.76v-788.48c0-46.080 20.48-117.76 148.48-117.76s148.48 71.68 148.48 117.76v788.48c0 46.080-20.48 117.76-148.48 117.76zM240.64 53.76c0-20.48 0-61.44-92.16-61.44s-92.16 46.080-92.16 61.44v788.48c0 20.48 0 61.44 92.16 61.44s92.16-46.080 92.16-61.44v-788.48z" />
|
||||||
|
<glyph unicode="" glyph-name="pause3" d="M512 959.913c-282.257 0-511.913-229.656-511.913-511.913 0-282.267 229.656-511.913 511.913-511.913s511.913 229.646 511.913 511.913c0 282.257-229.656 511.913-511.913 511.913zM512-6.154c-250.426 0-454.163 203.728-454.163 454.154s203.737 454.154 454.163 454.154c250.416 0 454.163-203.728 454.163-454.154s-203.747-454.154-454.163-454.154zM667.097 641.633h-49.171c-35.019 0-63.546-28.498-63.546-63.546v-260.202c0-35.029 28.498-63.536 63.546-63.536h49.113c35.019 0 63.546 28.488 63.585 63.536v260.202c0 35.048-28.498 63.546-63.527 63.546zM687.935 317.884c0-11.515-9.361-20.886-20.866-20.886h-49.133c-11.515 0-20.886 9.371-20.886 20.886v260.202c0 11.515 9.371 20.886 20.886 20.886h49.162c11.525 0 20.866-9.371 20.866-20.886l-0.029-260.202zM415.734 641.633h-49.162c-35.038 0-63.546-28.498-63.546-63.546v-260.202c0-35.029 28.498-63.536 63.546-63.536h49.162c35.048 0 63.536 28.508 63.536 63.536v260.202c0 35.048-28.488 63.546-63.536 63.546zM436.62 317.884c0-11.515-9.371-20.886-20.886-20.886h-49.162c-11.515 0-20.876 9.371-20.876 20.886v260.202c0 11.515 9.361 20.886 20.876 20.886h49.162c11.515 0 20.886-9.371 20.886-20.886v-260.202z" />
|
||||||
|
<glyph unicode="" glyph-name="play2" d="M512 950.689c-277.182 0-502.689-225.508-502.689-502.689 0-277.163 225.508-502.689 502.689-502.689s502.689 225.517 502.689 502.689c0 277.182-225.508 502.689-502.689 502.689zM512 4.94c-244.309 0-443.070 198.732-443.070 443.060 0 244.319 198.76 443.079 443.070 443.079 244.328 0 443.079-198.77 443.079-443.079 0-244.328-198.751-443.060-443.079-443.060zM737.726 473.818l-314.643 181.656c-9.216 5.329-20.584 5.329-29.8 0-9.216-5.319-14.905-15.161-14.905-25.818v-363.302c0-10.667 5.689-20.489 14.905-25.818 4.608-2.664 9.747-4.001 14.895-4.001s10.287 1.337 14.905 4.001l314.643 181.656c9.216 5.319 14.886 15.151 14.886 25.809 0 10.667-5.679 20.499-14.886 25.818zM437.988 317.971v260.068l225.233-130.039-225.233-130.029z" />
|
||||||
|
<glyph unicode="" glyph-name="play22" d="M930.355 520.038l-746.394 428.339c-27.136 15.565-60.928 16.026-88.422 1.075-27.546-14.899-44.544-42.854-44.544-73.114v-856.73c0-30.31 17.050-58.214 44.544-73.114 13.414-7.322 28.314-10.906 43.264-10.906 15.667 0 31.283 3.942 45.158 11.93l746.342 428.39c26.47 15.155 42.65 42.496 42.65 71.987s-16.128 56.934-42.598 72.141zM739.686 397.466l-497.562-299.725c-9.267-5.581-19.661-8.346-30.106-8.346-9.933 0-19.866 2.56-28.826 7.578-18.33 10.445-29.696 30.003-29.696 51.149v599.501c0 21.197 11.366 40.755 29.696 51.149 18.33 10.445 40.858 10.138 58.982-0.768l497.562-299.725c17.664-10.598 28.416-29.747 28.416-50.381s-10.803-39.782-28.467-50.432z" />
|
||||||
|
<glyph unicode="" glyph-name="volume12" d="M658.286 960.098c-12.093 0-23.113-4.827-31.061-12.532l-294.229-286.184h-245.126c-48.469 0-87.723-38.229-87.723-85.382v-256c0-47.153 39.302-85.382 87.723-85.382h245.126l294.229-286.184c7.948-7.704 18.968-12.532 31.061-12.532 24.186 0 43.886 19.115 43.886 42.667v938.862c0 23.552-19.7 42.667-43.886 42.667zM614.4 81.603l-232.204 225.865c-7.948 7.704-18.92 12.532-31.013 12.532h-263.314v256h263.266c12.142 0 23.113 4.827 31.013 12.581l232.253 225.865v-732.843zM970.362 608.573c-12.678 30.525-25.502 53.394-34.475 66.609-9.46 13.946-29.062 17.944-43.691 8.972s-18.968-27.648-9.411-41.643c6.875-10.142 17.749-29.598 28.77-56.125 18.432-44.227 29.452-91.136 29.452-138.386s-11.020-94.159-29.452-138.435c-11.020-26.526-21.894-45.934-28.77-56.076-9.509-13.946-5.218-32.573 9.411-41.643s34.231-5.022 43.691 8.972c8.972 13.214 21.797 36.084 34.475 66.609 21.163 50.81 33.841 104.984 33.841 160.573s-12.678 109.763-33.841 160.573z" />
|
||||||
|
<glyph unicode="" glyph-name="volume22" d="M531.692 861.617c-9.807 0-18.668-3.899-25.088-10.122l-237.647-231.148h-197.986c-39.148 0-70.853-30.878-70.853-68.962v-206.769c0-38.085 31.744-68.962 70.853-68.962h197.986l237.647-231.148c6.42-6.223 15.281-10.122 25.088-10.122 19.574 0 35.446 15.439 35.446 34.462v758.311c0 19.023-15.872 34.462-35.446 34.462zM496.246 152.064l-187.589 182.43c-6.42 6.223-15.281 10.122-25.049 10.122h-212.638v206.769h212.638c9.807 0 18.668 3.899 25.049 10.161l187.589 182.43v-591.911zM755.909 631.493c-7.641 11.264-23.473 14.494-35.289 7.247s-15.321-22.331-7.601-33.634c5.553-8.192 14.336-23.906 23.237-45.332 14.887-35.722 23.788-73.61 23.788-111.774s-8.901-76.052-23.788-111.813c-8.901-21.425-17.684-37.1-23.237-45.292-7.68-11.264-4.214-26.309 7.601-33.634s27.648-4.057 35.289 7.247c7.247 10.673 17.605 29.145 27.845 53.799 17.093 41.039 27.333 84.795 27.333 129.694s-10.24 88.655-27.333 129.694c-10.201 24.655-20.598 43.126-27.845 53.799zM943.458 663.906c-9.925 23.867-20.519 45.568-31.232 64.709-6.459 11.618-11.579 19.889-14.69 24.458-7.601 11.303-23.434 14.572-35.289 7.326s-15.321-22.292-7.68-33.634c2.402-3.505 6.774-10.634 12.564-20.992 9.807-17.526 19.574-37.573 28.79-59.746 26.151-63.173 41.866-130.206 41.866-198.026s-15.675-134.932-41.866-198.065c-9.216-22.134-18.983-42.142-28.79-59.746-5.79-10.358-10.201-17.447-12.564-20.953-7.601-11.303-4.135-26.388 7.68-33.634 11.894-7.286 27.687-4.017 35.289 7.326 3.111 4.569 8.231 12.839 14.69 24.458 10.673 19.102 21.307 40.763 31.232 64.709 28.396 68.45 45.371 141.391 45.371 215.906s-16.975 147.456-45.371 215.906z" />
|
||||||
|
<glyph unicode="" glyph-name="volumefull" d="M460.8 806.468c-8.499 0-16.179-3.379-21.743-8.772l-205.961-200.329h-171.588c-33.929 0-61.406-26.761-61.406-59.767v-179.2c0-33.007 27.511-59.767 61.406-59.767h171.588l205.961-200.329c5.564-5.393 13.244-8.772 21.743-8.772 16.964 0 30.72 13.38 30.72 29.867v657.203c0 16.486-13.756 29.867-30.72 29.867zM430.080 191.522l-162.577 158.106c-5.564 5.393-13.244 8.772-21.709 8.772h-184.286v179.2h184.286c8.499 0 16.179 3.379 21.709 8.806l162.577 158.106v-512.99zM655.121 607.027c-6.622 9.762-20.343 12.561-30.583 6.281s-13.278-19.354-6.588-29.15c4.813-7.1 12.425-20.719 20.139-39.287 12.902-30.959 20.617-63.795 20.617-96.87s-7.714-65.911-20.617-96.905c-7.714-18.569-15.326-32.154-20.139-39.253-6.656-9.762-3.652-22.801 6.588-29.15s23.962-3.516 30.583 6.281c6.281 9.25 15.258 25.259 24.132 46.626 14.814 35.567 23.689 73.489 23.689 112.401s-8.875 76.834-23.689 112.401c-8.841 21.367-17.852 37.376-24.132 46.626zM790.596 691.2c-5.598 10.069-10.035 17.237-12.732 21.197-6.588 9.796-20.309 12.629-30.583 6.349s-13.278-19.319-6.656-29.15c2.082-3.038 5.871-9.216 10.889-18.193 8.499-15.189 16.964-32.563 24.951-51.78 22.665-54.75 36.284-112.845 36.284-171.622s-13.585-116.941-36.284-171.657c-7.987-19.183-16.452-36.523-24.951-51.78-5.018-8.977-8.841-15.121-10.889-18.159-6.588-9.796-3.584-22.869 6.656-29.15 10.308-6.315 23.996-3.482 30.583 6.349 2.697 3.959 7.134 11.127 12.732 21.197 9.25 16.555 18.466 35.328 27.068 56.081 24.61 59.324 39.322 122.539 39.322 187.119s-14.746 127.795-39.322 187.119c-8.602 20.719-17.783 39.526-27.068 56.081zM961.741 708.267c-13.722 26.044-28.433 48.606-43.213 67.686-9.045 11.639-16.213 19.661-20.617 24.030-8.499 8.363-22.494 8.602-31.3 0.512-8.806-8.055-9.079-21.436-0.58-29.798 3.106-3.038 9.045-9.66 16.828-19.763 13.346-17.203 26.726-37.717 39.253-61.577 35.977-68.369 57.617-148.924 57.617-241.357s-21.641-173.022-57.617-241.357c-12.527-23.825-25.941-44.373-39.253-61.577-7.817-10.103-13.722-16.725-16.828-19.763-8.499-8.397-8.226-21.743 0.58-29.833 8.806-8.055 22.801-7.817 31.3 0.546 4.437 4.369 11.605 12.39 20.617 24.030 14.78 19.115 29.457 41.677 43.213 67.686 38.946 74.001 62.293 161.007 62.293 260.267s-23.381 186.266-62.293 260.267z" />
|
||||||
|
<glyph unicode="" glyph-name="volumemute" d="M804.571 960.098c-12.093 0-23.113-4.827-31.061-12.532l-294.229-286.184h-245.126c-48.469 0-87.723-38.229-87.723-85.382v-256c0-47.153 39.302-85.382 87.723-85.382h245.126l294.229-286.184c7.948-7.704 18.968-12.532 31.061-12.532 24.186 0 43.886 19.115 43.886 42.667v938.862c0 23.552-19.7 42.667-43.886 42.667zM760.686 81.603l-232.204 225.865c-7.948 7.704-18.92 12.532-31.013 12.532h-263.314v256h263.266c12.142 0 23.113 4.827 31.013 12.581l232.253 225.865v-732.843z" />
|
||||||
|
<glyph unicode="" glyph-name="setting" d="M1020.781 504.851c-1.619 14.394-18.402 25.211-32.915 25.211-46.92 0-88.556 27.55-106.018 70.158-17.839 43.64-6.336 94.534 28.632 126.611 11.007 10.062 12.344 26.906 3.113 38.607-24.015 30.495-51.31 58.042-81.112 81.915-11.67 9.365-28.792 8.062-38.912-3.143-30.518-33.799-85.337-46.36-127.697-28.686-44.082 18.543-71.88 63.212-69.159 111.161 0.895 15.061-10.112 28.156-25.127 29.905-38.245 4.423-76.825 4.561-115.185 0.305-14.844-1.638-25.851-14.425-25.352-29.295 1.669-47.477-26.464-91.364-70.108-109.241-41.853-17.096-96.287-4.641-126.744 28.857-10.066 11.034-26.91 12.39-38.637 3.25-30.686-24.076-58.594-51.645-82.83-81.889-9.453-11.758-8.062-28.8 3.056-38.916 35.635-32.271 47.141-83.607 28.628-127.75-17.675-42.085-61.376-69.209-111.405-69.209-16.234 0.522-27.798-10.375-29.573-25.135-4.503-38.466-4.557-77.66-0.221-116.438 1.608-14.455 18.902-25.177 33.574-25.177 44.585 1.139 87.39-26.464 105.347-70.162 17.899-43.64 6.393-94.504-28.628-126.607-10.954-10.062-12.344-26.88-3.113-38.58 23.79-30.301 51.089-57.874 80.997-81.946 11.731-9.453 28.8-8.119 38.969 3.086 30.633 33.883 85.447 46.421 127.639 28.712 44.192-18.486 71.99-63.151 69.27-111.127-0.888-15.069 10.173-28.187 25.127-29.909 19.564-2.282 39.247-3.421 58.983-3.421 18.734 0 37.472 1.029 56.205 3.113 14.848 1.638 25.847 14.425 25.348 29.322-1.718 47.45 26.464 91.338 70.051 109.184 42.135 17.21 96.34 4.614 126.801-28.849 10.123-11.011 26.849-12.341 38.641-3.231 30.629 24.018 58.48 51.565 82.83 81.893 9.449 11.731 8.115 28.8-3.059 38.912-35.635 32.271-47.199 83.615-28.686 127.727 17.404 41.525 59.482 69.407 104.741 69.407l6.332-0.164c14.68-1.193 28.187 10.116 29.966 25.1 4.511 38.5 4.564 77.66 0.229 116.438zM512.81 276.136c-94.176 0-170.78 76.604-170.78 170.78 0 94.172 76.604 170.78 170.78 170.78 94.172 0 170.777-76.608 170.777-170.78 0-94.176-76.604-170.78-170.777-170.78z" />
|
||||||
|
</font></defs></svg>
|
After Width: | Height: | Size: 16 KiB |
BIN
upload/player/CB_video_js/fonts/icomoon.ttf
Executable file
BIN
upload/player/CB_video_js/fonts/icomoon.ttf
Executable file
Binary file not shown.
BIN
upload/player/CB_video_js/fonts/icomoon.woff
Executable file
BIN
upload/player/CB_video_js/fonts/icomoon.woff
Executable file
Binary file not shown.
126
upload/player/CB_video_js/fonts/myriad-set-pro.css
Executable file
126
upload/player/CB_video_js/fonts/myriad-set-pro.css
Executable file
|
@ -0,0 +1,126 @@
|
||||||
|
@font-face {
|
||||||
|
font-family:'Myriad Set Pro';
|
||||||
|
font-style:normal;
|
||||||
|
font-weight:100;
|
||||||
|
src:local('☺︎'), url("myriad-set-pro_ultralight.woff") format("woff"), url("myriad-set-pro_ultralight.ttf") format("truetype");
|
||||||
|
/* Copyright (c) 1992 Adobe Systems Incorporated. All Rights Reserved. Myriad is a trademark of Adobe Systems Incorporated. */
|
||||||
|
}
|
||||||
|
|
||||||
|
@font-face {
|
||||||
|
font-family:'Myriad Set Pro';
|
||||||
|
font-style:italic;
|
||||||
|
font-weight:100;
|
||||||
|
src:local('☺︎'), url("myriad-set-pro_ultralight-italic.woff") format("woff"), url("myriad-set-pro_ultralight-italic.ttf") format("truetype");
|
||||||
|
/* Copyright (c) 1992 Adobe Systems Incorporated. All Rights Reserved. Myriad is a trademark of Adobe Systems Incorporated. */
|
||||||
|
}
|
||||||
|
|
||||||
|
@font-face {
|
||||||
|
font-family:'Myriad Set Pro 100';
|
||||||
|
src:url("myriad-set-pro_ultralight.eot");
|
||||||
|
/* Copyright (c) 1992 Adobe Systems Incorporated. All Rights Reserved. Myriad is a trademark of Adobe Systems Incorporated. */
|
||||||
|
}
|
||||||
|
|
||||||
|
@font-face {
|
||||||
|
font-family:'Myriad Set Pro';
|
||||||
|
font-style:normal;
|
||||||
|
font-weight:200;
|
||||||
|
src:local('☺︎'), url("myriad-set-pro_thin.woff") format("woff"), url("myriad-set-pro_thin.ttf") format("truetype");
|
||||||
|
/* Copyright (c) 1992 Adobe Systems Incorporated. All Rights Reserved. Myriad is a trademark of Adobe Systems Incorporated. */
|
||||||
|
}
|
||||||
|
|
||||||
|
@font-face {
|
||||||
|
font-family:'Myriad Set Pro';
|
||||||
|
font-style:italic;
|
||||||
|
font-weight:200;
|
||||||
|
src:local('☺︎'), url("myriad-set-pro_thin-italic.woff") format("woff"), url("myriad-set-pro_thin-italic.ttf") format("truetype");
|
||||||
|
/* Copyright (c) 1992 Adobe Systems Incorporated. All Rights Reserved. Myriad is a trademark of Adobe Systems Incorporated. */
|
||||||
|
}
|
||||||
|
|
||||||
|
@font-face {
|
||||||
|
font-family:'Myriad Set Pro 200';
|
||||||
|
src:url("myriad-set-pro_thin.eot");
|
||||||
|
/* Copyright (c) 1992 Adobe Systems Incorporated. All Rights Reserved. Myriad is a trademark of Adobe Systems Incorporated. */
|
||||||
|
}
|
||||||
|
|
||||||
|
@font-face {
|
||||||
|
font-family:'Myriad Set Pro';
|
||||||
|
font-style:italic;
|
||||||
|
font-weight:400;
|
||||||
|
src:local('☺︎'), url("myriad-set-pro_text-italic.woff") format("woff"), url("myriad-set-pro_text-italic.ttf") format("truetype");
|
||||||
|
/* Copyright (c) 1992 Adobe Systems Incorporated. All Rights Reserved. Myriad is a trademark of Adobe Systems Incorporated. */
|
||||||
|
}
|
||||||
|
|
||||||
|
@font-face {
|
||||||
|
font-family:'Myriad Set Pro';
|
||||||
|
font-style:normal;
|
||||||
|
font-weight:500;
|
||||||
|
src:local('☺︎'), url("myriad-set-pro_medium.woff") format("woff"), url("myriad-set-pro_medium.ttf") format("truetype");
|
||||||
|
/* Copyright (c) 1992 Adobe Systems Incorporated. All Rights Reserved. Myriad is a trademark of Adobe Systems Incorporated. */
|
||||||
|
}
|
||||||
|
|
||||||
|
@font-face {
|
||||||
|
font-family:'Myriad Set Pro';
|
||||||
|
font-style:italic;
|
||||||
|
font-weight:500;
|
||||||
|
src:local('☺︎'), url("myriad-set-pro_medium-italic.woff") format("woff"), url("myriad-set-pro_medium-italic.ttf") format("truetype");
|
||||||
|
/* Copyright (c) 1992 Adobe Systems Incorporated. All Rights Reserved. Myriad is a trademark of Adobe Systems Incorporated. */
|
||||||
|
}
|
||||||
|
|
||||||
|
@font-face {
|
||||||
|
font-family:'Myriad Set Pro 500';
|
||||||
|
src:url("myriad-set-pro_medium.eot");
|
||||||
|
/* Copyright (c) 1992 Adobe Systems Incorporated. All Rights Reserved. Myriad is a trademark of Adobe Systems Incorporated. */
|
||||||
|
}
|
||||||
|
|
||||||
|
@font-face {
|
||||||
|
font-family:'Myriad Set Pro';
|
||||||
|
font-style:normal;
|
||||||
|
font-weight:600;
|
||||||
|
src:local('☺︎'), url("myriad-set-pro_semibold.woff") format("woff"), url("myriad-set-pro_semibold.ttf") format("truetype");
|
||||||
|
/* Copyright (c) 1992 Adobe Systems Incorporated. All Rights Reserved. Myriad is a trademark of Adobe Systems Incorporated. */
|
||||||
|
}
|
||||||
|
|
||||||
|
@font-face {
|
||||||
|
font-family:'Myriad Set Pro';
|
||||||
|
font-style:italic;
|
||||||
|
font-weight:600;
|
||||||
|
src:local('☺︎'), url("myriad-set-pro_semibold-italic.woff") format("woff"), url("myriad-set-pro_semibold-italic.ttf") format("truetype");
|
||||||
|
/* Copyright (c) 1992 Adobe Systems Incorporated. All Rights Reserved. Myriad is a trademark of Adobe Systems Incorporated. */
|
||||||
|
}
|
||||||
|
|
||||||
|
@font-face {
|
||||||
|
font-family:'Myriad Set Pro 600';
|
||||||
|
src:url("myriad-set-pro_semibold.eot");
|
||||||
|
/* Copyright (c) 1992 Adobe Systems Incorporated. All Rights Reserved. Myriad is a trademark of Adobe Systems Incorporated. */
|
||||||
|
}
|
||||||
|
|
||||||
|
@font-face {
|
||||||
|
font-family:'Myriad Set Pro';
|
||||||
|
font-style:normal;
|
||||||
|
font-weight:700;
|
||||||
|
src:local('☺︎'), url("myriad-set-pro_bold.woff") format("woff"), url("myriad-set-pro_bold.ttf") format("truetype");
|
||||||
|
/* Copyright (c) 1992 Adobe Systems Incorporated. All Rights Reserved. Myriad is a trademark of Adobe Systems Incorporated. */
|
||||||
|
}
|
||||||
|
|
||||||
|
@font-face {
|
||||||
|
font-family:'Myriad Set Pro';
|
||||||
|
font-style:italic;
|
||||||
|
font-weight:700;
|
||||||
|
src:local('☺︎'), url("myriad-set-pro_bold-italic.woff") format("woff"), url("myriad-set-pro_bold-italic.ttf") format("truetype");
|
||||||
|
/* Copyright (c) 1992 Adobe Systems Incorporated. All Rights Reserved. Myriad is a trademark of Adobe Systems Incorporated. */
|
||||||
|
}
|
||||||
|
|
||||||
|
@font-face {
|
||||||
|
font-family:'Myriad Set Pro 700';
|
||||||
|
src:url("myriad-set-pro_bold.eot");
|
||||||
|
/* Copyright (c) 1992 Adobe Systems Incorporated. All Rights Reserved. Myriad is a trademark of Adobe Systems Incorporated. */
|
||||||
|
}
|
||||||
|
|
||||||
|
@font-face {
|
||||||
|
font-family:'Myriad Set Pro';
|
||||||
|
font-style:normal;
|
||||||
|
font-weight:400;
|
||||||
|
src:url("myriad-set-pro_text.eot");
|
||||||
|
src:local('☺︎'), url("myriad-set-pro_text.woff") format("woff"), url("myriad-set-pro_text.ttf") format("truetype");
|
||||||
|
/* Copyright (c) 1992 Adobe Systems Incorporated. All Rights Reserved. Myriad is a trademark of Adobe Systems Incorporated. */
|
||||||
|
}
|
BIN
upload/player/CB_video_js/fonts/myriad-set-pro_bold-italic.ttf
Executable file
BIN
upload/player/CB_video_js/fonts/myriad-set-pro_bold-italic.ttf
Executable file
Binary file not shown.
BIN
upload/player/CB_video_js/fonts/myriad-set-pro_bold-italic.woff
Executable file
BIN
upload/player/CB_video_js/fonts/myriad-set-pro_bold-italic.woff
Executable file
Binary file not shown.
BIN
upload/player/CB_video_js/fonts/myriad-set-pro_bold.eot
Executable file
BIN
upload/player/CB_video_js/fonts/myriad-set-pro_bold.eot
Executable file
Binary file not shown.
BIN
upload/player/CB_video_js/fonts/myriad-set-pro_bold.ttf
Executable file
BIN
upload/player/CB_video_js/fonts/myriad-set-pro_bold.ttf
Executable file
Binary file not shown.
BIN
upload/player/CB_video_js/fonts/myriad-set-pro_bold.woff
Executable file
BIN
upload/player/CB_video_js/fonts/myriad-set-pro_bold.woff
Executable file
Binary file not shown.
BIN
upload/player/CB_video_js/fonts/myriad-set-pro_medium-italic.ttf
Executable file
BIN
upload/player/CB_video_js/fonts/myriad-set-pro_medium-italic.ttf
Executable file
Binary file not shown.
BIN
upload/player/CB_video_js/fonts/myriad-set-pro_medium-italic.woff
Executable file
BIN
upload/player/CB_video_js/fonts/myriad-set-pro_medium-italic.woff
Executable file
Binary file not shown.
BIN
upload/player/CB_video_js/fonts/myriad-set-pro_medium.eot
Executable file
BIN
upload/player/CB_video_js/fonts/myriad-set-pro_medium.eot
Executable file
Binary file not shown.
BIN
upload/player/CB_video_js/fonts/myriad-set-pro_medium.ttf
Executable file
BIN
upload/player/CB_video_js/fonts/myriad-set-pro_medium.ttf
Executable file
Binary file not shown.
BIN
upload/player/CB_video_js/fonts/myriad-set-pro_medium.woff
Executable file
BIN
upload/player/CB_video_js/fonts/myriad-set-pro_medium.woff
Executable file
Binary file not shown.
BIN
upload/player/CB_video_js/fonts/myriad-set-pro_semibold-italic.ttf
Executable file
BIN
upload/player/CB_video_js/fonts/myriad-set-pro_semibold-italic.ttf
Executable file
Binary file not shown.
BIN
upload/player/CB_video_js/fonts/myriad-set-pro_semibold-italic.woff
Executable file
BIN
upload/player/CB_video_js/fonts/myriad-set-pro_semibold-italic.woff
Executable file
Binary file not shown.
BIN
upload/player/CB_video_js/fonts/myriad-set-pro_semibold.eot
Executable file
BIN
upload/player/CB_video_js/fonts/myriad-set-pro_semibold.eot
Executable file
Binary file not shown.
BIN
upload/player/CB_video_js/fonts/myriad-set-pro_semibold.ttf
Executable file
BIN
upload/player/CB_video_js/fonts/myriad-set-pro_semibold.ttf
Executable file
Binary file not shown.
BIN
upload/player/CB_video_js/fonts/myriad-set-pro_semibold.woff
Executable file
BIN
upload/player/CB_video_js/fonts/myriad-set-pro_semibold.woff
Executable file
Binary file not shown.
BIN
upload/player/CB_video_js/fonts/myriad-set-pro_text-italic.ttf
Executable file
BIN
upload/player/CB_video_js/fonts/myriad-set-pro_text-italic.ttf
Executable file
Binary file not shown.
BIN
upload/player/CB_video_js/fonts/myriad-set-pro_text-italic.woff
Executable file
BIN
upload/player/CB_video_js/fonts/myriad-set-pro_text-italic.woff
Executable file
Binary file not shown.
BIN
upload/player/CB_video_js/fonts/myriad-set-pro_text.eot
Executable file
BIN
upload/player/CB_video_js/fonts/myriad-set-pro_text.eot
Executable file
Binary file not shown.
BIN
upload/player/CB_video_js/fonts/myriad-set-pro_text.ttf
Executable file
BIN
upload/player/CB_video_js/fonts/myriad-set-pro_text.ttf
Executable file
Binary file not shown.
BIN
upload/player/CB_video_js/fonts/myriad-set-pro_text.woff
Executable file
BIN
upload/player/CB_video_js/fonts/myriad-set-pro_text.woff
Executable file
Binary file not shown.
BIN
upload/player/CB_video_js/fonts/myriad-set-pro_thin-italic.ttf
Executable file
BIN
upload/player/CB_video_js/fonts/myriad-set-pro_thin-italic.ttf
Executable file
Binary file not shown.
BIN
upload/player/CB_video_js/fonts/myriad-set-pro_thin-italic.woff
Executable file
BIN
upload/player/CB_video_js/fonts/myriad-set-pro_thin-italic.woff
Executable file
Binary file not shown.
BIN
upload/player/CB_video_js/fonts/myriad-set-pro_thin.eot
Executable file
BIN
upload/player/CB_video_js/fonts/myriad-set-pro_thin.eot
Executable file
Binary file not shown.
BIN
upload/player/CB_video_js/fonts/myriad-set-pro_thin.ttf
Executable file
BIN
upload/player/CB_video_js/fonts/myriad-set-pro_thin.ttf
Executable file
Binary file not shown.
BIN
upload/player/CB_video_js/fonts/myriad-set-pro_thin.woff
Executable file
BIN
upload/player/CB_video_js/fonts/myriad-set-pro_thin.woff
Executable file
Binary file not shown.
BIN
upload/player/CB_video_js/fonts/myriad-set-pro_ultralight-italic.ttf
Executable file
BIN
upload/player/CB_video_js/fonts/myriad-set-pro_ultralight-italic.ttf
Executable file
Binary file not shown.
BIN
upload/player/CB_video_js/fonts/myriad-set-pro_ultralight-italic.woff
Executable file
BIN
upload/player/CB_video_js/fonts/myriad-set-pro_ultralight-italic.woff
Executable file
Binary file not shown.
BIN
upload/player/CB_video_js/fonts/myriad-set-pro_ultralight.eot
Executable file
BIN
upload/player/CB_video_js/fonts/myriad-set-pro_ultralight.eot
Executable file
Binary file not shown.
BIN
upload/player/CB_video_js/fonts/myriad-set-pro_ultralight.ttf
Executable file
BIN
upload/player/CB_video_js/fonts/myriad-set-pro_ultralight.ttf
Executable file
Binary file not shown.
BIN
upload/player/CB_video_js/fonts/myriad-set-pro_ultralight.woff
Executable file
BIN
upload/player/CB_video_js/fonts/myriad-set-pro_ultralight.woff
Executable file
Binary file not shown.
23
upload/player/CB_video_js/js/cb_vjs_custom.js
Executable file
23
upload/player/CB_video_js/js/cb_vjs_custom.js
Executable file
|
@ -0,0 +1,23 @@
|
||||||
|
// player height
|
||||||
|
function player_height (argument) {
|
||||||
|
var playerWidth = $('.video-js').width();
|
||||||
|
var playerHeight = playerWidth * (9/16);
|
||||||
|
$('.video-js').css('height', playerHeight+"px");
|
||||||
|
return playerHeight;
|
||||||
|
}
|
||||||
|
|
||||||
|
$(window).on("resize", function() {
|
||||||
|
player_height();
|
||||||
|
});
|
||||||
|
|
||||||
|
$(document).ready(function(){
|
||||||
|
player_height();
|
||||||
|
$(".vjs-cb-logo-cont").css({
|
||||||
|
'float': 'right',
|
||||||
|
'width' :'3.5em',
|
||||||
|
'height': '2.5em',
|
||||||
|
'margin': '7px 0 0 0',
|
||||||
|
'cursor': 'pointer',
|
||||||
|
'display' : 'block !important'
|
||||||
|
});
|
||||||
|
});
|
388
upload/player/CB_video_js/js/cb_vjs_res.js
Executable file
388
upload/player/CB_video_js/js/cb_vjs_res.js
Executable file
|
@ -0,0 +1,388 @@
|
||||||
|
/**
|
||||||
|
* Video.js Resolution Selector
|
||||||
|
*
|
||||||
|
* This plugin for Video.js adds a resolution selector option
|
||||||
|
* to the toolbar. Usage:
|
||||||
|
*
|
||||||
|
* <video>
|
||||||
|
* <source data-res="480" src="..." />
|
||||||
|
* <source data-res="240" src="..." />
|
||||||
|
* </video>
|
||||||
|
*/
|
||||||
|
|
||||||
|
(function( _V_ ) {
|
||||||
|
|
||||||
|
/***********************************************************************************
|
||||||
|
* Define some helper functions
|
||||||
|
***********************************************************************************/
|
||||||
|
var methods = {
|
||||||
|
|
||||||
|
/**
|
||||||
|
* In a future version, this can be made more intelligent,
|
||||||
|
* but for now, we'll just add a "p" at the end if we are passed
|
||||||
|
* numbers.
|
||||||
|
*
|
||||||
|
* @param (string) res The resolution to make a label for
|
||||||
|
*
|
||||||
|
* @returns (string) The label text string
|
||||||
|
*/
|
||||||
|
res_label : function( res ) {
|
||||||
|
|
||||||
|
return ( /^\d+$/.test( res ) ) ? res + 'p' : res;
|
||||||
|
}
|
||||||
|
};
|
||||||
|
|
||||||
|
/***********************************************************************************
|
||||||
|
* Setup our resolution menu items
|
||||||
|
***********************************************************************************/
|
||||||
|
_V_.ResolutionMenuItem = _V_.MenuItem.extend({
|
||||||
|
|
||||||
|
// Call variable to prevent the resolution change from being called twice
|
||||||
|
call_count : 0,
|
||||||
|
|
||||||
|
/** @constructor */
|
||||||
|
init : function( player, options ){
|
||||||
|
|
||||||
|
var touchstart = false;
|
||||||
|
|
||||||
|
// Modify options for parent MenuItem class's init.
|
||||||
|
options.label = methods.res_label( options.res );
|
||||||
|
options.selected = ( options.res.toString() === player.getCurrentRes().toString() );
|
||||||
|
|
||||||
|
// Call the parent constructor
|
||||||
|
_V_.MenuItem.call( this, player, options );
|
||||||
|
|
||||||
|
// Store the resolution as a property
|
||||||
|
this.resolution = options.res;
|
||||||
|
|
||||||
|
// Register our click and tap handlers
|
||||||
|
this.on( ['click', 'tap'], this.onClick );
|
||||||
|
|
||||||
|
// Toggle the selected class whenever the resolution changes
|
||||||
|
player.on( 'changeRes', _V_.bind( this, function() {
|
||||||
|
|
||||||
|
if ( this.resolution == player.getCurrentRes() ) {
|
||||||
|
|
||||||
|
this.selected( true );
|
||||||
|
|
||||||
|
} else {
|
||||||
|
|
||||||
|
this.selected( false );
|
||||||
|
}
|
||||||
|
|
||||||
|
// Reset the call count
|
||||||
|
this.call_count = 0;
|
||||||
|
}));
|
||||||
|
}
|
||||||
|
});
|
||||||
|
|
||||||
|
// Handle clicks on the menu items
|
||||||
|
_V_.ResolutionMenuItem.prototype.onClick = function() {
|
||||||
|
|
||||||
|
// Check if this has already been called
|
||||||
|
if ( this.call_count > 0 ) { return; }
|
||||||
|
|
||||||
|
// Call the player.changeRes method
|
||||||
|
this.player().changeRes( this.resolution );
|
||||||
|
|
||||||
|
// Increment the call counter
|
||||||
|
this.call_count++;
|
||||||
|
};
|
||||||
|
|
||||||
|
/***********************************************************************************
|
||||||
|
* Setup our resolution menu title item
|
||||||
|
***********************************************************************************/
|
||||||
|
_V_.ResolutionTitleMenuItem = _V_.MenuItem.extend({
|
||||||
|
|
||||||
|
init : function( player, options ) {
|
||||||
|
|
||||||
|
// Call the parent constructor
|
||||||
|
_V_.MenuItem.call( this, player, options );
|
||||||
|
|
||||||
|
// No click handler for the menu title
|
||||||
|
this.off( 'click' );
|
||||||
|
}
|
||||||
|
});
|
||||||
|
|
||||||
|
/***********************************************************************************
|
||||||
|
* Define our resolution selector button
|
||||||
|
***********************************************************************************/
|
||||||
|
_V_.ResolutionSelector = _V_.MenuButton.extend({
|
||||||
|
|
||||||
|
/** @constructor */
|
||||||
|
init : function( player, options ) {
|
||||||
|
|
||||||
|
// Add our list of available resolutions to the player object
|
||||||
|
player.availableRes = options.available_res;
|
||||||
|
|
||||||
|
// Call the parent constructor
|
||||||
|
_V_.MenuButton.call( this, player, options );
|
||||||
|
|
||||||
|
// Set the button text based on the option provided
|
||||||
|
this.el().firstChild.firstChild.innerHTML = options.buttonText;
|
||||||
|
}
|
||||||
|
});
|
||||||
|
|
||||||
|
// Set class for resolution selector button
|
||||||
|
_V_.ResolutionSelector.prototype.className = 'vjs-res-button';
|
||||||
|
|
||||||
|
// Create a menu item for each available resolution
|
||||||
|
_V_.ResolutionSelector.prototype.createItems = function() {
|
||||||
|
|
||||||
|
var player = this.player(),
|
||||||
|
items = [],
|
||||||
|
current_res;
|
||||||
|
|
||||||
|
// Add the menu title item
|
||||||
|
items.push( new _V_.ResolutionTitleMenuItem( player, {
|
||||||
|
|
||||||
|
el : _V_.Component.prototype.createEl( 'li', {
|
||||||
|
|
||||||
|
className : 'vjs-menu-title vjs-res-menu-title',
|
||||||
|
innerHTML : player.localize( 'Quality' )
|
||||||
|
})
|
||||||
|
}));
|
||||||
|
|
||||||
|
// Add an item for each available resolution
|
||||||
|
for ( current_res in player.availableRes ) {
|
||||||
|
|
||||||
|
// Don't add an item for the length attribute
|
||||||
|
if ( 'length' == current_res ) { continue; }
|
||||||
|
|
||||||
|
items.push( new _V_.ResolutionMenuItem( player, {
|
||||||
|
res : current_res
|
||||||
|
}));
|
||||||
|
}
|
||||||
|
|
||||||
|
// Sort the available resolutions in descending order
|
||||||
|
items.sort(function( a, b ) {
|
||||||
|
|
||||||
|
if ( typeof a.resolution == 'undefined' ) {
|
||||||
|
|
||||||
|
return -1;
|
||||||
|
|
||||||
|
} else {
|
||||||
|
|
||||||
|
return parseInt( b.resolution ) - parseInt( a.resolution );
|
||||||
|
}
|
||||||
|
});
|
||||||
|
|
||||||
|
return items;
|
||||||
|
};
|
||||||
|
|
||||||
|
/***********************************************************************************
|
||||||
|
* Register the plugin with videojs, main plugin function
|
||||||
|
***********************************************************************************/
|
||||||
|
_V_.plugin( 'resolutionSelector', function( options ) {
|
||||||
|
|
||||||
|
// Only enable the plugin on HTML5 videos
|
||||||
|
if ( ! this.el().firstChild.canPlayType ) { return; }
|
||||||
|
|
||||||
|
/*******************************************************************
|
||||||
|
* Setup variables, parse settings
|
||||||
|
*******************************************************************/
|
||||||
|
var player = this,
|
||||||
|
sources = player.options().sources,
|
||||||
|
i = sources.length,
|
||||||
|
j,
|
||||||
|
found_type,
|
||||||
|
|
||||||
|
// Override default options with those provided
|
||||||
|
settings = _V_.util.mergeOptions({
|
||||||
|
|
||||||
|
default_res : '', // (string) The resolution that should be selected by default ( '480' or '480,1080,240' )
|
||||||
|
force_types : false // (array) List of media types. If passed, we need to have source for each type in each resolution or that resolution will not be an option
|
||||||
|
|
||||||
|
}, options || {} ),
|
||||||
|
|
||||||
|
available_res = { length : 0 },
|
||||||
|
current_res,
|
||||||
|
resolutionSelector,
|
||||||
|
|
||||||
|
// Split default resolutions if set and valid, otherwise default to an empty array
|
||||||
|
default_resolutions = ( settings.default_res && typeof settings.default_res == 'string' ) ? settings.default_res.split( ',' ) : [];
|
||||||
|
|
||||||
|
// Get all of the available resoloutions
|
||||||
|
while ( i > 0 ) {
|
||||||
|
|
||||||
|
i--;
|
||||||
|
|
||||||
|
// Skip sources that don't have data-res attributes
|
||||||
|
if ( ! sources[i]['data-res'] ) { continue; }
|
||||||
|
|
||||||
|
current_res = sources[i]['data-res'];
|
||||||
|
|
||||||
|
if ( typeof available_res[current_res] !== 'object' ) {
|
||||||
|
|
||||||
|
available_res[current_res] = [];
|
||||||
|
available_res.length++;
|
||||||
|
}
|
||||||
|
|
||||||
|
available_res[current_res].push( sources[i] );
|
||||||
|
}
|
||||||
|
|
||||||
|
// Check for forced types
|
||||||
|
if ( settings.force_types ) {
|
||||||
|
|
||||||
|
// Loop through all available resoultions
|
||||||
|
for ( current_res in available_res ) {
|
||||||
|
|
||||||
|
// Don't count the length property as a resolution
|
||||||
|
if ( 'length' == current_res ) { continue; }
|
||||||
|
|
||||||
|
i = settings.force_types.length;
|
||||||
|
found_types = 0;
|
||||||
|
|
||||||
|
// Loop through all required types
|
||||||
|
while ( i > 0 ) {
|
||||||
|
|
||||||
|
i--;
|
||||||
|
|
||||||
|
j = available_res[current_res].length;
|
||||||
|
|
||||||
|
// Loop through all available sources in current resolution
|
||||||
|
while ( j > 0 ) {
|
||||||
|
|
||||||
|
j--;
|
||||||
|
|
||||||
|
// Check if the current source matches the current type we're checking
|
||||||
|
if ( settings.force_types[i] === available_res[current_res][j].type ) {
|
||||||
|
|
||||||
|
found_types++;
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
// If we didn't find sources for all of the required types in the current res, remove it
|
||||||
|
if ( found_types < settings.force_types.length ) {
|
||||||
|
|
||||||
|
delete available_res[current_res];
|
||||||
|
available_res.length--;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
// Make sure we have at least 2 available resolutions before we add the button
|
||||||
|
if ( available_res.length < 2 ) { return; }
|
||||||
|
|
||||||
|
// Loop through the choosen default resolutions if there were any
|
||||||
|
for ( i = 0; i < default_resolutions.length; i++ ) {
|
||||||
|
|
||||||
|
// Set the video to start out with the first available default res
|
||||||
|
if ( available_res[default_resolutions[i]] ) {
|
||||||
|
|
||||||
|
player.src( available_res[default_resolutions[i]] );
|
||||||
|
player.currentRes = default_resolutions[i];
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
/*******************************************************************
|
||||||
|
* Add methods to player object
|
||||||
|
*******************************************************************/
|
||||||
|
|
||||||
|
// Make sure we have player.localize() if it's not defined by Video.js
|
||||||
|
if ( typeof player.localize !== 'function' ) {
|
||||||
|
|
||||||
|
player.localize = function( string ) {
|
||||||
|
|
||||||
|
return string;
|
||||||
|
};
|
||||||
|
}
|
||||||
|
|
||||||
|
// Helper function to get the current resolution
|
||||||
|
player.getCurrentRes = function() {
|
||||||
|
|
||||||
|
if ( typeof player.currentRes !== 'undefined' ) {
|
||||||
|
|
||||||
|
return player.currentRes;
|
||||||
|
|
||||||
|
} else {
|
||||||
|
|
||||||
|
try {
|
||||||
|
|
||||||
|
return res = player.options().sources[0]['data-res'];
|
||||||
|
|
||||||
|
} catch(e) {
|
||||||
|
|
||||||
|
return '';
|
||||||
|
}
|
||||||
|
}
|
||||||
|
};
|
||||||
|
|
||||||
|
// Define the change res method
|
||||||
|
player.changeRes = function( target_resolution ) {
|
||||||
|
|
||||||
|
var video_el = player.el().firstChild,
|
||||||
|
is_paused = player.paused(),
|
||||||
|
current_time = player.currentTime(),
|
||||||
|
button_nodes,
|
||||||
|
button_node_count;
|
||||||
|
|
||||||
|
// Do nothing if we aren't changing resolutions or if the resolution isn't defined
|
||||||
|
if ( player.getCurrentRes() == target_resolution
|
||||||
|
|| ! player.availableRes
|
||||||
|
|| ! player.availableRes[target_resolution] ) { return; }
|
||||||
|
|
||||||
|
// Make sure the loadedmetadata event will fire
|
||||||
|
if ( 'none' == video_el.preload ) { video_el.preload = 'metadata'; }
|
||||||
|
|
||||||
|
// Change the source and make sure we don't start the video over
|
||||||
|
player.src( player.availableRes[target_resolution] ).one( 'loadedmetadata', function() {
|
||||||
|
|
||||||
|
player.currentTime( current_time );
|
||||||
|
|
||||||
|
// If the video was paused, don't show the poster image again
|
||||||
|
player.addClass( 'vjs-has-started' );
|
||||||
|
|
||||||
|
if ( ! is_paused ) { player.play(); }
|
||||||
|
});
|
||||||
|
|
||||||
|
// Save the newly selected resolution in our player options property
|
||||||
|
player.currentRes = target_resolution;
|
||||||
|
|
||||||
|
// Make sure the button has been added to the control bar
|
||||||
|
if ( player.controlBar.resolutionSelector ) {
|
||||||
|
|
||||||
|
button_nodes = player.controlBar.resolutionSelector.el().firstChild.children;
|
||||||
|
button_node_count = button_nodes.length;
|
||||||
|
|
||||||
|
// Update the button text
|
||||||
|
while ( button_node_count > 0 ) {
|
||||||
|
|
||||||
|
button_node_count--;
|
||||||
|
|
||||||
|
if ( 'vjs-control-text' == button_nodes[button_node_count].className ) {
|
||||||
|
|
||||||
|
button_nodes[button_node_count].innerHTML = methods.res_label( target_resolution );
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
// Update the classes to reflect the currently selected resolution
|
||||||
|
player.trigger( 'changeRes' );
|
||||||
|
};
|
||||||
|
|
||||||
|
/*******************************************************************
|
||||||
|
* Add the resolution selector button
|
||||||
|
*******************************************************************/
|
||||||
|
|
||||||
|
// Get the starting resolution
|
||||||
|
current_res = player.getCurrentRes();
|
||||||
|
|
||||||
|
if ( current_res ) { current_res = methods.res_label( current_res ); }
|
||||||
|
|
||||||
|
// Add the resolution selector button
|
||||||
|
resolutionSelector = new _V_.ResolutionSelector( player, {
|
||||||
|
buttonText : "",
|
||||||
|
/*buttonText : player.localize( current_res || 'Quality' ),*/
|
||||||
|
available_res : available_res
|
||||||
|
});
|
||||||
|
|
||||||
|
// Add the button to the control bar object and the DOM
|
||||||
|
player.controlBar.resolutionSelector = player.controlBar.addChild( resolutionSelector );
|
||||||
|
});
|
||||||
|
|
||||||
|
})( videojs );
|
11949
upload/player/CB_video_js/js/video.dev.js
Executable file
11949
upload/player/CB_video_js/js/video.dev.js
Executable file
File diff suppressed because it is too large
Load diff
203
upload/player/CB_video_js/js/video.js
Executable file
203
upload/player/CB_video_js/js/video.js
Executable file
File diff suppressed because one or more lines are too long
26
upload/player/CB_video_js/lang/ar.js
Executable file
26
upload/player/CB_video_js/lang/ar.js
Executable file
|
@ -0,0 +1,26 @@
|
||||||
|
videojs.addLanguage("ar",{
|
||||||
|
"Play": "تشغيل",
|
||||||
|
"Pause": "ايقاف",
|
||||||
|
"Current Time": "الوقت الحالي",
|
||||||
|
"Duration Time": "Dauer",
|
||||||
|
"Remaining Time": "الوقت المتبقي",
|
||||||
|
"Stream Type": "نوع التيار",
|
||||||
|
"LIVE": "مباشر",
|
||||||
|
"Loaded": "تم التحميل",
|
||||||
|
"Progress": "التقدم",
|
||||||
|
"Fullscreen": "ملء الشاشة",
|
||||||
|
"Non-Fullscreen": "غير ملء الشاشة",
|
||||||
|
"Mute": "صامت",
|
||||||
|
"Unmuted": "غير الصامت",
|
||||||
|
"Playback Rate": "معدل التشغيل",
|
||||||
|
"Subtitles": "الترجمة",
|
||||||
|
"subtitles off": "ايقاف الترجمة",
|
||||||
|
"Captions": "التعليقات",
|
||||||
|
"captions off": "ايقاف التعليقات",
|
||||||
|
"Chapters": "فصول",
|
||||||
|
"You aborted the video playback": "لقد ألغيت تشغيل الفيديو",
|
||||||
|
"A network error caused the video download to fail part-way.": "تسبب خطأ في الشبكة بفشل تحميل الفيديو بالكامل.",
|
||||||
|
"The video could not be loaded, either because the server or network failed or because the format is not supported.": "لا يمكن تحميل الفيديو بسبب فشل في الخادم أو الشبكة ، أو فشل بسبب عدم امكانية قراءة تنسيق الفيديو.",
|
||||||
|
"The video playback was aborted due to a corruption problem or because the video used features your browser did not support.": "تم ايقاف تشغيل الفيديو بسبب مشكلة فساد أو لأن الفيديو المستخدم يستخدم ميزات غير مدعومة من متصفحك.",
|
||||||
|
"No compatible source was found for this video.": "فشل العثور على أي مصدر متوافق مع هذا الفيديو."
|
||||||
|
});
|
26
upload/player/CB_video_js/lang/bg.js
Executable file
26
upload/player/CB_video_js/lang/bg.js
Executable file
|
@ -0,0 +1,26 @@
|
||||||
|
videojs.addLanguage("bg",{
|
||||||
|
"Play": "Възпроизвеждане",
|
||||||
|
"Pause": "Пауза",
|
||||||
|
"Current Time": "Текущо време",
|
||||||
|
"Duration Time": "Продължителност",
|
||||||
|
"Remaining Time": "Оставащо време",
|
||||||
|
"Stream Type": "Тип на потока",
|
||||||
|
"LIVE": "НА ЖИВО",
|
||||||
|
"Loaded": "Заредено",
|
||||||
|
"Progress": "Прогрес",
|
||||||
|
"Fullscreen": "Цял екран",
|
||||||
|
"Non-Fullscreen": "Спиране на цял екран",
|
||||||
|
"Mute": "Без звук",
|
||||||
|
"Unmuted": "Със звук",
|
||||||
|
"Playback Rate": "Скорост на възпроизвеждане",
|
||||||
|
"Subtitles": "Субтитри",
|
||||||
|
"subtitles off": "Спряни субтитри",
|
||||||
|
"Captions": "Аудио надписи",
|
||||||
|
"captions off": "Спряни аудио надписи",
|
||||||
|
"Chapters": "Глави",
|
||||||
|
"You aborted the video playback": "Спряхте възпроизвеждането на видеото",
|
||||||
|
"A network error caused the video download to fail part-way.": "Грешка в мрежата провали изтеглянето на видеото.",
|
||||||
|
"The video could not be loaded, either because the server or network failed or because the format is not supported.": "Видеото не може да бъде заредено заради проблем със сървъра или мрежата или защото този формат не е поддържан.",
|
||||||
|
"The video playback was aborted due to a corruption problem or because the video used features your browser did not support.": "Възпроизвеждането на видеото беше прекъснато заради проблем с файла или защото видеото използва опции които браузърът Ви не поддържа.",
|
||||||
|
"No compatible source was found for this video.": "Не беше намерен съвместим източник за това видео."
|
||||||
|
});
|
26
upload/player/CB_video_js/lang/ca.js
Executable file
26
upload/player/CB_video_js/lang/ca.js
Executable file
|
@ -0,0 +1,26 @@
|
||||||
|
videojs.addLanguage("ca",{
|
||||||
|
"Play": "Reproducció",
|
||||||
|
"Pause": "Pausa",
|
||||||
|
"Current Time": "Temps reproduït",
|
||||||
|
"Duration Time": "Durada total",
|
||||||
|
"Remaining Time": "Temps restant",
|
||||||
|
"Stream Type": "Tipus de seqüència",
|
||||||
|
"LIVE": "EN DIRECTE",
|
||||||
|
"Loaded": "Carregat",
|
||||||
|
"Progress": "Progrés",
|
||||||
|
"Fullscreen": "Pantalla completa",
|
||||||
|
"Non-Fullscreen": "Pantalla no completa",
|
||||||
|
"Mute": "Silencia",
|
||||||
|
"Unmuted": "Amb so",
|
||||||
|
"Playback Rate": "Velocitat de reproducció",
|
||||||
|
"Subtitles": "Subtítols",
|
||||||
|
"subtitles off": "Subtítols desactivats",
|
||||||
|
"Captions": "Llegendes",
|
||||||
|
"captions off": "Llegendes desactivades",
|
||||||
|
"Chapters": "Capítols",
|
||||||
|
"You aborted the video playback": "Heu interromput la reproducció del vídeo.",
|
||||||
|
"A network error caused the video download to fail part-way.": "Un error de la xarxa ha interromput la baixada del vídeo.",
|
||||||
|
"The video could not be loaded, either because the server or network failed or because the format is not supported.": "No s'ha pogut carregar el vídeo perquè el servidor o la xarxa han fallat, o bé perquè el seu format no és compatible.",
|
||||||
|
"The video playback was aborted due to a corruption problem or because the video used features your browser did not support.": "La reproducció de vídeo s'ha interrumput per un problema de corrupció de dades o bé perquè el vídeo demanava funcions que el vostre navegador no ofereix.",
|
||||||
|
"No compatible source was found for this video.": "No s'ha trobat cap font compatible amb el vídeo."
|
||||||
|
});
|
26
upload/player/CB_video_js/lang/cs.js
Executable file
26
upload/player/CB_video_js/lang/cs.js
Executable file
|
@ -0,0 +1,26 @@
|
||||||
|
videojs.addLanguage("cs",{
|
||||||
|
"Play": "Přehrát",
|
||||||
|
"Pause": "Pauza",
|
||||||
|
"Current Time": "Aktuální čas",
|
||||||
|
"Duration Time": "Doba trvání",
|
||||||
|
"Remaining Time": "Zbývající čas",
|
||||||
|
"Stream Type": "Stream Type",
|
||||||
|
"LIVE": "ŽIVĚ",
|
||||||
|
"Loaded": "Načteno",
|
||||||
|
"Progress": "Stav",
|
||||||
|
"Fullscreen": "Celá obrazovka",
|
||||||
|
"Non-Fullscreen": "Zmenšená obrazovka",
|
||||||
|
"Mute": "Ztlumit zvuk",
|
||||||
|
"Unmuted": "Přehrát zvuk",
|
||||||
|
"Playback Rate": "Rychlost přehrávání",
|
||||||
|
"Subtitles": "Titulky",
|
||||||
|
"subtitles off": "Titulky vypnuty",
|
||||||
|
"Captions": "Popisky",
|
||||||
|
"captions off": "Popisky vypnuty",
|
||||||
|
"Chapters": "Kapitoly",
|
||||||
|
"You aborted the video playback": "Přehrávání videa je přerušeno.",
|
||||||
|
"A network error caused the video download to fail part-way.": "Video nemohlo být načteno, kvůli chybě v síti.",
|
||||||
|
"The video could not be loaded, either because the server or network failed or because the format is not supported.": "Video nemohlo být načteno, buď kvůli chybě serveru nebo sítě nebo proto, že daný formát není podporován.",
|
||||||
|
"The video playback was aborted due to a corruption problem or because the video used features your browser did not support.": "Váš prohlížeč nepodporuje formát videa.",
|
||||||
|
"No compatible source was found for this video.": "Špatně zadaný zdroj videa."
|
||||||
|
});
|
26
upload/player/CB_video_js/lang/de.js
Executable file
26
upload/player/CB_video_js/lang/de.js
Executable file
|
@ -0,0 +1,26 @@
|
||||||
|
videojs.addLanguage("de",{
|
||||||
|
"Play": "Wiedergabe",
|
||||||
|
"Pause": "Pause",
|
||||||
|
"Current Time": "Aktueller Zeitpunkt",
|
||||||
|
"Duration Time": "Dauer",
|
||||||
|
"Remaining Time": "Verbleibende Zeit",
|
||||||
|
"Stream Type": "Streamtyp",
|
||||||
|
"LIVE": "LIVE",
|
||||||
|
"Loaded": "Geladen",
|
||||||
|
"Progress": "Status",
|
||||||
|
"Fullscreen": "Vollbild",
|
||||||
|
"Non-Fullscreen": "Kein Vollbild",
|
||||||
|
"Mute": "Ton aus",
|
||||||
|
"Unmuted": "Ton ein",
|
||||||
|
"Playback Rate": "Wiedergabegeschwindigkeit",
|
||||||
|
"Subtitles": "Untertitel",
|
||||||
|
"subtitles off": "Untertitel aus",
|
||||||
|
"Captions": "Untertitel",
|
||||||
|
"captions off": "Untertitel aus",
|
||||||
|
"Chapters": "Kapitel",
|
||||||
|
"You aborted the video playback": "Sie haben die Videowiedergabe abgebrochen.",
|
||||||
|
"A network error caused the video download to fail part-way.": "Der Videodownload ist aufgrund eines Netzwerkfehlers fehlgeschlagen.",
|
||||||
|
"The video could not be loaded, either because the server or network failed or because the format is not supported.": "Das Video konnte nicht geladen werden, da entweder ein Server- oder Netzwerkfehler auftrat oder das Format nicht unterstützt wird.",
|
||||||
|
"The video playback was aborted due to a corruption problem or because the video used features your browser did not support.": "Die Videowiedergabe wurde entweder wegen eines Problems mit einem beschädigten Video oder wegen verwendeten Funktionen, die vom Browser nicht unterstützt werden, abgebrochen.",
|
||||||
|
"No compatible source was found for this video.": "Für dieses Video wurde keine kompatible Quelle gefunden."
|
||||||
|
});
|
26
upload/player/CB_video_js/lang/es.js
Executable file
26
upload/player/CB_video_js/lang/es.js
Executable file
|
@ -0,0 +1,26 @@
|
||||||
|
videojs.addLanguage("es",{
|
||||||
|
"Play": "Reproducción",
|
||||||
|
"Pause": "Pausa",
|
||||||
|
"Current Time": "Tiempo reproducido",
|
||||||
|
"Duration Time": "Duración total",
|
||||||
|
"Remaining Time": "Tiempo restante",
|
||||||
|
"Stream Type": "Tipo de secuencia",
|
||||||
|
"LIVE": "DIRECTO",
|
||||||
|
"Loaded": "Cargado",
|
||||||
|
"Progress": "Progreso",
|
||||||
|
"Fullscreen": "Pantalla completa",
|
||||||
|
"Non-Fullscreen": "Pantalla no completa",
|
||||||
|
"Mute": "Silenciar",
|
||||||
|
"Unmuted": "No silenciado",
|
||||||
|
"Playback Rate": "Velocidad de reproducción",
|
||||||
|
"Subtitles": "Subtítulos",
|
||||||
|
"subtitles off": "Subtítulos desactivados",
|
||||||
|
"Captions": "Subtítulos especiales",
|
||||||
|
"captions off": "Subtítulos especiales desactivados",
|
||||||
|
"Chapters": "Capítulos",
|
||||||
|
"You aborted the video playback": "Ha interrumpido la reproducción del vídeo.",
|
||||||
|
"A network error caused the video download to fail part-way.": "Un error de red ha interrumpido la descarga del vídeo.",
|
||||||
|
"The video could not be loaded, either because the server or network failed or because the format is not supported.": "No se ha podido cargar el vídeo debido a un fallo de red o del servidor o porque el formato es incompatible.",
|
||||||
|
"The video playback was aborted due to a corruption problem or because the video used features your browser did not support.": "La reproducción de vídeo se ha interrumpido por un problema de corrupción de datos o porque el vídeo precisa funciones que su navegador no ofrece.",
|
||||||
|
"No compatible source was found for this video.": "No se ha encontrado ninguna fuente compatible con este vídeo."
|
||||||
|
});
|
26
upload/player/CB_video_js/lang/fr.js
Executable file
26
upload/player/CB_video_js/lang/fr.js
Executable file
|
@ -0,0 +1,26 @@
|
||||||
|
videojs.addLanguage("fr",{
|
||||||
|
"Play": "Lecture",
|
||||||
|
"Pause": "Pause",
|
||||||
|
"Current Time": "Temps actuel",
|
||||||
|
"Duration Time": "Durée",
|
||||||
|
"Remaining Time": "Temps restant",
|
||||||
|
"Stream Type": "Type de flux",
|
||||||
|
"LIVE": "EN DIRECT",
|
||||||
|
"Loaded": "Chargé",
|
||||||
|
"Progress": "Progression",
|
||||||
|
"Fullscreen": "Plein écran",
|
||||||
|
"Non-Fullscreen": "Fenêtré",
|
||||||
|
"Mute": "Sourdine",
|
||||||
|
"Unmuted": "Son activé",
|
||||||
|
"Playback Rate": "Vitesse de lecture",
|
||||||
|
"Subtitles": "Sous-titres",
|
||||||
|
"subtitles off": "Sous-titres désactivés",
|
||||||
|
"Captions": "Sous-titres",
|
||||||
|
"captions off": "Sous-titres désactivés",
|
||||||
|
"Chapters": "Chapitres",
|
||||||
|
"You aborted the video playback": "Vous avez interrompu la lecture de la vidéo.",
|
||||||
|
"A network error caused the video download to fail part-way.": "Une erreur de réseau a interrompu le téléchargement de la vidéo.",
|
||||||
|
"The video could not be loaded, either because the server or network failed or because the format is not supported.": "Cette vidéo n'a pas pu être chargée, soit parce que le serveur ou le réseau a échoué ou parce que le format n'est pas reconnu.",
|
||||||
|
"The video playback was aborted due to a corruption problem or because the video used features your browser did not support.": "La lecture de la vidéo a été interrompue à cause d'un problème de corruption ou parce que la vidéo utilise des fonctionnalités non prises en charge par votre navigateur.",
|
||||||
|
"No compatible source was found for this video.": "Aucune source compatible n'a été trouvée pour cette vidéo."
|
||||||
|
});
|
26
upload/player/CB_video_js/lang/hu.js
Executable file
26
upload/player/CB_video_js/lang/hu.js
Executable file
|
@ -0,0 +1,26 @@
|
||||||
|
videojs.addLanguage("hu",{
|
||||||
|
"Play": "Lejátszás",
|
||||||
|
"Pause": "Szünet",
|
||||||
|
"Current Time": "Aktuális időpont",
|
||||||
|
"Duration Time": "Hossz",
|
||||||
|
"Remaining Time": "Hátralévő idő",
|
||||||
|
"Stream Type": "Adatfolyam típusa",
|
||||||
|
"LIVE": "ÉLŐ",
|
||||||
|
"Loaded": "Betöltve",
|
||||||
|
"Progress": "Állapot",
|
||||||
|
"Fullscreen": "Teljes képernyő",
|
||||||
|
"Non-Fullscreen": "Normál méret",
|
||||||
|
"Mute": "Némítás",
|
||||||
|
"Unmuted": "Némítás kikapcsolva",
|
||||||
|
"Playback Rate": "Lejátszási sebesség",
|
||||||
|
"Subtitles": "Feliratok",
|
||||||
|
"subtitles off": "Feliratok kikapcsolva",
|
||||||
|
"Captions": "Magyarázó szöveg",
|
||||||
|
"captions off": "Magyarázó szöveg kikapcsolva",
|
||||||
|
"Chapters": "Fejezetek",
|
||||||
|
"You aborted the video playback": "Leállította a lejátszást",
|
||||||
|
"A network error caused the video download to fail part-way.": "Hálózati hiba miatt a videó részlegesen töltődött le.",
|
||||||
|
"The video could not be loaded, either because the server or network failed or because the format is not supported.": "A videó nem tölthető be hálózati vagy kiszolgálói hiba miatt, vagy a formátuma nem támogatott.",
|
||||||
|
"The video playback was aborted due to a corruption problem or because the video used features your browser did not support.": "A lejátszás adatsérülés miatt leállt, vagy a videó egyes tulajdonságait a böngészője nem támogatja.",
|
||||||
|
"No compatible source was found for this video.": "Nincs kompatibilis forrás ehhez a videóhoz."
|
||||||
|
});
|
26
upload/player/CB_video_js/lang/it.js
Executable file
26
upload/player/CB_video_js/lang/it.js
Executable file
|
@ -0,0 +1,26 @@
|
||||||
|
videojs.addLanguage("it",{
|
||||||
|
"Play": "Play",
|
||||||
|
"Pause": "Pausa",
|
||||||
|
"Current Time": "Orario attuale",
|
||||||
|
"Duration Time": "Durata",
|
||||||
|
"Remaining Time": "Tempo rimanente",
|
||||||
|
"Stream Type": "Tipo del Streaming",
|
||||||
|
"LIVE": "LIVE",
|
||||||
|
"Loaded": "Caricato",
|
||||||
|
"Progress": "Stato",
|
||||||
|
"Fullscreen": "Schermo intero",
|
||||||
|
"Non-Fullscreen": "Chiudi schermo intero",
|
||||||
|
"Mute": "Muto",
|
||||||
|
"Unmuted": "Audio",
|
||||||
|
"Playback Rate": "Tasso di riproduzione",
|
||||||
|
"Subtitles": "Sottotitoli",
|
||||||
|
"subtitles off": "Senza sottotitoli",
|
||||||
|
"Captions": "Sottotitoli non udenti",
|
||||||
|
"captions off": "Senza sottotitoli non udenti",
|
||||||
|
"Chapters": "Capitolo",
|
||||||
|
"You aborted the video playback": "La riproduzione del filmato è stata interrotta.",
|
||||||
|
"A network error caused the video download to fail part-way.": "Il download del filmato è stato interrotto a causa di un problema rete.",
|
||||||
|
"The video could not be loaded, either because the server or network failed or because the format is not supported.": "Il filmato non può essere caricato a causa di un errore nel server o nella rete o perché il formato non viene supportato.",
|
||||||
|
"The video playback was aborted due to a corruption problem or because the video used features your browser did not support.": "La riproduzione del filmato è stata interrotta a causa di un file danneggiato o per l’utilizzo di impostazioni non supportate dal browser.",
|
||||||
|
"No compatible source was found for this video.": "Non ci sono fonti compatibili per questo filmato."
|
||||||
|
});
|
26
upload/player/CB_video_js/lang/ja.js
Executable file
26
upload/player/CB_video_js/lang/ja.js
Executable file
|
@ -0,0 +1,26 @@
|
||||||
|
videojs.addLanguage("ja",{
|
||||||
|
"Play": "再生",
|
||||||
|
"Pause": "一時停止",
|
||||||
|
"Current Time": "現在の時間",
|
||||||
|
"Duration Time": "長さ",
|
||||||
|
"Remaining Time": "残りの時間",
|
||||||
|
"Stream Type": "ストリームの種類",
|
||||||
|
"LIVE": "ライブ",
|
||||||
|
"Loaded": "ロード済み",
|
||||||
|
"Progress": "進行状況",
|
||||||
|
"Fullscreen": "フルスクリーン",
|
||||||
|
"Non-Fullscreen": "フルスクリーン以外",
|
||||||
|
"Mute": "ミュート",
|
||||||
|
"Unmuted": "ミュート解除",
|
||||||
|
"Playback Rate": "再生レート",
|
||||||
|
"Subtitles": "サブタイトル",
|
||||||
|
"subtitles off": "サブタイトル オフ",
|
||||||
|
"Captions": "キャプション",
|
||||||
|
"captions off": "キャプション オフ",
|
||||||
|
"Chapters": "チャプター",
|
||||||
|
"You aborted the video playback": "動画再生を中止しました",
|
||||||
|
"A network error caused the video download to fail part-way.": "ネットワーク エラーにより動画のダウンロードが途中で失敗しました",
|
||||||
|
"The video could not be loaded, either because the server or network failed or because the format is not supported.": "サーバーまたはネットワークのエラー、またはフォーマットがサポートされていないため、動画をロードできませんでした",
|
||||||
|
"The video playback was aborted due to a corruption problem or because the video used features your browser did not support.": "破損の問題、またはお使いのブラウザがサポートしていない機能が動画に使用されていたため、動画の再生が中止されました",
|
||||||
|
"No compatible source was found for this video.": "この動画に対して互換性のあるソースが見つかりませんでした"
|
||||||
|
});
|
26
upload/player/CB_video_js/lang/ko.js
Executable file
26
upload/player/CB_video_js/lang/ko.js
Executable file
|
@ -0,0 +1,26 @@
|
||||||
|
videojs.addLanguage("ko",{
|
||||||
|
"Play": "재생",
|
||||||
|
"Pause": "일시중지",
|
||||||
|
"Current Time": "현재 시간",
|
||||||
|
"Duration Time": "지정 기간",
|
||||||
|
"Remaining Time": "남은 시간",
|
||||||
|
"Stream Type": "스트리밍 유형",
|
||||||
|
"LIVE": "라이브",
|
||||||
|
"Loaded": "로드됨",
|
||||||
|
"Progress": "진행",
|
||||||
|
"Fullscreen": "전체 화면",
|
||||||
|
"Non-Fullscreen": "전체 화면 해제",
|
||||||
|
"Mute": "음소거",
|
||||||
|
"Unmuted": "음소거 해제",
|
||||||
|
"Playback Rate": "재생 비율",
|
||||||
|
"Subtitles": "서브타이틀",
|
||||||
|
"subtitles off": "서브타이틀 끄기",
|
||||||
|
"Captions": "자막",
|
||||||
|
"captions off": "자막 끄기",
|
||||||
|
"Chapters": "챕터",
|
||||||
|
"You aborted the video playback": "비디오 재생을 취소했습니다.",
|
||||||
|
"A network error caused the video download to fail part-way.": "네트워크 오류로 인하여 비디오 일부를 다운로드하지 못 했습니다.",
|
||||||
|
"The video could not be loaded, either because the server or network failed or because the format is not supported.": "비디오를 로드할 수 없습니다. 서버 혹은 네트워크 오류 때문이거나 지원되지 않는 형식 때문일 수 있습니다.",
|
||||||
|
"The video playback was aborted due to a corruption problem or because the video used features your browser did not support.": "비디오 재생이 취소됐습니다. 비디오가 손상되었거나 비디오가 사용하는 기능을 브라우저에서 지원하지 않는 것 같습니다.",
|
||||||
|
"No compatible source was found for this video.": "비디오에 호환되지 않는 소스가 있습니다."
|
||||||
|
});
|
26
upload/player/CB_video_js/lang/nl.js
Executable file
26
upload/player/CB_video_js/lang/nl.js
Executable file
|
@ -0,0 +1,26 @@
|
||||||
|
videojs.addLanguage("nl",{
|
||||||
|
"Play": "Afspelen",
|
||||||
|
"Pause": "Pauze",
|
||||||
|
"Current Time": "Huidige Tijd",
|
||||||
|
"Duration Time": "Looptijd",
|
||||||
|
"Remaining Time": "Resterende Tijd",
|
||||||
|
"Stream Type": "Stream Type",
|
||||||
|
"LIVE": "LIVE",
|
||||||
|
"Loaded": "Geladen",
|
||||||
|
"Progress": "Status",
|
||||||
|
"Fullscreen": "Volledig scherm",
|
||||||
|
"Non-Fullscreen": "Geen volledig scherm",
|
||||||
|
"Mute": "Geluid Uit",
|
||||||
|
"Unmuted": "Geluid Aan",
|
||||||
|
"Playback Rate": "Weergave Rate",
|
||||||
|
"Subtitles": "Ondertiteling",
|
||||||
|
"subtitles off": "Ondertiteling uit",
|
||||||
|
"Captions": "Onderschriften",
|
||||||
|
"captions off": "Onderschriften uit",
|
||||||
|
"Chapters": "Hoofdstukken",
|
||||||
|
"You aborted the video playback": "Je hebt de video weergave afgebroken.",
|
||||||
|
"A network error caused the video download to fail part-way.": "De video download is mislukt door een netwerkfout.",
|
||||||
|
"The video could not be loaded, either because the server or network failed or because the format is not supported.": "De video kon niet worden geladen, veroorzaakt door een server of netwerkfout of het formaat word niet ondersteund.",
|
||||||
|
"The video playback was aborted due to a corruption problem or because the video used features your browser did not support.": "De video weergave is afgebroken omdat deze beschadigd is of de video gebruikt functionaliteit die niet door je browser word ondersteund.",
|
||||||
|
"No compatible source was found for this video.": "Voor deze video is geen ondersteunde bron gevonden."
|
||||||
|
});
|
26
upload/player/CB_video_js/lang/pt-BR.js
Executable file
26
upload/player/CB_video_js/lang/pt-BR.js
Executable file
|
@ -0,0 +1,26 @@
|
||||||
|
videojs.addLanguage("pt-BR",{
|
||||||
|
"Play": "Tocar",
|
||||||
|
"Pause": "Pause",
|
||||||
|
"Current Time": "Tempo",
|
||||||
|
"Duration Time": "Duração",
|
||||||
|
"Remaining Time": "Tempo Restante",
|
||||||
|
"Stream Type": "Tipo de Stream",
|
||||||
|
"LIVE": "AO VIVO",
|
||||||
|
"Loaded": "Carregado",
|
||||||
|
"Progress": "Progressão",
|
||||||
|
"Fullscreen": "Tela Cheia",
|
||||||
|
"Non-Fullscreen": "Tela Normal",
|
||||||
|
"Mute": "Mudo",
|
||||||
|
"Unmuted": "Habilitar Som",
|
||||||
|
"Playback Rate": "Velocidade",
|
||||||
|
"Subtitles": "Legendas",
|
||||||
|
"subtitles off": "Sem Legendas",
|
||||||
|
"Captions": "Anotações",
|
||||||
|
"captions off": "Sem Anotações",
|
||||||
|
"Chapters": "Capítulos",
|
||||||
|
"You aborted the video playback": "Você parou a execução de vídeo.",
|
||||||
|
"A network error caused the video download to fail part-way.": "Um erro na rede fez o vídeo parar parcialmente.",
|
||||||
|
"The video could not be loaded, either because the server or network failed or because the format is not supported.": "O vídeo não pode ser carregado, ou porque houve um problema com sua rede ou pelo formato do vídeo não ser suportado.",
|
||||||
|
"The video playback was aborted due to a corruption problem or because the video used features your browser did not support.": "A Execução foi interrompida por um problema com o vídeo ou por seu navegador não dar suporte ao seu formato.",
|
||||||
|
"No compatible source was found for this video.": "Não foi encontrada fonte de vídeo compatível."
|
||||||
|
});
|
26
upload/player/CB_video_js/lang/ru.js
Executable file
26
upload/player/CB_video_js/lang/ru.js
Executable file
|
@ -0,0 +1,26 @@
|
||||||
|
videojs.addLanguage("ru",{
|
||||||
|
"Play": "Воспроизвести",
|
||||||
|
"Pause": "Приостановить",
|
||||||
|
"Current Time": "Текущее время",
|
||||||
|
"Duration Time": "Продолжительность",
|
||||||
|
"Remaining Time": "Оставшееся время",
|
||||||
|
"Stream Type": "Тип потока",
|
||||||
|
"LIVE": "ОНЛАЙН",
|
||||||
|
"Loaded": "Загрузка",
|
||||||
|
"Progress": "Прогресс",
|
||||||
|
"Fullscreen": "Полноэкранный режим",
|
||||||
|
"Non-Fullscreen": "Неполноэкранный режим",
|
||||||
|
"Mute": "Без звука",
|
||||||
|
"Unmuted": "Со звуком",
|
||||||
|
"Playback Rate": "Скорость воспроизведения",
|
||||||
|
"Subtitles": "Субтитры",
|
||||||
|
"subtitles off": "Субтитры выкл.",
|
||||||
|
"Captions": "Подписи",
|
||||||
|
"captions off": "Подписи выкл.",
|
||||||
|
"Chapters": "Главы",
|
||||||
|
"You aborted the video playback": "Вы прервали воспроизведение видео",
|
||||||
|
"A network error caused the video download to fail part-way.": "Ошибка сети вызвала сбой во время загрузки видео.",
|
||||||
|
"The video could not be loaded, either because the server or network failed or because the format is not supported.": "Невозможно загрузить видео из-за сетевого или серверного сбоя либо формат не поддерживается.",
|
||||||
|
"The video playback was aborted due to a corruption problem or because the video used features your browser did not support.": "Воспроизведение видео было приостановлено из-за повреждения либо в связи с тем, что видео использует функции, неподдерживаемые вашим браузером.",
|
||||||
|
"No compatible source was found for this video.": "Совместимые источники для этого видео отсутствуют."
|
||||||
|
});
|
26
upload/player/CB_video_js/lang/tr.js
Executable file
26
upload/player/CB_video_js/lang/tr.js
Executable file
|
@ -0,0 +1,26 @@
|
||||||
|
videojs.addLanguage("tr",{
|
||||||
|
"Play": "Oynat",
|
||||||
|
"Pause": "Duraklat",
|
||||||
|
"Current Time": "Süre",
|
||||||
|
"Duration Time": "Toplam Süre",
|
||||||
|
"Remaining Time": "Kalan Süre",
|
||||||
|
"Stream Type": "Yayın Tipi",
|
||||||
|
"LIVE": "CANLI",
|
||||||
|
"Loaded": "Yüklendi",
|
||||||
|
"Progress": "Yükleniyor",
|
||||||
|
"Fullscreen": "Tam Ekran",
|
||||||
|
"Non-Fullscreen": "Küçük Ekran",
|
||||||
|
"Mute": "Ses Kapa",
|
||||||
|
"Unmuted": "Ses Aç",
|
||||||
|
"Playback Rate": "Oynatma Hızı",
|
||||||
|
"Subtitles": "Altyazı",
|
||||||
|
"subtitles off": "Altyazı Kapat",
|
||||||
|
"Captions": "Ek Açıklamalar",
|
||||||
|
"captions off": "Ek Açıklamalar Kapalı",
|
||||||
|
"Chapters": "Bölümler",
|
||||||
|
"You aborted the video playback": "Video oynatmayı iptal ettiniz",
|
||||||
|
"A network error caused the video download to fail part-way.": "Video indirilirken bağlantı sorunu oluştu.",
|
||||||
|
"The video could not be loaded, either because the server or network failed or because the format is not supported.": "Video oynatılamadı, Ağ yada sunucu hattası veya belirtilen format desteklenmiyor.",
|
||||||
|
"The video playback was aborted due to a corruption problem or because the video used features your browser did not support.": "Tarayıcınız desteklemediği için videoda hata oluştu.",
|
||||||
|
"No compatible source was found for this video.": "Video için kaynak bulunamadı."
|
||||||
|
});
|
26
upload/player/CB_video_js/lang/uk.js
Executable file
26
upload/player/CB_video_js/lang/uk.js
Executable file
|
@ -0,0 +1,26 @@
|
||||||
|
videojs.addLanguage("uk",{
|
||||||
|
"Play": "Відтворити",
|
||||||
|
"Pause": "Призупинити",
|
||||||
|
"Current Time": "Поточний час",
|
||||||
|
"Duration Time": "Тривалість",
|
||||||
|
"Remaining Time": "Час, що залишився",
|
||||||
|
"Stream Type": "Тип потоку",
|
||||||
|
"LIVE": "НАЖИВО",
|
||||||
|
"Loaded": "Завантаження",
|
||||||
|
"Progress": "Прогрес",
|
||||||
|
"Fullscreen": "Повноекранний режим",
|
||||||
|
"Non-Fullscreen": "Неповноекранний режим",
|
||||||
|
"Mute": "Без звуку",
|
||||||
|
"Unmuted": "Зі звуком",
|
||||||
|
"Playback Rate": "Швидкість відтворення",
|
||||||
|
"Subtitles": "Субтитри",
|
||||||
|
"subtitles off": "Без субтитрів",
|
||||||
|
"Captions": "Підписи",
|
||||||
|
"captions off": "Без підписів",
|
||||||
|
"Chapters": "Розділи",
|
||||||
|
"You aborted the video playback": "Ви припинили відтворення відео",
|
||||||
|
"A network error caused the video download to fail part-way.": "Помилка мережі викликала збій під час завантаження відео.",
|
||||||
|
"The video could not be loaded, either because the server or network failed or because the format is not supported.": "Неможливо завантажити відео через мережевий чи серверний збій або формат не підтримується.",
|
||||||
|
"The video playback was aborted due to a corruption problem or because the video used features your browser did not support.": "Відтворення відео було припинено через пошкодження або у зв'язку з тим, що відео використовує функції, які не підтримуються вашим браузером.",
|
||||||
|
"No compatible source was found for this video.": "Сумісні джерела для цього відео відсутні."
|
||||||
|
});
|
26
upload/player/CB_video_js/lang/vi.js
Executable file
26
upload/player/CB_video_js/lang/vi.js
Executable file
|
@ -0,0 +1,26 @@
|
||||||
|
videojs.addLanguage("vi",{
|
||||||
|
"Play": "Phát",
|
||||||
|
"Pause": "Tạm dừng",
|
||||||
|
"Current Time": "Thời gian hiện tại",
|
||||||
|
"Duration Time": "Độ dài",
|
||||||
|
"Remaining Time": "Thời gian còn lại",
|
||||||
|
"Stream Type": "Kiểu Stream",
|
||||||
|
"LIVE": "TRỰC TIẾP",
|
||||||
|
"Loaded": "Đã tải",
|
||||||
|
"Progress": "Tiến trình",
|
||||||
|
"Fullscreen": "Toàn màn hình",
|
||||||
|
"Non-Fullscreen": "Thoát toàn màn hình",
|
||||||
|
"Mute": "Tắt tiếng",
|
||||||
|
"Unmuted": "Bật âm thanh",
|
||||||
|
"Playback Rate": "Tốc độ phát",
|
||||||
|
"Subtitles": "Phụ đề",
|
||||||
|
"subtitles off": "Tắt phụ đề",
|
||||||
|
"Captions": "Chú thích",
|
||||||
|
"captions off": "Tắt chú thích",
|
||||||
|
"Chapters": "Chương",
|
||||||
|
"You aborted the video playback": "Bạn đã hủy việc phát video.",
|
||||||
|
"A network error caused the video download to fail part-way.": "Một lỗi mạng dẫn đến việc tải video bị lỗi.",
|
||||||
|
"The video could not be loaded, either because the server or network failed or because the format is not supported.": "Video không tải được, mạng hay server có lỗi hoặc định dạng không được hỗ trợ.",
|
||||||
|
"The video playback was aborted due to a corruption problem or because the video used features your browser did not support.": "Phát video đã bị hủy do một sai lỗi hoặc video sử dụng những tính năng trình duyệt không hỗ trợ.",
|
||||||
|
"No compatible source was found for this video.": "Không có nguồn tương thích cho video này."
|
||||||
|
});
|
27
upload/player/CB_video_js/lang/zh-CN.js
Executable file
27
upload/player/CB_video_js/lang/zh-CN.js
Executable file
|
@ -0,0 +1,27 @@
|
||||||
|
videojs.addLanguage("zh-CN",{
|
||||||
|
"Play": "播放",
|
||||||
|
"Pause": "暂停",
|
||||||
|
"Current Time": "当前时间",
|
||||||
|
"Duration Time": "时长",
|
||||||
|
"Remaining Time": "剩余时间",
|
||||||
|
"Stream Type": "媒体流类型",
|
||||||
|
"LIVE": "直播",
|
||||||
|
"Loaded": "加载完毕",
|
||||||
|
"Progress": "进度",
|
||||||
|
"Fullscreen": "全屏",
|
||||||
|
"Non-Fullscreen": "退出全屏",
|
||||||
|
"Mute": "静音",
|
||||||
|
"Unmuted": "取消静音",
|
||||||
|
"Playback Rate": "播放码率",
|
||||||
|
"Subtitles": "字幕",
|
||||||
|
"subtitles off": "字幕关闭",
|
||||||
|
"Captions": "内嵌字幕",
|
||||||
|
"captions off": "内嵌字幕关闭",
|
||||||
|
"Chapters": "节目段落",
|
||||||
|
"You aborted the video playback": "视频播放被终止",
|
||||||
|
"A network error caused the video download to fail part-way.": "网络错误导致视频下载中途失败。",
|
||||||
|
"The video could not be loaded, either because the server or network failed or because the format is not supported.": "视频因格式不支持或者服务器或网络的问题无法加载。",
|
||||||
|
"The video playback was aborted due to a corruption problem or because the video used features your browser did not support.": "由于视频文件损坏或是该视频使用了你的浏览器不支持的功能,播放终止。",
|
||||||
|
"No compatible source was found for this video.": "无法找到此视频兼容的源。",
|
||||||
|
"The video is encrypted and we do not have the keys to decrypt it.": "视频已加密,无法解密。"
|
||||||
|
});
|
27
upload/player/CB_video_js/lang/zh-TW.js
Executable file
27
upload/player/CB_video_js/lang/zh-TW.js
Executable file
|
@ -0,0 +1,27 @@
|
||||||
|
videojs.addLanguage("zh-TW",{
|
||||||
|
"Play": "播放",
|
||||||
|
"Pause": "暫停",
|
||||||
|
"Current Time": "目前時間",
|
||||||
|
"Duration Time": "總共時間",
|
||||||
|
"Remaining Time": "剩餘時間",
|
||||||
|
"Stream Type": "串流類型",
|
||||||
|
"LIVE": "直播",
|
||||||
|
"Loaded": "載入完畢",
|
||||||
|
"Progress": "進度",
|
||||||
|
"Fullscreen": "全螢幕",
|
||||||
|
"Non-Fullscreen": "退出全螢幕",
|
||||||
|
"Mute": "靜音",
|
||||||
|
"Unmuted": "取消靜音",
|
||||||
|
"Playback Rate": " 播放速率",
|
||||||
|
"Subtitles": "字幕",
|
||||||
|
"subtitles off": "關閉字幕",
|
||||||
|
"Captions": "內嵌字幕",
|
||||||
|
"captions off": "關閉內嵌字幕",
|
||||||
|
"Chapters": "章節",
|
||||||
|
"You aborted the video playback": "影片播放已終止",
|
||||||
|
"A network error caused the video download to fail part-way.": "網路錯誤導致影片下載失敗。",
|
||||||
|
"The video could not be loaded, either because the server or network failed or because the format is not supported.": "影片因格式不支援或者伺服器或網路的問題無法載入。",
|
||||||
|
"The video playback was aborted due to a corruption problem or because the video used features your browser did not support.": "由於影片檔案損毀或是該影片使用了您的瀏覽器不支援的功能,播放終止。",
|
||||||
|
"No compatible source was found for this video.": "無法找到相容此影片的來源。",
|
||||||
|
"The video is encrypted and we do not have the keys to decrypt it.": "影片已加密,無法解密。"
|
||||||
|
});
|
1422
upload/player/CB_video_js/less/video-js.less
Executable file
1422
upload/player/CB_video_js/less/video-js.less
Executable file
File diff suppressed because it is too large
Load diff
9939
upload/player/CB_video_js/video.novtt.dev.js
Executable file
9939
upload/player/CB_video_js/video.novtt.dev.js
Executable file
File diff suppressed because it is too large
Load diff
199
upload/player/CB_video_js/video.novtt.js
Executable file
199
upload/player/CB_video_js/video.novtt.js
Executable file
|
@ -0,0 +1,199 @@
|
||||||
|
(function() {var b=void 0,f=!0,j=null,l=!1;function m(){return function(){}}function n(a){return function(){return this[a]}}function p(a){return function(){return a}}var s;document.createElement("video");document.createElement("audio");document.createElement("track");
|
||||||
|
function t(a,c,d){if("string"===typeof a){0===a.indexOf("#")&&(a=a.slice(1));if(t.Da[a])return c&&t.log.warn('Player "'+a+'" is already initialised. Options will not be applied.'),d&&t.Da[a].I(d),t.Da[a];a=t.m(a)}if(!a||!a.nodeName)throw new TypeError("The element or ID supplied is not valid. (videojs)");return a.player||new t.Player(a,c,d)}var videojs=window.videojs=t;t.jc="4.12";t.wd="https:"==document.location.protocol?"https://":"http://";t.VERSION="4.12.11";
|
||||||
|
t.options={techOrder:["html5","flash"],html5:{},flash:{},width:300,height:150,defaultVolume:0,playbackRates:[],inactivityTimeout:2E3,children:{mediaLoader:{},posterImage:{},loadingSpinner:{},textTrackDisplay:{},bigPlayButton:{},controlBar:{},errorDisplay:{},textTrackSettings:{}},language:document.getElementsByTagName("html")[0].getAttribute("lang")||navigator.languages&&navigator.languages[0]||navigator.Jf||navigator.language||"en",languages:{},notSupportedMessage:"No compatible source was found for this video."};
|
||||||
|
"GENERATED_CDN_VSN"!==t.jc&&(videojs.options.flash.swf=t.wd+"vjs.zencdn.net/"+t.jc+"/video-js.swf");t.Kd=function(a,c){t.options.languages[a]=t.options.languages[a]!==b?t.$.Ba(t.options.languages[a],c):c;return t.options.languages};t.Da={};"function"===typeof define&&define.amd?define("videojs",[],function(){return videojs}):"object"===typeof exports&&"object"===typeof module&&(module.exports=videojs);t.Ha=t.CoreObject=m();
|
||||||
|
t.Ha.extend=function(a){var c,d;a=a||{};c=a.init||a.l||this.prototype.init||this.prototype.l||m();d=function(){c.apply(this,arguments)};d.prototype=t.i.create(this.prototype);d.prototype.constructor=d;d.extend=t.Ha.extend;d.create=t.Ha.create;for(var e in a)a.hasOwnProperty(e)&&(d.prototype[e]=a[e]);return d};t.Ha.create=function(){var a=t.i.create(this.prototype);this.apply(a,arguments);return a};
|
||||||
|
t.b=function(a,c,d){if(t.i.isArray(c))return v(t.b,a,c,d);var e=t.getData(a);e.G||(e.G={});e.G[c]||(e.G[c]=[]);d.s||(d.s=t.s++);e.G[c].push(d);e.ca||(e.disabled=l,e.ca=function(c){if(!e.disabled){c=t.Qb(c);var d=e.G[c.type];if(d)for(var d=d.slice(0),k=0,q=d.length;k<q&&!c.Rc();k++)d[k].call(a,c)}});1==e.G[c].length&&(a.addEventListener?a.addEventListener(c,e.ca,l):a.attachEvent&&a.attachEvent("on"+c,e.ca))};
|
||||||
|
t.n=function(a,c,d){if(t.Mc(a)){var e=t.getData(a);if(e.G){if(t.i.isArray(c))return v(t.n,a,c,d);if(c){var g=e.G[c];if(g){if(d){if(d.s)for(e=0;e<g.length;e++)g[e].s===d.s&&g.splice(e--,1)}else e.G[c]=[];t.Bc(a,c)}}else for(g in e.G)c=g,e.G[c]=[],t.Bc(a,c)}}};t.Bc=function(a,c){var d=t.getData(a);0===d.G[c].length&&(delete d.G[c],a.removeEventListener?a.removeEventListener(c,d.ca,l):a.detachEvent&&a.detachEvent("on"+c,d.ca));t.kb(d.G)&&(delete d.G,delete d.ca,delete d.disabled);t.kb(d)&&t.cd(a)};
|
||||||
|
t.Qb=function(a){function c(){return f}function d(){return l}if(!a||!a.Wb){var e=a||window.event;a={};for(var g in e)"layerX"!==g&&("layerY"!==g&&"keyLocation"!==g)&&("returnValue"==g&&e.preventDefault||(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.je=c;a.defaultPrevented=f};a.je=d;a.defaultPrevented=l;a.stopPropagation=function(){e.stopPropagation&&
|
||||||
|
e.stopPropagation();a.cancelBubble=f;a.Wb=c};a.Wb=d;a.stopImmediatePropagation=function(){e.stopImmediatePropagation&&e.stopImmediatePropagation();a.Rc=c;a.stopPropagation()};a.Rc=d;if(a.clientX!=j){g=document.documentElement;var h=document.body;a.pageX=a.clientX+(g&&g.scrollLeft||h&&h.scrollLeft||0)-(g&&g.clientLeft||h&&h.clientLeft||0);a.pageY=a.clientY+(g&&g.scrollTop||h&&h.scrollTop||0)-(g&&g.clientTop||h&&h.clientTop||0)}a.which=a.charCode||a.keyCode;a.button!=j&&(a.button=a.button&1?0:a.button&
|
||||||
|
4?1:a.button&2?2:0)}return a};t.o=function(a,c){var d=t.Mc(a)?t.getData(a):{},e=a.parentNode||a.ownerDocument;"string"===typeof c&&(c={type:c,target:a});c=t.Qb(c);d.ca&&d.ca.call(a,c);if(e&&!c.Wb()&&c.bubbles!==l)t.o(e,c);else if(!e&&!c.defaultPrevented&&(d=t.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.defaultPrevented};
|
||||||
|
t.N=function(a,c,d){function e(){t.n(a,c,e);d.apply(this,arguments)}if(t.i.isArray(c))return v(t.N,a,c,d);e.s=d.s=d.s||t.s++;t.b(a,c,e)};function v(a,c,d,e){t.xc.forEach(d,function(d){a(c,d,e)})}var w=Object.prototype.hasOwnProperty;t.f=function(a,c){var d;c=c||{};d=document.createElement(a||"div");t.i.da(c,function(a,c){-1!==a.indexOf("aria-")||"role"==a?d.setAttribute(a,c):d[a]=c});return d};t.wa=function(a){return a.charAt(0).toUpperCase()+a.slice(1)};t.i={};
|
||||||
|
t.i.create=Object.create||function(a){function c(){}c.prototype=a;return new c};t.i.da=function(a,c,d){for(var e in a)w.call(a,e)&&c.call(d||this,e,a[e])};t.i.D=function(a,c){if(!c)return a;for(var d in c)w.call(c,d)&&(a[d]=c[d]);return a};t.i.Sd=function(a,c){var d,e,g;a=t.i.copy(a);for(d in c)w.call(c,d)&&(e=a[d],g=c[d],a[d]=t.i.lb(e)&&t.i.lb(g)?t.i.Sd(e,g):c[d]);return a};t.i.copy=function(a){return t.i.D({},a)};
|
||||||
|
t.i.lb=function(a){return!!a&&"object"===typeof a&&"[object Object]"===a.toString()&&a.constructor===Object};t.i.isArray=Array.isArray||function(a){return"[object Array]"===Object.prototype.toString.call(a)};t.le=function(a){return a!==a};t.bind=function(a,c,d){function e(){return c.apply(a,arguments)}c.s||(c.s=t.s++);e.s=d?d+"_"+c.s:c.s;return e};t.va={};t.s=1;t.expando="vdata"+(new Date).getTime();t.getData=function(a){var c=a[t.expando];c||(c=a[t.expando]=t.s++);t.va[c]||(t.va[c]={});return t.va[c]};
|
||||||
|
t.Mc=function(a){a=a[t.expando];return!(!a||t.kb(t.va[a]))};t.cd=function(a){var c=a[t.expando];if(c){delete t.va[c];try{delete a[t.expando]}catch(d){a.removeAttribute?a.removeAttribute(t.expando):a[t.expando]=j}}};t.kb=function(a){for(var c in a)if(a[c]!==j)return l;return f};t.Qa=function(a,c){return-1!==(" "+a.className+" ").indexOf(" "+c+" ")};t.p=function(a,c){t.Qa(a,c)||(a.className=""===a.className?c:a.className+" "+c)};
|
||||||
|
t.r=function(a,c){var d,e;if(t.Qa(a,c)){d=a.className.split(" ");for(e=d.length-1;0<=e;e--)d[e]===c&&d.splice(e,1);a.className=d.join(" ")}};t.A=t.f("video");var x=document.createElement("track");x.Xb="captions";x.jd="en";x.label="English";t.A.appendChild(x);t.P=navigator.userAgent;t.Dd=/iPhone/i.test(t.P);t.Cd=/iPad/i.test(t.P);t.Ed=/iPod/i.test(t.P);t.Bd=t.Dd||t.Cd||t.Ed;var aa=t,y;var z=t.P.match(/OS (\d+)_/i);y=z&&z[1]?z[1]:b;aa.lf=y;t.Ad=/Android/i.test(t.P);var ba=t,B;
|
||||||
|
var C=t.P.match(/Android (\d+)(?:\.(\d+))?(?:\.(\d+))*/i),D,E;C?(D=C[1]&&parseFloat(C[1]),E=C[2]&&parseFloat(C[2]),B=D&&E?parseFloat(C[1]+"."+C[2]):D?D:j):B=j;ba.ic=B;t.Fd=t.Ad&&/webkit/i.test(t.P)&&2.3>t.ic;t.kc=/Firefox/i.test(t.P);t.mf=/Chrome/i.test(t.P);t.qa=/MSIE\s8\.0/.test(t.P);t.Gb=!!("ontouchstart"in window||window.yd&&document instanceof window.yd);t.xd="backgroundSize"in t.A.style;
|
||||||
|
t.ed=function(a,c){t.i.da(c,function(c,e){e===j||"undefined"===typeof e||e===l?a.removeAttribute(c):a.setAttribute(c,e===f?"":e)})};t.Pa=function(a){var c,d,e,g;c={};if(a&&a.attributes&&0<a.attributes.length){d=a.attributes;for(var h=d.length-1;0<=h;h--){e=d[h].name;g=d[h].value;if("boolean"===typeof a[e]||-1!==",autoplay,controls,loop,muted,default,".indexOf(","+e+","))g=g!==j?f:l;c[e]=g}}return c};
|
||||||
|
t.wf=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};t.Vb=function(a,c){c.firstChild?c.insertBefore(a,c.firstChild):c.appendChild(a)};t.eb={};t.m=function(a){0===a.indexOf("#")&&(a=a.slice(1));return document.getElementById(a)};
|
||||||
|
t.Oa=function(a,c){c=c||a;var d=Math.floor(a%60),e=Math.floor(a/60%60),g=Math.floor(a/3600),h=Math.floor(c/60%60),k=Math.floor(c/3600);if(isNaN(a)||Infinity===a)g=e=d="-";g=0<g||0<k?g+":":"";return g+(((g||10<=h)&&10>e?"0"+e:e)+":")+(10>d?"0"+d:d)};t.Md=function(){document.body.focus();document.onselectstart=p(l)};t.bf=function(){document.onselectstart=p(f)};t.trim=function(a){return(a+"").replace(/^\s+|\s+$/g,"")};t.round=function(a,c){c||(c=0);return Math.round(a*Math.pow(10,c))/Math.pow(10,c)};
|
||||||
|
t.ya=function(a,c){return a===b&&c===b?{length:0,start:function(){throw Error("This TimeRanges object is empty");},end:function(){throw Error("This TimeRanges object is empty");}}:{length:1,start:function(){return a},end:function(){return c}}};t.Ne=function(a){try{var c=window.localStorage||l;c&&(c.volume=a)}catch(d){22==d.code||1014==d.code?t.log("LocalStorage Full (VideoJS)",d):18==d.code?t.log("LocalStorage not allowed (VideoJS)",d):t.log("LocalStorage Error (VideoJS)",d)}};
|
||||||
|
t.ae=function(a){a.match(/^https?:\/\//)||(a=t.f("div",{innerHTML:'<a href="'+a+'">x</a>'}).firstChild.href);return a};
|
||||||
|
t.Fe=function(a){var c,d,e,g;g="protocol hostname port pathname search hash host".split(" ");d=t.f("a",{href:a});if(e=""===d.host&&"file:"!==d.protocol)c=t.f("div"),c.innerHTML='<a href="'+a+'"></a>',d=c.firstChild,c.setAttribute("style","display:none; position:absolute;"),document.body.appendChild(c);a={};for(var h=0;h<g.length;h++)a[g[h]]=d[g[h]];"http:"===a.protocol&&(a.host=a.host.replace(/:80$/,""));"https:"===a.protocol&&(a.host=a.host.replace(/:443$/,""));e&&document.body.removeChild(c);return a};
|
||||||
|
function F(a,c){var d,e;d=Array.prototype.slice.call(c);e=m();e=window.console||{log:e,warn:e,error:e};a?d.unshift(a.toUpperCase()+":"):a="log";t.log.history.push(d);d.unshift("VIDEOJS:");if(e[a].apply)e[a].apply(e,d);else e[a](d.join(" "))}t.log=function(){F(j,arguments)};t.log.history=[];t.log.error=function(){F("error",arguments)};t.log.warn=function(){F("warn",arguments)};
|
||||||
|
t.Zd=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:t.round(c.left+(window.pageXOffset||d.scrollLeft)-(a.clientLeft||d.clientLeft||0)),top:t.round(c.top+(window.pageYOffset||d.scrollTop)-(a.clientTop||d.clientTop||0))}};t.xc={};t.xc.forEach=function(a,c,d){if(t.i.isArray(a)&&c instanceof Function)for(var e=0,g=a.length;e<g;++e)c.call(d||t,a[e],e,a);return a};
|
||||||
|
t.gf=function(a,c){var d,e,g,h,k,q,r;"string"===typeof a&&(a={uri:a});videojs.$.Ba({method:"GET",timeout:45E3},a);c=c||m();q=function(){window.clearTimeout(k);c(j,e,e.response||e.responseText)};r=function(a){window.clearTimeout(k);if(!a||"string"===typeof a)a=Error(a);c(a,e)};d=window.XMLHttpRequest;"undefined"===typeof d&&(d=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.");
|
||||||
|
});e=new d;e.uri=a.uri;d=t.Fe(a.uri);g=window.location;d.protocol+d.host!==g.protocol+g.host&&window.XDomainRequest&&!("withCredentials"in e)?(e=new window.XDomainRequest,e.onload=q,e.onerror=r,e.onprogress=m(),e.ontimeout=m()):(h="file:"==d.protocol||"file:"==g.protocol,e.onreadystatechange=function(){if(4===e.readyState){if(e.Ze)return r("timeout");200===e.status||h&&0===e.status?q():r()}},a.timeout&&(k=window.setTimeout(function(){4!==e.readyState&&(e.Ze=f,e.abort())},a.timeout)));try{e.open(a.method||
|
||||||
|
"GET",a.uri,f)}catch(u){r(u);return}a.withCredentials&&(e.withCredentials=f);a.responseType&&(e.responseType=a.responseType);try{e.send()}catch(A){r(A)}};t.$={};t.$.Ba=function(a,c){var d,e,g;a=t.i.copy(a);for(d in c)c.hasOwnProperty(d)&&(e=a[d],g=c[d],a[d]=t.i.lb(e)&&t.i.lb(g)?t.$.Ba(e,g):c[d]);return a};t.z=m();s=t.z.prototype;s.cb={};s.b=function(a,c){var d=this.addEventListener;this.addEventListener=Function.prototype;t.b(this,a,c);this.addEventListener=d};s.addEventListener=t.z.prototype.b;
|
||||||
|
s.n=function(a,c){t.n(this,a,c)};s.removeEventListener=t.z.prototype.n;s.N=function(a,c){t.N(this,a,c)};s.o=function(a){var c=a.type||a;"string"===typeof a&&(a={type:c});a=t.Qb(a);if(this.cb[c]&&this["on"+c])this["on"+c](a);t.o(this,a)};s.dispatchEvent=t.z.prototype.o;
|
||||||
|
t.a=t.Ha.extend({l:function(a,c,d){this.d=a;this.q=t.i.copy(this.q);c=this.options(c);this.Ra=c.id||c.el&&c.el.id;this.Ra||(this.Ra=(a.id&&a.id()||"no_player")+"_component_"+t.s++);this.ue=c.name||j;this.c=c.el||this.f();this.R=[];this.gb={};this.hb={};this.Oc();this.I(d);if(c.dd!==l){var e,g;this.k().reportUserActivity&&(e=t.bind(this.k(),this.k().reportUserActivity),this.b("touchstart",function(){e();this.clearInterval(g);g=this.setInterval(e,250)}),a=function(){e();this.clearInterval(g)},this.b("touchmove",
|
||||||
|
e),this.b("touchend",a),this.b("touchcancel",a))}}});s=t.a.prototype;s.dispose=function(){this.o({type:"dispose",bubbles:l});if(this.R)for(var a=this.R.length-1;0<=a;a--)this.R[a].dispose&&this.R[a].dispose();this.hb=this.gb=this.R=j;this.n();this.c.parentNode&&this.c.parentNode.removeChild(this.c);t.cd(this.c);this.c=j};s.d=f;s.k=n("d");s.options=function(a){return a===b?this.q:this.q=t.$.Ba(this.q,a)};s.f=function(a,c){return t.f(a,c)};
|
||||||
|
s.v=function(a){var c=this.d.language(),d=this.d.languages();return d&&d[c]&&d[c][a]?d[c][a]:a};s.m=n("c");s.xa=function(){return this.B||this.c};s.id=n("Ra");s.name=n("ue");s.children=n("R");s.be=function(a){return this.gb[a]};s.ea=function(a){return this.hb[a]};
|
||||||
|
s.ba=function(a,c){var d,e;"string"===typeof a?(e=a,c=c||{},d=c.componentClass||t.wa(e),c.name=e,d=new window.videojs[d](this.d||this,c)):d=a;this.R.push(d);"function"===typeof d.id&&(this.gb[d.id()]=d);(e=e||d.name&&d.name())&&(this.hb[e]=d);"function"===typeof d.el&&d.el()&&this.xa().appendChild(d.el());return d};
|
||||||
|
s.removeChild=function(a){"string"===typeof a&&(a=this.ea(a));if(a&&this.R){for(var c=l,d=this.R.length-1;0<=d;d--)if(this.R[d]===a){c=f;this.R.splice(d,1);break}c&&(this.gb[a.id()]=j,this.hb[a.name()]=j,(c=a.m())&&c.parentNode===this.xa()&&this.xa().removeChild(a.m()))}};
|
||||||
|
s.Oc=function(){var a,c,d,e,g,h;a=this;c=a.options();if(d=c.children)if(h=function(d,e){c[d]!==b&&(e=c[d]);e!==l&&(a[d]=a.ba(d,e))},t.i.isArray(d))for(var k=0;k<d.length;k++)e=d[k],"string"==typeof e?(g=e,e={}):g=e.name,h(g,e);else t.i.da(d,h)};s.V=p("");
|
||||||
|
s.b=function(a,c,d){var e,g,h;"string"===typeof a||t.i.isArray(a)?t.b(this.c,a,t.bind(this,c)):(e=t.bind(this,d),h=this,g=function(){h.n(a,c,e)},g.s=e.s,this.b("dispose",g),d=function(){h.n("dispose",g)},d.s=e.s,a.nodeName?(t.b(a,c,e),t.b(a,"dispose",d)):"function"===typeof a.b&&(a.b(c,e),a.b("dispose",d)));return this};
|
||||||
|
s.n=function(a,c,d){!a||"string"===typeof a||t.i.isArray(a)?t.n(this.c,a,c):(d=t.bind(this,d),this.n("dispose",d),a.nodeName?(t.n(a,c,d),t.n(a,"dispose",d)):(a.n(c,d),a.n("dispose",d)));return this};s.N=function(a,c,d){var e,g,h;"string"===typeof a||t.i.isArray(a)?t.N(this.c,a,t.bind(this,c)):(e=t.bind(this,d),g=this,h=function(){g.n(a,c,h);e.apply(this,arguments)},h.s=e.s,this.b(a,c,h));return this};s.o=function(a){t.o(this.c,a);return this};
|
||||||
|
s.I=function(a){a&&(this.za?a.call(this):(this.pb===b&&(this.pb=[]),this.pb.push(a)));return this};s.Xa=function(){this.za=f;var a=this.pb;if(a&&0<a.length){for(var c=0,d=a.length;c<d;c++)a[c].call(this);this.pb=[];this.o("ready")}};s.Qa=function(a){return t.Qa(this.c,a)};s.p=function(a){t.p(this.c,a);return this};s.r=function(a){t.r(this.c,a);return this};s.show=function(){this.r("vjs-hidden");return this};s.Y=function(){this.p("vjs-hidden");return this};function G(a){a.r("vjs-lock-showing")}
|
||||||
|
s.width=function(a,c){return ca(this,"width",a,c)};s.height=function(a,c){return ca(this,"height",a,c)};s.Ud=function(a,c){return this.width(a,f).height(c)};function ca(a,c,d,e){if(d!==b){if(d===j||t.le(d))d=0;a.c.style[c]=-1!==(""+d).indexOf("%")||-1!==(""+d).indexOf("px")?d:"auto"===d?"":d+"px";e||a.o("resize");return a}if(!a.c)return 0;d=a.c.style[c];e=d.indexOf("px");return-1!==e?parseInt(d.slice(0,e),10):parseInt(a.c["offset"+t.wa(c)],10)}
|
||||||
|
function da(a){var c,d,e,g,h,k,q,r;c=0;d=j;a.b("touchstart",function(a){1===a.touches.length&&(d=t.i.copy(a.touches[0]),c=(new Date).getTime(),g=f)});a.b("touchmove",function(a){1<a.touches.length?g=l:d&&(k=a.touches[0].pageX-d.pageX,q=a.touches[0].pageY-d.pageY,r=Math.sqrt(k*k+q*q),10<r&&(g=l))});h=function(){g=l};a.b("touchleave",h);a.b("touchcancel",h);a.b("touchend",function(a){d=j;g===f&&(e=(new Date).getTime()-c,200>e&&(a.preventDefault(),this.o("tap")))})}
|
||||||
|
s.setTimeout=function(a,c){function d(){this.clearTimeout(e)}a=t.bind(this,a);var e=setTimeout(a,c);d.s="vjs-timeout-"+e;this.b("dispose",d);return e};s.clearTimeout=function(a){function c(){}clearTimeout(a);c.s="vjs-timeout-"+a;this.n("dispose",c);return a};s.setInterval=function(a,c){function d(){this.clearInterval(e)}a=t.bind(this,a);var e=setInterval(a,c);d.s="vjs-interval-"+e;this.b("dispose",d);return e};
|
||||||
|
s.clearInterval=function(a){function c(){}clearInterval(a);c.s="vjs-interval-"+a;this.n("dispose",c);return a};t.w=t.a.extend({l:function(a,c){t.a.call(this,a,c);da(this);this.b("tap",this.u);this.b("click",this.u);this.b("focus",this.nb);this.b("blur",this.mb)}});s=t.w.prototype;
|
||||||
|
s.f=function(a,c){var d;c=t.i.D({className:this.V(),role:"button","aria-live":"polite",tabIndex:0},c);d=t.a.prototype.f.call(this,a,c);c.innerHTML||(this.B=t.f("div",{className:"vjs-control-content"}),this.Lb=t.f("span",{className:"vjs-control-text",innerHTML:this.v(this.ua)||"Need Text"}),this.B.appendChild(this.Lb),d.appendChild(this.B));return d};s.V=function(){return"vjs-control "+t.a.prototype.V.call(this)};s.u=m();s.nb=function(){t.b(document,"keydown",t.bind(this,this.la))};
|
||||||
|
s.la=function(a){if(32==a.which||13==a.which)a.preventDefault(),this.u()};s.mb=function(){t.n(document,"keydown",t.bind(this,this.la))};t.U=t.a.extend({l:function(a,c){t.a.call(this,a,c);this.Ld=this.ea(this.q.barName);this.handle=this.ea(this.q.handleName);this.b("mousedown",this.ob);this.b("touchstart",this.ob);this.b("focus",this.nb);this.b("blur",this.mb);this.b("click",this.u);this.b(a,"controlsvisible",this.update);this.b(a,this.Yc,this.update)}});s=t.U.prototype;
|
||||||
|
s.f=function(a,c){c=c||{};c.className+=" vjs-slider";c=t.i.D({role:"slider","aria-valuenow":0,"aria-valuemin":0,"aria-valuemax":100,tabIndex:0},c);return t.a.prototype.f.call(this,a,c)};s.ob=function(a){a.preventDefault();t.Md();this.p("vjs-sliding");this.b(document,"mousemove",this.ma);this.b(document,"mouseup",this.Ca);this.b(document,"touchmove",this.ma);this.b(document,"touchend",this.Ca);this.ma(a)};s.ma=m();
|
||||||
|
s.Ca=function(){t.bf();this.r("vjs-sliding");this.n(document,"mousemove",this.ma);this.n(document,"mouseup",this.Ca);this.n(document,"touchmove",this.ma);this.n(document,"touchend",this.Ca);this.update()};s.update=function(){if(this.c){var a,c=this.Tb(),d=this.handle,e=this.Ld;if("number"!==typeof c||c!==c||0>c||Infinity===c)c=0;a=c;if(d){a=this.c.offsetWidth;var g=d.m().offsetWidth;a=g?g/a:0;c*=1-a;a=c+a/2;d.m().style.left=t.round(100*c,2)+"%"}e&&(e.m().style.width=t.round(100*a,2)+"%")}};
|
||||||
|
function ea(a,c){var d,e,g,h;d=a.c;e=t.Zd(d);h=g=d.offsetWidth;d=a.handle;if(a.options().vertical)return h=e.top,e=c.changedTouches?c.changedTouches[0].pageY:c.pageY,d&&(d=d.m().offsetHeight,h+=d/2,g-=d),Math.max(0,Math.min(1,(h-e+g)/g));g=e.left;e=c.changedTouches?c.changedTouches[0].pageX:c.pageX;d&&(d=d.m().offsetWidth,g+=d/2,h-=d);return Math.max(0,Math.min(1,(e-g)/h))}s.nb=function(){this.b(document,"keydown",this.la)};
|
||||||
|
s.la=function(a){if(37==a.which||40==a.which)a.preventDefault(),this.kd();else if(38==a.which||39==a.which)a.preventDefault(),this.ld()};s.mb=function(){this.n(document,"keydown",this.la)};s.u=function(a){a.stopImmediatePropagation();a.preventDefault()};t.ha=t.a.extend();t.ha.prototype.defaultValue=0;t.ha.prototype.f=function(a,c){c=c||{};c.className+=" vjs-slider-handle";c=t.i.D({innerHTML:'<span class="vjs-control-text">'+this.defaultValue+"</span>"},c);return t.a.prototype.f.call(this,"div",c)};
|
||||||
|
t.ra=t.a.extend();function fa(a,c){a.ba(c);c.b("click",t.bind(a,function(){G(this)}))}t.ra.prototype.f=function(){var a=this.options().Dc||"ul";this.B=t.f(a,{className:"vjs-menu-content"});a=t.a.prototype.f.call(this,"div",{append:this.B,className:"vjs-menu"});a.appendChild(this.B);t.b(a,"click",function(a){a.preventDefault();a.stopImmediatePropagation()});return a};t.M=t.w.extend({l:function(a,c){t.w.call(this,a,c);this.selected(c.selected)}});
|
||||||
|
t.M.prototype.f=function(a,c){return t.w.prototype.f.call(this,"li",t.i.D({className:"vjs-menu-item",innerHTML:this.v(this.q.label)},c))};t.M.prototype.u=function(){this.selected(f)};t.M.prototype.selected=function(a){a?(this.p("vjs-selected"),this.c.setAttribute("aria-selected",f)):(this.r("vjs-selected"),this.c.setAttribute("aria-selected",l))};
|
||||||
|
t.O=t.w.extend({l:function(a,c){t.w.call(this,a,c);this.update();this.b("keydown",this.la);this.c.setAttribute("aria-haspopup",f);this.c.setAttribute("role","button")}});s=t.O.prototype;s.update=function(){var a=this.Ma();this.Aa&&this.removeChild(this.Aa);this.Aa=a;this.ba(a);this.H&&0===this.H.length?this.Y():this.H&&1<this.H.length&&this.show()};s.Ka=l;
|
||||||
|
s.Ma=function(){var a=new t.ra(this.d);this.options().title&&a.xa().appendChild(t.f("li",{className:"vjs-menu-title",innerHTML:t.wa(this.options().title),Xe:-1}));if(this.H=this.createItems())for(var c=0;c<this.H.length;c++)fa(a,this.H[c]);return a};s.La=m();s.V=function(){return this.className+" vjs-menu-button "+t.w.prototype.V.call(this)};s.nb=m();s.mb=m();s.u=function(){this.N("mouseout",t.bind(this,function(){G(this.Aa);this.c.blur()}));this.Ka?H(this):ga(this)};
|
||||||
|
s.la=function(a){32==a.which||13==a.which?(this.Ka?H(this):ga(this),a.preventDefault()):27==a.which&&(this.Ka&&H(this),a.preventDefault())};function ga(a){a.Ka=f;a.Aa.p("vjs-lock-showing");a.c.setAttribute("aria-pressed",f);a.H&&0<a.H.length&&a.H[0].m().focus()}function H(a){a.Ka=l;G(a.Aa);a.c.setAttribute("aria-pressed",l)}t.J=function(a){"number"===typeof a?this.code=a:"string"===typeof a?this.message=a:"object"===typeof a&&t.i.D(this,a);this.message||(this.message=t.J.Td[this.code]||"")};
|
||||||
|
t.J.prototype.code=0;t.J.prototype.message="";t.J.prototype.status=j;t.J.jb="MEDIA_ERR_CUSTOM MEDIA_ERR_ABORTED MEDIA_ERR_NETWORK MEDIA_ERR_DECODE MEDIA_ERR_SRC_NOT_SUPPORTED MEDIA_ERR_ENCRYPTED".split(" ");
|
||||||
|
t.J.Td={1:"You aborted the video playback",2:"A network error caused the video download to fail part-way.",3:"The video playback was aborted due to a corruption problem or because the video used features your browser did not support.",4:"The video could not be loaded, either because the server or network failed or because the format is not supported.",5:"The video is encrypted and we do not have the keys to decrypt it."};for(var I=0;I<t.J.jb.length;I++)t.J[t.J.jb[I]]=I,t.J.prototype[t.J.jb[I]]=I;
|
||||||
|
var J,ha,K,L;
|
||||||
|
J=["requestFullscreen exitFullscreen fullscreenElement fullscreenEnabled fullscreenchange fullscreenerror".split(" "),"webkitRequestFullscreen webkitExitFullscreen webkitFullscreenElement webkitFullscreenEnabled webkitfullscreenchange webkitfullscreenerror".split(" "),"webkitRequestFullScreen webkitCancelFullScreen webkitCurrentFullScreenElement webkitCancelFullScreen webkitfullscreenchange webkitfullscreenerror".split(" "),"mozRequestFullScreen mozCancelFullScreen mozFullScreenElement mozFullScreenEnabled mozfullscreenchange mozfullscreenerror".split(" "),"msRequestFullscreen msExitFullscreen msFullscreenElement msFullscreenEnabled MSFullscreenChange MSFullscreenError".split(" ")];
|
||||||
|
ha=J[0];for(L=0;L<J.length;L++)if(J[L][1]in document){K=J[L];break}if(K){t.eb.Sb={};for(L=0;L<K.length;L++)t.eb.Sb[ha[L]]=K[L]}
|
||||||
|
t.Player=t.a.extend({l:function(a,c,d){this.L=a;a.id=a.id||"vjs_video_"+t.s++;this.Ye=a&&t.Pa(a);c=t.i.D(ia(a),c);this.Tc=c.language||t.options.language;this.oe=c.languages||t.options.languages;this.K={};this.Zc=c.poster||"";this.Mb=!!c.controls;a.controls=l;c.dd=l;ja(this,"audio"===this.L.nodeName.toLowerCase());t.a.call(this,this,c,d);this.controls()?this.p("vjs-controls-enabled"):this.p("vjs-controls-disabled");ja(this)&&this.p("vjs-audio");t.Da[this.Ra]=this;c.plugins&&t.i.da(c.plugins,function(a,
|
||||||
|
c){this[a](c)},this);var e,g,h,k,q;e=t.bind(this,this.reportUserActivity);this.b("mousedown",function(){e();this.clearInterval(g);g=this.setInterval(e,250)});this.b("mousemove",function(a){if(a.screenX!=k||a.screenY!=q)k=a.screenX,q=a.screenY,e()});this.b("mouseup",function(){e();this.clearInterval(g)});this.b("keydown",e);this.b("keyup",e);this.setInterval(function(){if(this.Ga){this.Ga=l;this.userActive(f);this.clearTimeout(h);var a=this.options().inactivityTimeout;0<a&&(h=this.setTimeout(function(){this.Ga||
|
||||||
|
this.userActive(l)},a))}},250)}});s=t.Player.prototype;s.language=function(a){if(a===b)return this.Tc;this.Tc=a;return this};s.languages=n("oe");s.q=t.options;s.dispose=function(){this.o("dispose");this.n("dispose");t.Da[this.Ra]=j;this.L&&this.L.player&&(this.L.player=j);this.c&&this.c.player&&(this.c.player=j);this.h&&this.h.dispose();t.a.prototype.dispose.call(this)};
|
||||||
|
function ia(a){var c,d,e={sources:[],tracks:[]};c=t.Pa(a);d=c["data-setup"];d!==j&&t.i.D(c,t.JSON.parse(d||"{}"));t.i.D(e,c);if(a.hasChildNodes()){var g,h;a=a.childNodes;g=0;for(h=a.length;g<h;g++)c=a[g],d=c.nodeName.toLowerCase(),"source"===d?e.sources.push(t.Pa(c)):"track"===d&&e.tracks.push(t.Pa(c))}return e}
|
||||||
|
s.f=function(){var a=this.c=t.a.prototype.f.call(this,"div"),c=this.L,d;c.removeAttribute("width");c.removeAttribute("height");d=t.Pa(c);t.i.da(d,function(c){"class"==c?a.className=d[c]:a.setAttribute(c,d[c])});c.id+="_html5_api";c.className="vjs-tech";c.player=a.player=this;this.p("vjs-paused");this.width(this.q.width,f);this.height(this.q.height,f);c.he=c.networkState;c.parentNode&&c.parentNode.insertBefore(a,c);t.Vb(c,a);this.c=a;this.b("loadstart",this.ye);this.b("waiting",this.Ee);this.b(["canplay",
|
||||||
|
"canplaythrough","playing","ended"],this.De);this.b("seeking",this.Be);this.b("seeked",this.Ae);this.b("ended",this.ve);this.b("play",this.ac);this.b("firstplay",this.we);this.b("pause",this.$b);this.b("progress",this.ze);this.b("durationchange",this.Wc);this.b("fullscreenchange",this.xe);return a};
|
||||||
|
function ka(a,c,d){a.h&&(a.za=l,a.h.dispose(),a.h=l);"Html5"!==c&&a.L&&(t.e.Nb(a.L),a.L=j);a.Va=c;a.za=l;var e=t.i.D({source:d,parentEl:a.c},a.q[c.toLowerCase()]);d&&(a.Gc=d.type,d.src==a.K.src&&0<a.K.currentTime&&(e.startTime=a.K.currentTime),a.K.src=d.src);a.h=new window.videojs[c](a,e);a.h.I(function(){this.d.Xa()})}s.ye=function(){this.r("vjs-ended");this.error(j);this.paused()?la(this,l):this.o("firstplay")};s.Nc=l;
|
||||||
|
function la(a,c){c!==b&&a.Nc!==c&&((a.Nc=c)?(a.p("vjs-has-started"),a.o("firstplay")):a.r("vjs-has-started"))}s.ac=function(){this.r("vjs-ended");this.r("vjs-paused");this.p("vjs-playing");la(this,f)};s.Ee=function(){this.p("vjs-waiting")};s.De=function(){this.r("vjs-waiting")};s.Be=function(){this.p("vjs-seeking")};s.Ae=function(){this.r("vjs-seeking")};s.we=function(){this.q.starttime&&this.currentTime(this.q.starttime);this.p("vjs-has-started")};s.$b=function(){this.r("vjs-playing");this.p("vjs-paused")};
|
||||||
|
s.ze=function(){1==this.bufferedPercent()&&this.o("loadedalldata")};s.ve=function(){this.p("vjs-ended");this.q.loop?(this.currentTime(0),this.play()):this.paused()||this.pause()};s.Wc=function(){var a=M(this,"duration");a&&(0>a&&(a=Infinity),this.duration(a),Infinity===a?this.p("vjs-live"):this.r("vjs-live"))};s.xe=function(){this.isFullscreen()?this.p("vjs-fullscreen"):this.r("vjs-fullscreen")};
|
||||||
|
function N(a,c,d){if(a.h&&!a.h.za)a.h.I(function(){this[c](d)});else try{a.h[c](d)}catch(e){throw t.log(e),e;}}function M(a,c){if(a.h&&a.h.za)try{return a.h[c]()}catch(d){throw a.h[c]===b?t.log("Video.js: "+c+" method not defined for "+a.Va+" playback technology.",d):"TypeError"==d.name?(t.log("Video.js: "+c+" unavailable on "+a.Va+" playback technology element.",d),a.h.za=l):t.log(d),d;}}s.play=function(){N(this,"play");return this};s.pause=function(){N(this,"pause");return this};
|
||||||
|
s.paused=function(){return M(this,"paused")===l?l:f};s.currentTime=function(a){return a!==b?(N(this,"setCurrentTime",a),this):this.K.currentTime=M(this,"currentTime")||0};s.duration=function(a){if(a!==b)return this.K.duration=parseFloat(a),this;this.K.duration===b&&this.Wc();return this.K.duration||0};s.remainingTime=function(){return this.duration()-this.currentTime()};s.buffered=function(){var a=M(this,"buffered");if(!a||!a.length)a=t.ya(0,0);return a};
|
||||||
|
s.bufferedPercent=function(){var a=this.duration(),c=this.buffered(),d=0,e,g;if(!a)return 0;for(var h=0;h<c.length;h++)e=c.start(h),g=c.end(h),g>a&&(g=a),d+=g-e;return d/a};s.volume=function(a){if(a!==b)return a=Math.max(0,Math.min(1,parseFloat(a))),this.K.volume=a,N(this,"setVolume",a),t.Ne(a),this;a=parseFloat(M(this,"volume"));return isNaN(a)?1:a};s.muted=function(a){return a!==b?(N(this,"setMuted",a),this):M(this,"muted")||l};s.Ua=function(){return M(this,"supportsFullScreen")||l};s.Qc=l;
|
||||||
|
s.isFullscreen=function(a){return a!==b?(this.Qc=!!a,this):this.Qc};s.isFullScreen=function(a){t.log.warn('player.isFullScreen() has been deprecated, use player.isFullscreen() with a lowercase "s")');return this.isFullscreen(a)};
|
||||||
|
s.requestFullscreen=function(){var a=t.eb.Sb;this.isFullscreen(f);a?(t.b(document,a.fullscreenchange,t.bind(this,function(c){this.isFullscreen(document[a.fullscreenElement]);this.isFullscreen()===l&&t.n(document,a.fullscreenchange,arguments.callee);this.o("fullscreenchange")})),this.c[a.requestFullscreen]()):this.h.Ua()?N(this,"enterFullScreen"):(this.Jc(),this.o("fullscreenchange"));return this};
|
||||||
|
s.requestFullScreen=function(){t.log.warn('player.requestFullScreen() has been deprecated, use player.requestFullscreen() with a lowercase "s")');return this.requestFullscreen()};s.exitFullscreen=function(){var a=t.eb.Sb;this.isFullscreen(l);if(a)document[a.exitFullscreen]();else this.h.Ua()?N(this,"exitFullScreen"):(this.Ob(),this.o("fullscreenchange"));return this};s.cancelFullScreen=function(){t.log.warn("player.cancelFullScreen() has been deprecated, use player.exitFullscreen()");return this.exitFullscreen()};
|
||||||
|
s.Jc=function(){this.ke=f;this.Vd=document.documentElement.style.overflow;t.b(document,"keydown",t.bind(this,this.Kc));document.documentElement.style.overflow="hidden";t.p(document.body,"vjs-full-window");this.o("enterFullWindow")};s.Kc=function(a){27===a.keyCode&&(this.isFullscreen()===f?this.exitFullscreen():this.Ob())};s.Ob=function(){this.ke=l;t.n(document,"keydown",this.Kc);document.documentElement.style.overflow=this.Vd;t.r(document.body,"vjs-full-window");this.o("exitFullWindow")};
|
||||||
|
s.selectSource=function(a){for(var c=0,d=this.q.techOrder;c<d.length;c++){var e=t.wa(d[c]),g=window.videojs[e];if(g){if(g.isSupported())for(var h=0,k=a;h<k.length;h++){var q=k[h];if(g.canPlaySource(q))return{source:q,h:e}}}else t.log.error('The "'+e+'" tech is undefined. Skipped browser support check for that tech.')}return l};
|
||||||
|
s.src=function(a){if(a===b)return M(this,"src");t.i.isArray(a)?ma(this,a):"string"===typeof a?this.src({src:a}):a instanceof Object&&(a.type&&!window.videojs[this.Va].canPlaySource(a)?ma(this,[a]):(this.K.src=a.src,this.Gc=a.type||"",this.I(function(){window.videojs[this.Va].prototype.hasOwnProperty("setSource")?N(this,"setSource",a):N(this,"src",a.src);"auto"==this.q.preload&&this.load();this.q.autoplay&&this.play()})));return this};
|
||||||
|
function ma(a,c){var d=a.selectSource(c);d?d.h===a.Va?a.src(d.source):ka(a,d.h,d.source):(a.setTimeout(function(){this.error({code:4,message:this.v(this.options().notSupportedMessage)})},0),a.Xa())}s.load=function(){N(this,"load");return this};s.currentSrc=function(){return M(this,"currentSrc")||this.K.src||""};s.Rd=function(){return this.Gc||""};s.Sa=function(a){return a!==b?(N(this,"setPreload",a),this.q.preload=a,this):M(this,"preload")};
|
||||||
|
s.autoplay=function(a){return a!==b?(N(this,"setAutoplay",a),this.q.autoplay=a,this):M(this,"autoplay")};s.loop=function(a){return a!==b?(N(this,"setLoop",a),this.q.loop=a,this):M(this,"loop")};s.poster=function(a){if(a===b)return this.Zc;a||(a="");this.Zc=a;N(this,"setPoster",a);this.o("posterchange");return this};
|
||||||
|
s.controls=function(a){return a!==b?(a=!!a,this.Mb!==a&&((this.Mb=a)?(this.r("vjs-controls-disabled"),this.p("vjs-controls-enabled"),this.o("controlsenabled")):(this.r("vjs-controls-enabled"),this.p("vjs-controls-disabled"),this.o("controlsdisabled"))),this):this.Mb};t.Player.prototype.fc;s=t.Player.prototype;
|
||||||
|
s.usingNativeControls=function(a){return a!==b?(a=!!a,this.fc!==a&&((this.fc=a)?(this.p("vjs-using-native-controls"),this.o("usingnativecontrols")):(this.r("vjs-using-native-controls"),this.o("usingcustomcontrols"))),this):this.fc};s.ka=j;s.error=function(a){if(a===b)return this.ka;if(a===j)return this.ka=a,this.r("vjs-error"),this;this.ka=a instanceof t.J?a:new t.J(a);this.o("error");this.p("vjs-error");t.log.error("(CODE:"+this.ka.code+" "+t.J.jb[this.ka.code]+")",this.ka.message,this.ka);return this};
|
||||||
|
s.ended=function(){return M(this,"ended")};s.seeking=function(){return M(this,"seeking")};s.seekable=function(){return M(this,"seekable")};s.Ga=f;s.reportUserActivity=function(){this.Ga=f};s.ec=f;
|
||||||
|
s.userActive=function(a){return a!==b?(a=!!a,a!==this.ec&&((this.ec=a)?(this.Ga=f,this.r("vjs-user-inactive"),this.p("vjs-user-active"),this.o("useractive")):(this.Ga=l,this.h&&this.h.N("mousemove",function(a){a.stopPropagation();a.preventDefault()}),this.r("vjs-user-active"),this.p("vjs-user-inactive"),this.o("userinactive"))),this):this.ec};s.playbackRate=function(a){return a!==b?(N(this,"setPlaybackRate",a),this):this.h&&this.h.featuresPlaybackRate?M(this,"playbackRate"):1};s.Pc=l;
|
||||||
|
function ja(a,c){return c!==b?(a.Pc=!!c,a):a.Pc}s.networkState=function(){return M(this,"networkState")};s.readyState=function(){return M(this,"readyState")};s.textTracks=function(){return this.h&&this.h.textTracks()};s.Z=function(){return this.h&&this.h.remoteTextTracks()};s.addTextTrack=function(a,c,d){return this.h&&this.h.addTextTrack(a,c,d)};s.ia=function(a){return this.h&&this.h.addRemoteTextTrack(a)};s.Ea=function(a){this.h&&this.h.removeRemoteTextTrack(a)};t.wb=t.a.extend();
|
||||||
|
t.wb.prototype.q={xf:"play",children:{playToggle:{},currentTimeDisplay:{},timeDivider:{},durationDisplay:{},remainingTimeDisplay:{},liveDisplay:{},progressControl:{},fullscreenToggle:{},volumeControl:{},muteToggle:{},playbackRateMenuButton:{},subtitlesButton:{},captionsButton:{},chaptersButton:{}}};t.wb.prototype.f=function(){return t.f("div",{className:"vjs-control-bar"})};t.lc=t.a.extend({l:function(a,c){t.a.call(this,a,c)}});
|
||||||
|
t.lc.prototype.f=function(){var a=t.a.prototype.f.call(this,"div",{className:"vjs-live-controls vjs-control"});this.B=t.f("div",{className:"vjs-live-display",innerHTML:'<span class="vjs-control-text">'+this.v("Stream Type")+"</span>"+this.v("LIVE"),"aria-live":"off"});a.appendChild(this.B);return a};t.oc=t.w.extend({l:function(a,c){t.w.call(this,a,c);this.b(a,"play",this.ac);this.b(a,"pause",this.$b)}});s=t.oc.prototype;s.ua="Play";s.V=function(){return"vjs-play-control "+t.w.prototype.V.call(this)};
|
||||||
|
s.u=function(){this.d.paused()?this.d.play():this.d.pause()};s.ac=function(){this.r("vjs-paused");this.p("vjs-playing");this.c.children[0].children[0].innerHTML=this.v("Pause")};s.$b=function(){this.r("vjs-playing");this.p("vjs-paused");this.c.children[0].children[0].innerHTML=this.v("Play")};t.xb=t.a.extend({l:function(a,c){t.a.call(this,a,c);this.b(a,"timeupdate",this.ga)}});
|
||||||
|
t.xb.prototype.f=function(){var a=t.a.prototype.f.call(this,"div",{className:"vjs-current-time vjs-time-controls vjs-control"});this.B=t.f("div",{className:"vjs-current-time-display",innerHTML:'<span class="vjs-control-text">Current Time </span>0:00',"aria-live":"off"});a.appendChild(this.B);return a};t.xb.prototype.ga=function(){var a=this.d.qb?this.d.K.currentTime:this.d.currentTime();this.B.innerHTML='<span class="vjs-control-text">'+this.v("Current Time")+"</span> "+t.Oa(a,this.d.duration())};
|
||||||
|
t.yb=t.a.extend({l:function(a,c){t.a.call(this,a,c);this.b(a,"timeupdate",this.ga);this.b(a,"loadedmetadata",this.ga)}});t.yb.prototype.f=function(){var a=t.a.prototype.f.call(this,"div",{className:"vjs-duration vjs-time-controls vjs-control"});this.B=t.f("div",{className:"vjs-duration-display",innerHTML:'<span class="vjs-control-text">'+this.v("Duration Time")+"</span> 0:00","aria-live":"off"});a.appendChild(this.B);return a};
|
||||||
|
t.yb.prototype.ga=function(){var a=this.d.duration();a&&(this.B.innerHTML='<span class="vjs-control-text">'+this.v("Duration Time")+"</span> "+t.Oa(a))};t.uc=t.a.extend({l:function(a,c){t.a.call(this,a,c)}});t.uc.prototype.f=function(){return t.a.prototype.f.call(this,"div",{className:"vjs-time-divider",innerHTML:"<div><span>/</span></div>"})};t.Fb=t.a.extend({l:function(a,c){t.a.call(this,a,c);this.b(a,"timeupdate",this.ga)}});
|
||||||
|
t.Fb.prototype.f=function(){var a=t.a.prototype.f.call(this,"div",{className:"vjs-remaining-time vjs-time-controls vjs-control"});this.B=t.f("div",{className:"vjs-remaining-time-display",innerHTML:'<span class="vjs-control-text">'+this.v("Remaining Time")+"</span> -0:00","aria-live":"off"});a.appendChild(this.B);return a};t.Fb.prototype.ga=function(){this.d.duration()&&(this.B.innerHTML='<span class="vjs-control-text">'+this.v("Remaining Time")+"</span> -"+t.Oa(this.d.remainingTime()))};
|
||||||
|
t.$a=t.w.extend({l:function(a,c){t.w.call(this,a,c)}});t.$a.prototype.ua="Fullscreen";t.$a.prototype.V=function(){return"vjs-fullscreen-control "+t.w.prototype.V.call(this)};t.$a.prototype.u=function(){this.d.isFullscreen()?(this.d.exitFullscreen(),this.Lb.innerHTML=this.v("Fullscreen")):(this.d.requestFullscreen(),this.Lb.innerHTML=this.v("Non-Fullscreen"))};t.Eb=t.a.extend({l:function(a,c){t.a.call(this,a,c)}});t.Eb.prototype.q={children:{seekBar:{}}};
|
||||||
|
t.Eb.prototype.f=function(){return t.a.prototype.f.call(this,"div",{className:"vjs-progress-control vjs-control"})};t.rc=t.U.extend({l:function(a,c){t.U.call(this,a,c);this.b(a,"timeupdate",this.Fa);a.I(t.bind(this,this.Fa))}});s=t.rc.prototype;s.q={children:{loadProgressBar:{},playProgressBar:{},seekHandle:{}},barName:"playProgressBar",handleName:"seekHandle"};s.Yc="timeupdate";s.f=function(){return t.U.prototype.f.call(this,"div",{className:"vjs-progress-holder","aria-label":"video progress bar"})};
|
||||||
|
s.Fa=function(){var a=this.d.qb?this.d.K.currentTime:this.d.currentTime();this.c.setAttribute("aria-valuenow",t.round(100*this.Tb(),2));this.c.setAttribute("aria-valuetext",t.Oa(a,this.d.duration()))};s.Tb=function(){return this.d.currentTime()/this.d.duration()};s.ob=function(a){t.U.prototype.ob.call(this,a);this.d.qb=f;this.d.p("vjs-scrubbing");this.ef=!this.d.paused();this.d.pause()};s.ma=function(a){a=ea(this,a)*this.d.duration();a==this.d.duration()&&(a-=0.1);this.d.currentTime(a)};
|
||||||
|
s.Ca=function(a){t.U.prototype.Ca.call(this,a);this.d.qb=l;this.d.r("vjs-scrubbing");this.ef&&this.d.play()};s.ld=function(){this.d.currentTime(this.d.currentTime()+5)};s.kd=function(){this.d.currentTime(this.d.currentTime()-5)};t.Bb=t.a.extend({l:function(a,c){t.a.call(this,a,c);this.b(a,"progress",this.update)}});t.Bb.prototype.f=function(){return t.a.prototype.f.call(this,"div",{className:"vjs-load-progress",innerHTML:'<span class="vjs-control-text"><span>'+this.v("Loaded")+"</span>: 0%</span>"})};
|
||||||
|
t.Bb.prototype.update=function(){var a,c,d,e,g=this.d.buffered();a=this.d.duration();var h,k=this.d;h=k.buffered();k=k.duration();h=h.end(h.length-1);h>k&&(h=k);k=this.c.children;this.c.style.width=100*(h/a||0)+"%";for(a=0;a<g.length;a++)c=g.start(a),d=g.end(a),(e=k[a])||(e=this.c.appendChild(t.f())),e.style.left=100*(c/h||0)+"%",e.style.width=100*((d-c)/h||0)+"%";for(a=k.length;a>g.length;a--)this.c.removeChild(k[a-1])};t.nc=t.a.extend({l:function(a,c){t.a.call(this,a,c)}});
|
||||||
|
t.nc.prototype.f=function(){return t.a.prototype.f.call(this,"div",{className:"vjs-play-progress",innerHTML:'<span class="vjs-control-text"><span>'+this.v("Progress")+"</span>: 0%</span>"})};t.ab=t.ha.extend({l:function(a,c){t.ha.call(this,a,c);this.b(a,"timeupdate",this.ga)}});t.ab.prototype.defaultValue="00:00";t.ab.prototype.f=function(){return t.ha.prototype.f.call(this,"div",{className:"vjs-seek-handle","aria-live":"off"})};
|
||||||
|
t.ab.prototype.ga=function(){var a=this.d.qb?this.d.K.currentTime:this.d.currentTime();this.c.innerHTML='<span class="vjs-control-text">'+t.Oa(a,this.d.duration())+"</span>"};t.Ib=t.a.extend({l:function(a,c){t.a.call(this,a,c);a.h&&a.h.featuresVolumeControl===l&&this.p("vjs-hidden");this.b(a,"loadstart",function(){a.h.featuresVolumeControl===l?this.p("vjs-hidden"):this.r("vjs-hidden")})}});t.Ib.prototype.q={children:{volumeBar:{}}};
|
||||||
|
t.Ib.prototype.f=function(){return t.a.prototype.f.call(this,"div",{className:"vjs-volume-control vjs-control"})};t.Hb=t.U.extend({l:function(a,c){t.U.call(this,a,c);this.b(a,"volumechange",this.Fa);a.I(t.bind(this,this.Fa))}});s=t.Hb.prototype;s.Fa=function(){this.c.setAttribute("aria-valuenow",t.round(100*this.d.volume(),2));this.c.setAttribute("aria-valuetext",t.round(100*this.d.volume(),2)+"%")};s.q={children:{volumeLevel:{},volumeHandle:{}},barName:"volumeLevel",handleName:"volumeHandle"};
|
||||||
|
s.Yc="volumechange";s.f=function(){return t.U.prototype.f.call(this,"div",{className:"vjs-volume-bar","aria-label":"volume level"})};s.ma=function(a){this.d.muted()&&this.d.muted(l);this.d.volume(ea(this,a))};s.Tb=function(){return this.d.muted()?0:this.d.volume()};s.ld=function(){this.d.volume(this.d.volume()+0.1)};s.kd=function(){this.d.volume(this.d.volume()-0.1)};t.vc=t.a.extend({l:function(a,c){t.a.call(this,a,c)}});
|
||||||
|
t.vc.prototype.f=function(){return t.a.prototype.f.call(this,"div",{className:"vjs-volume-level",innerHTML:'<span class="vjs-control-text"></span>'})};t.Jb=t.ha.extend();t.Jb.prototype.defaultValue="00:00";t.Jb.prototype.f=function(){return t.ha.prototype.f.call(this,"div",{className:"vjs-volume-handle"})};
|
||||||
|
t.sa=t.w.extend({l:function(a,c){t.w.call(this,a,c);this.b(a,"volumechange",this.update);a.h&&a.h.featuresVolumeControl===l&&this.p("vjs-hidden");this.b(a,"loadstart",function(){a.h.featuresVolumeControl===l?this.p("vjs-hidden"):this.r("vjs-hidden")})}});t.sa.prototype.f=function(){return t.w.prototype.f.call(this,"div",{className:"vjs-mute-control vjs-control",innerHTML:'<div><span class="vjs-control-text">'+this.v("Mute")+"</span></div>"})};
|
||||||
|
t.sa.prototype.u=function(){this.d.muted(this.d.muted()?l:f)};t.sa.prototype.update=function(){var a=this.d.volume(),c=3;0===a||this.d.muted()?c=0:0.33>a?c=1:0.67>a&&(c=2);this.d.muted()?this.c.children[0].children[0].innerHTML!=this.v("Unmute")&&(this.c.children[0].children[0].innerHTML=this.v("Unmute")):this.c.children[0].children[0].innerHTML!=this.v("Mute")&&(this.c.children[0].children[0].innerHTML=this.v("Mute"));for(a=0;4>a;a++)t.r(this.c,"vjs-vol-"+a);t.p(this.c,"vjs-vol-"+c)};
|
||||||
|
t.Ia=t.O.extend({l:function(a,c){t.O.call(this,a,c);this.b(a,"volumechange",this.ff);a.h&&a.h.featuresVolumeControl===l&&this.p("vjs-hidden");this.b(a,"loadstart",function(){a.h.featuresVolumeControl===l?this.p("vjs-hidden"):this.r("vjs-hidden")});this.p("vjs-menu-button")}});t.Ia.prototype.Ma=function(){var a=new t.ra(this.d,{Dc:"div"}),c=new t.Hb(this.d,this.q.volumeBar);c.b("focus",function(){a.p("vjs-lock-showing")});c.b("blur",function(){G(a)});a.ba(c);return a};
|
||||||
|
t.Ia.prototype.u=function(){t.sa.prototype.u.call(this);t.O.prototype.u.call(this)};t.Ia.prototype.f=function(){return t.w.prototype.f.call(this,"div",{className:"vjs-volume-menu-button vjs-menu-button vjs-control",innerHTML:'<div><span class="vjs-control-text">'+this.v("Mute")+"</span></div>"})};t.Ia.prototype.ff=t.sa.prototype.update;t.pc=t.O.extend({l:function(a,c){t.O.call(this,a,c);this.td();this.sd();this.b(a,"loadstart",this.td);this.b(a,"ratechange",this.sd)}});s=t.pc.prototype;s.ua="Playback Rate";
|
||||||
|
s.className="vjs-playback-rate";s.f=function(){var a=t.O.prototype.f.call(this);this.Sc=t.f("div",{className:"vjs-playback-rate-value",innerHTML:1});a.appendChild(this.Sc);return a};s.Ma=function(){var a=new t.ra(this.k()),c=this.k().options().playbackRates;if(c)for(var d=c.length-1;0<=d;d--)a.ba(new t.Db(this.k(),{rate:c[d]+"x"}));return a};s.Fa=function(){this.m().setAttribute("aria-valuenow",this.k().playbackRate())};
|
||||||
|
s.u=function(){for(var a=this.k().playbackRate(),c=this.k().options().playbackRates,d=c[0],e=0;e<c.length;e++)if(c[e]>a){d=c[e];break}this.k().playbackRate(d)};function na(a){return a.k().h&&a.k().h.featuresPlaybackRate&&a.k().options().playbackRates&&0<a.k().options().playbackRates.length}s.td=function(){na(this)?this.r("vjs-hidden"):this.p("vjs-hidden")};s.sd=function(){na(this)&&(this.Sc.innerHTML=this.k().playbackRate()+"x")};
|
||||||
|
t.Db=t.M.extend({Dc:"button",l:function(a,c){var d=this.label=c.rate,e=this.$c=parseFloat(d,10);c.label=d;c.selected=1===e;t.M.call(this,a,c);this.b(a,"ratechange",this.update)}});t.Db.prototype.u=function(){t.M.prototype.u.call(this);this.k().playbackRate(this.$c)};t.Db.prototype.update=function(){this.selected(this.k().playbackRate()==this.$c)};t.qc=t.w.extend({l:function(a,c){t.w.call(this,a,c);this.update();a.b("posterchange",t.bind(this,this.update))}});s=t.qc.prototype;
|
||||||
|
s.dispose=function(){this.k().n("posterchange",this.update);t.w.prototype.dispose.call(this)};s.f=function(){var a=t.f("div",{className:"vjs-poster",tabIndex:-1});t.xd||(this.Pb=t.f("img"),a.appendChild(this.Pb));return a};s.update=function(){var a=this.k().poster();this.oa(a);a?this.show():this.Y()};s.oa=function(a){var c;this.Pb?this.Pb.src=a:(c="",a&&(c='url("'+a+'")'),this.c.style.backgroundImage=c)};s.u=function(){this.d.play()};t.mc=t.a.extend({l:function(a,c){t.a.call(this,a,c)}});
|
||||||
|
t.mc.prototype.f=function(){return t.a.prototype.f.call(this,"div",{className:"vjs-loading-spinner"})};t.ub=t.w.extend();t.ub.prototype.f=function(){return t.w.prototype.f.call(this,"div",{className:"vjs-big-play-button",innerHTML:'<span aria-hidden="true"></span>',"aria-label":"play video"})};t.ub.prototype.u=function(){this.d.play()};t.zb=t.a.extend({l:function(a,c){t.a.call(this,a,c);this.update();this.b(a,"error",this.update)}});
|
||||||
|
t.zb.prototype.f=function(){var a=t.a.prototype.f.call(this,"div",{className:"vjs-error-display"});this.B=t.f("div");a.appendChild(this.B);return a};t.zb.prototype.update=function(){this.k().error()&&(this.B.innerHTML=this.v(this.k().error().message))};var O;t.j=t.a.extend({l:function(a,c,d){c=c||{};c.dd=l;t.a.call(this,a,c,d);this.featuresProgressEvents||this.se();this.featuresTimeupdateEvents||this.te();this.ge();this.featuresNativeTextTracks||this.Wd();this.ie()}});s=t.j.prototype;
|
||||||
|
s.ge=function(){var a,c;a=this.k();c=function(){a.controls()&&!a.usingNativeControls()&&this.Jd()};this.I(c);this.b(a,"controlsenabled",c);this.b(a,"controlsdisabled",this.Ie);this.I(function(){this.networkState&&0<this.networkState()&&this.k().o("loadstart")})};
|
||||||
|
s.Jd=function(){var a;this.b("mousedown",this.u);this.b("touchstart",function(){a=this.d.userActive()});this.b("touchmove",function(){a&&this.k().reportUserActivity()});this.b("touchend",function(a){a.preventDefault()});da(this);this.b("tap",this.Ce)};s.Ie=function(){this.n("tap");this.n("touchstart");this.n("touchmove");this.n("touchleave");this.n("touchcancel");this.n("touchend");this.n("click");this.n("mousedown")};
|
||||||
|
s.u=function(a){0===a.button&&this.k().controls()&&(this.k().paused()?this.k().play():this.k().pause())};s.Ce=function(){this.k().userActive(!this.k().userActive())};s.se=function(){this.Uc=f;this.af()};s.re=function(){this.Uc=l;this.md()};s.af=function(){this.He=this.setInterval(function(){var a=this.k().bufferedPercent();this.Nd!=a&&this.k().o("progress");this.Nd=a;1===a&&this.md()},500)};s.md=function(){this.clearInterval(this.He)};
|
||||||
|
s.te=function(){var a=this.d;this.Zb=f;this.b(a,"play",this.qd);this.b(a,"pause",this.tb);this.N("timeupdate",function(){this.featuresTimeupdateEvents=f;this.Vc()})};s.Vc=function(){var a=this.d;this.Zb=l;this.tb();this.n(a,"play",this.qd);this.n(a,"pause",this.tb)};s.qd=function(){this.Fc&&this.tb();this.Fc=this.setInterval(function(){this.k().o("timeupdate")},250)};s.tb=function(){this.clearInterval(this.Fc);this.k().o("timeupdate")};s.dispose=function(){this.Uc&&this.re();this.Zb&&this.Vc();t.a.prototype.dispose.call(this)};
|
||||||
|
s.cc=function(){this.Zb&&this.k().o("timeupdate")};s.ie=function(){function a(){var a=c.ea("textTrackDisplay");a&&a.C()}var c=this.d,d;if(d=this.textTracks())d.addEventListener("removetrack",a),d.addEventListener("addtrack",a),this.b("dispose",t.bind(this,function(){d.removeEventListener("removetrack",a);d.removeEventListener("addtrack",a)}))};
|
||||||
|
s.Wd=function(){var a=this.d,c,d,e;window.WebVTT||(e=document.createElement("script"),e.src=a.options()["vtt.js"]||"../node_modules/vtt.js/dist/vtt.js",a.m().appendChild(e),window.WebVTT=f);if(d=this.textTracks())c=function(){var c,d,e;e=a.ea("textTrackDisplay");e.C();for(c=0;c<this.length;c++)d=this[c],d.removeEventListener("cuechange",t.bind(e,e.C)),"showing"===d.mode&&d.addEventListener("cuechange",t.bind(e,e.C))},d.addEventListener("change",c),this.b("dispose",t.bind(this,function(){d.removeEventListener("change",
|
||||||
|
c)}))};s.textTracks=function(){this.d.pd=this.d.pd||new t.F;return this.d.pd};s.Z=function(){this.d.ad=this.d.ad||new t.F;return this.d.ad};O=function(a,c,d,e,g){var h=a.textTracks();g=g||{};g.kind=c;d&&(g.label=d);e&&(g.language=e);g.player=a.d;a=new t.t(g);P(h,a);return a};t.j.prototype.addTextTrack=function(a,c,d){if(!a)throw Error("TextTrack kind is required but was not provided");return O(this,a,c,d)};t.j.prototype.ia=function(a){a=O(this,a.kind,a.label,a.language,a);P(this.Z(),a);return{T:a}};
|
||||||
|
t.j.prototype.Ea=function(a){Q(this.textTracks(),a);Q(this.Z(),a)};t.j.prototype.fd=m();t.j.prototype.featuresVolumeControl=f;t.j.prototype.featuresFullscreenResize=l;t.j.prototype.featuresPlaybackRate=l;t.j.prototype.featuresProgressEvents=l;t.j.prototype.featuresTimeupdateEvents=l;t.j.prototype.featuresNativeTextTracks=l;
|
||||||
|
t.j.hc=function(a){a.Ta=function(c,d){var e=a.gd;e||(e=a.gd=[]);d===b&&(d=e.length);e.splice(d,0,c)};a.rb=function(c){for(var d=a.gd||[],e,g=0;g<d.length;g++)if(e=d[g].fb(c))return d[g];return j};a.Ac=function(c){var d=a.rb(c);return d?d.fb(c):""};a.prototype.na=function(c){var d=a.rb(c);d||(a.S?d=a.S:t.log.error("No source hander found for the current source."));this.ja();this.n("dispose",this.ja);this.ib=c;this.dc=d.Ub(c,this);this.b("dispose",this.ja);return this};a.prototype.ja=function(){this.dc&&
|
||||||
|
this.dc.dispose&&this.dc.dispose()}};t.media={};
|
||||||
|
t.e=t.j.extend({l:function(a,c,d){var e,g,h;if(c.nativeCaptions===l||c.nativeTextTracks===l)this.featuresNativeTextTracks=l;t.j.call(this,a,c,d);for(d=t.e.Ab.length-1;0<=d;d--)this.b(t.e.Ab[d],this.Xd);(c=c.source)&&(this.c.currentSrc!==c.src||a.L&&3===a.L.he)&&this.na(c);if(this.c.hasChildNodes()){d=this.c.childNodes;e=d.length;for(c=[];e--;)g=d[e],h=g.nodeName.toLowerCase(),"track"===h&&(this.featuresNativeTextTracks?P(this.Z(),g.track):c.push(g));for(d=0;d<c.length;d++)this.c.removeChild(c[d])}this.featuresNativeTextTracks&&
|
||||||
|
this.b("loadstart",t.bind(this,this.fe));if(t.Gb&&a.options().nativeControlsForTouch===f){var k,q,r,u;k=this;q=this.k();c=q.controls();k.c.controls=!!c;r=function(){k.c.controls=f};u=function(){k.c.controls=l};q.b("controlsenabled",r);q.b("controlsdisabled",u);c=function(){q.n("controlsenabled",r);q.n("controlsdisabled",u)};k.b("dispose",c);q.b("usingcustomcontrols",c);q.usingNativeControls(f)}a.I(function(){this.src()&&(this.L&&this.q.autoplay&&this.paused())&&(delete this.L.poster,this.play())});
|
||||||
|
this.Xa()}});s=t.e.prototype;s.dispose=function(){t.e.Nb(this.c);t.j.prototype.dispose.call(this)};
|
||||||
|
s.f=function(){var a=this.d,c,d,e,g=a.L;if(!g||this.movingMediaElementInDOM===l){g?(e=g.cloneNode(l),t.e.Nb(g),g=e,a.L=j):(g=t.f("video"),e=videojs.$.Ba({},a.Ye),(!t.Gb||a.options().nativeControlsForTouch!==f)&&delete e.controls,t.ed(g,t.i.D(e,{id:a.id()+"_html5_api","class":"vjs-tech"})));g.player=a;if(a.q.rd)for(e=0;e<a.q.rd.length;e++)c=a.q.rd[e],d=document.createElement("track"),d.Xb=c.Xb,d.label=c.label,d.jd=c.jd,d.src=c.src,"default"in c&&d.setAttribute("default","default"),g.appendChild(d);
|
||||||
|
t.Vb(g,a.m())}c=["autoplay","preload","loop","muted"];for(e=c.length-1;0<=e;e--){d=c[e];var h={};"undefined"!==typeof a.q[d]&&(h[d]=a.q[d]);t.ed(g,h)}return g};s.fe=function(){for(var a=this.c.querySelectorAll("track"),c,d=a.length,e={captions:1,subtitles:1};d--;)if((c=a[d].T)&&c.kind in e&&!a[d]["default"])c.mode="disabled"};s.Xd=function(a){"error"==a.type&&this.error()?this.k().error(this.error().code):(a.bubbles=l,this.k().o(a))};s.play=function(){this.c.play()};s.pause=function(){this.c.pause()};
|
||||||
|
s.paused=function(){return this.c.paused};s.currentTime=function(){return this.c.currentTime};s.cc=function(a){try{this.c.currentTime=a}catch(c){t.log(c,"Video is not ready. (Video.js)")}};s.duration=function(){return this.c.duration||0};s.buffered=function(){return this.c.buffered};s.volume=function(){return this.c.volume};s.Te=function(a){this.c.volume=a};s.muted=function(){return this.c.muted};s.Pe=function(a){this.c.muted=a};s.width=function(){return this.c.offsetWidth};s.height=function(){return this.c.offsetHeight};
|
||||||
|
s.Ua=function(){return"function"==typeof this.c.webkitEnterFullScreen&&(/Android/.test(t.P)||!/Chrome|Mac OS X 10.5/.test(t.P))?f:l};s.Ic=function(){var a=this.c;"webkitDisplayingFullscreen"in a&&this.N("webkitbeginfullscreen",function(){this.d.isFullscreen(f);this.N("webkitendfullscreen",function(){this.d.isFullscreen(l);this.d.o("fullscreenchange")});this.d.o("fullscreenchange")});a.paused&&a.networkState<=a.kf?(this.c.play(),this.setTimeout(function(){a.pause();a.webkitEnterFullScreen()},0)):a.webkitEnterFullScreen()};
|
||||||
|
s.Yd=function(){this.c.webkitExitFullScreen()};function oa(a,c){var d=/^blob\:/i;return c&&a&&d.test(a)?c:a}s.src=function(a){var c=this.c.src;if(a===b)return oa(c,this.hd);this.oa(a)};s.oa=function(a){this.c.src=a};s.load=function(){this.c.load()};s.currentSrc=function(){var a=this.c.currentSrc;return!this.ib?a:oa(a,this.ib.src)};s.poster=function(){return this.c.poster};s.fd=function(a){this.c.poster=a};s.Sa=function(){return this.c.Sa};s.Re=function(a){this.c.Sa=a};s.autoplay=function(){return this.c.autoplay};
|
||||||
|
s.Me=function(a){this.c.autoplay=a};s.controls=function(){return this.c.controls};s.loop=function(){return this.c.loop};s.Oe=function(a){this.c.loop=a};s.error=function(){return this.c.error};s.seeking=function(){return this.c.seeking};s.seekable=function(){return this.c.seekable};s.ended=function(){return this.c.ended};s.playbackRate=function(){return this.c.playbackRate};s.Qe=function(a){this.c.playbackRate=a};s.networkState=function(){return this.c.networkState};s.readyState=function(){return this.c.readyState};
|
||||||
|
s.textTracks=function(){return!this.featuresNativeTextTracks?t.j.prototype.textTracks.call(this):this.c.textTracks};s.addTextTrack=function(a,c,d){return!this.featuresNativeTextTracks?t.j.prototype.addTextTrack.call(this,a,c,d):this.c.addTextTrack(a,c,d)};
|
||||||
|
s.ia=function(a){if(!this.featuresNativeTextTracks)return t.j.prototype.ia.call(this,a);var c=document.createElement("track");a=a||{};a.kind&&(c.kind=a.kind);a.label&&(c.label=a.label);if(a.language||a.srclang)c.srclang=a.language||a.srclang;a["default"]&&(c["default"]=a["default"]);a.id&&(c.id=a.id);a.src&&(c.src=a.src);this.m().appendChild(c);c.track.mode="metadata"===c.T.kind?"hidden":"disabled";c.onload=function(){var a=c.track;2<=c.readyState&&("metadata"===a.kind&&"hidden"!==a.mode?a.mode="hidden":
|
||||||
|
"metadata"!==a.kind&&"disabled"!==a.mode&&(a.mode="disabled"),c.onload=j)};P(this.Z(),c.T);return c};s.Ea=function(a){if(!this.featuresNativeTextTracks)return t.j.prototype.Ea.call(this,a);var c,d;Q(this.Z(),a);c=this.m().querySelectorAll("track");for(d=0;d<c.length;d++)if(c[d]===a||c[d].track===a){c[d].parentNode.removeChild(c[d]);break}};t.e.isSupported=function(){try{t.A.volume=0.5}catch(a){return l}return!!t.A.canPlayType};t.j.hc(t.e);var pa=t.e.prototype.na,qa=t.e.prototype.ja;
|
||||||
|
t.e.prototype.na=function(a){var c=pa.call(this,a);this.hd=a.src;return c};t.e.prototype.ja=function(){this.hd=b;return qa.call(this)};t.e.S={};t.e.S.fb=function(a){function c(a){try{return t.A.canPlayType(a)}catch(c){return""}}return a.type?c(a.type):a.src?(a=(a=a.src.match(/\.([^.\/\?]+)(\?[^\/]+)?$/i))&&a[1],c("video/"+a)):""};t.e.S.Ub=function(a,c){c.oa(a.src)};t.e.S.dispose=m();t.e.Ta(t.e.S);t.e.Pd=function(){var a=t.A.volume;t.A.volume=a/2+0.1;return a!==t.A.volume};
|
||||||
|
t.e.Od=function(){var a=t.A.playbackRate;t.A.playbackRate=a/2+0.1;return a!==t.A.playbackRate};t.e.We=function(){var a;(a=!!t.A.textTracks)&&0<t.A.textTracks.length&&(a="number"!==typeof t.A.textTracks[0].mode);a&&t.kc&&(a=l);return a};t.e.prototype.featuresVolumeControl=t.e.Pd();t.e.prototype.featuresPlaybackRate=t.e.Od();t.e.prototype.movingMediaElementInDOM=!t.Bd;t.e.prototype.featuresFullscreenResize=f;t.e.prototype.featuresProgressEvents=f;t.e.prototype.featuresNativeTextTracks=t.e.We();
|
||||||
|
var S,ra=/^application\/(?:x-|vnd\.apple\.)mpegurl/i,sa=/^video\/mp4/i;t.e.Xc=function(){4<=t.ic&&(S||(S=t.A.constructor.prototype.canPlayType),t.A.constructor.prototype.canPlayType=function(a){return a&&ra.test(a)?"maybe":S.call(this,a)});t.Fd&&(S||(S=t.A.constructor.prototype.canPlayType),t.A.constructor.prototype.canPlayType=function(a){return a&&sa.test(a)?"maybe":S.call(this,a)})};t.e.cf=function(){var a=t.A.constructor.prototype.canPlayType;t.A.constructor.prototype.canPlayType=S;S=j;return a};
|
||||||
|
t.e.Xc();t.e.Ab="loadstart suspend abort error emptied stalled loadedmetadata loadeddata canplay canplaythrough playing waiting seeking seeked ended durationchange timeupdate progress play pause ratechange volumechange".split(" ");t.e.Nb=function(a){if(a){a.player=j;for(a.parentNode&&a.parentNode.removeChild(a);a.hasChildNodes();)a.removeChild(a.firstChild);a.removeAttribute("src");if("function"===typeof a.load)try{a.load()}catch(c){}}};
|
||||||
|
t.g=t.j.extend({l:function(a,c,d){t.j.call(this,a,c,d);var e=c.source;d=a.id()+"_flash_api";var g=a.q,g=t.i.D({readyFunction:"videojs.Flash.onReady",eventProxyFunction:"videojs.Flash.onEvent",errorEventProxyFunction:"videojs.Flash.onError",autoplay:g.autoplay,preload:g.Sa,loop:g.loop,muted:g.muted},c.flashVars),h=t.i.D({wmode:"opaque",bgcolor:"#000000"},c.params);d=t.i.D({id:d,name:d,"class":"vjs-tech"},c.attributes);e&&this.I(function(){this.na(e)});t.Vb(this.c,c.parentEl);c.startTime&&this.I(function(){this.load();
|
||||||
|
this.play();this.currentTime(c.startTime)});t.kc&&this.I(function(){this.b("mousemove",function(){this.k().o({type:"mousemove",bubbles:l})})});a.b("stageclick",a.reportUserActivity);this.c=t.g.Hc(c.swf,this.c,g,h,d)}});s=t.g.prototype;s.dispose=function(){t.j.prototype.dispose.call(this)};s.play=function(){this.c.vjs_play()};s.pause=function(){this.c.vjs_pause()};s.src=function(a){return a===b?this.currentSrc():this.oa(a)};
|
||||||
|
s.oa=function(a){a=t.ae(a);this.c.vjs_src(a);if(this.d.autoplay()){var c=this;this.setTimeout(function(){c.play()},0)}};t.g.prototype.setCurrentTime=function(a){this.pe=a;this.c.vjs_setProperty("currentTime",a);t.j.prototype.cc.call(this)};t.g.prototype.currentTime=function(){return this.seeking()?this.pe||0:this.c.vjs_getProperty("currentTime")};t.g.prototype.currentSrc=function(){return this.ib?this.ib.src:this.c.vjs_getProperty("currentSrc")};t.g.prototype.load=function(){this.c.vjs_load()};
|
||||||
|
t.g.prototype.poster=function(){this.c.vjs_getProperty("poster")};t.g.prototype.setPoster=m();s=t.g.prototype;s.seekable=function(){return 0===this.duration()?t.ya():t.ya(0,this.duration())};s.buffered=function(){return!this.c.vjs_getProperty?t.ya():t.ya(0,this.c.vjs_getProperty("buffered"))};s.duration=function(){return!this.c.vjs_getProperty?0:this.c.vjs_getProperty("duration")};s.Ua=p(l);s.Ic=p(l);
|
||||||
|
function ta(){var a=T[U],c=a.charAt(0).toUpperCase()+a.slice(1);ua["set"+c]=function(c){return this.c.vjs_setProperty(a,c)}}function va(a){ua[a]=function(){return this.c.vjs_getProperty(a)}}
|
||||||
|
var ua=t.g.prototype,T="rtmpConnection rtmpStream preload defaultPlaybackRate playbackRate autoplay loop mediaGroup controller controls volume muted defaultMuted".split(" "),wa="error networkState readyState seeking initialTime startOffsetTime paused played ended videoTracks audioTracks videoWidth videoHeight".split(" "),U;for(U=0;U<T.length;U++)va(T[U]),ta();for(U=0;U<wa.length;U++)va(wa[U]);t.g.isSupported=function(){return 10<=t.g.version()[0]};t.j.hc(t.g);t.g.S={};
|
||||||
|
t.g.S.fb=function(a){return!a.type?"":a.type.replace(/;.*/,"").toLowerCase()in t.g.$d?"maybe":""};t.g.S.Ub=function(a,c){c.oa(a.src)};t.g.S.dispose=m();t.g.Ta(t.g.S);t.g.$d={"video/flv":"FLV","video/x-flv":"FLV","video/mp4":"MP4","video/m4v":"MP4"};t.g.onReady=function(a){var c;if(c=(a=t.m(a))&&a.parentNode&&a.parentNode.player)a.player=c,t.g.checkReady(c.h)};t.g.checkReady=function(a){a.m()&&(a.m().vjs_getProperty?a.Xa():this.setTimeout(function(){t.g.checkReady(a)},50))};
|
||||||
|
t.g.onEvent=function(a,c){t.m(a).player.o(c)};t.g.onError=function(a,c){var d=t.m(a).player,e="FLASH: "+c;"srcnotfound"==c?d.error({code:4,message:e}):d.error(e)};
|
||||||
|
t.g.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(",")};
|
||||||
|
t.g.Hc=function(a,c,d,e,g){a=t.g.de(a,d,e,g);a=t.f("div",{innerHTML:a}).childNodes[0];d=c.parentNode;c.parentNode.replaceChild(a,c);a[t.expando]=c[t.expando];var h=d.childNodes[0];setTimeout(function(){h.style.display="block"},1E3);return a};
|
||||||
|
t.g.de=function(a,c,d,e){var g="",h="",k="";c&&t.i.da(c,function(a,c){g+=a+"="+c+"&"});d=t.i.D({movie:a,flashvars:g,allowScriptAccess:"always",allowNetworking:"all"},d);t.i.da(d,function(a,c){h+='<param name="'+a+'" value="'+c+'" />'});e=t.i.D({data:a,width:"100%",height:"100%"},e);t.i.da(e,function(a,c){k+=a+'="'+c+'" '});return'<object type="application/x-shockwave-flash" '+k+">"+h+"</object>"};t.g.Ve={"rtmp/mp4":"MP4","rtmp/flv":"FLV"};t.g.If=function(a,c){return a+"&"+c};
|
||||||
|
t.g.Ue=function(a){var c={Cc:"",nd:""};if(!a)return c;var d=a.indexOf("&"),e;-1!==d?e=d+1:(d=e=a.lastIndexOf("/")+1,0===d&&(d=e=a.length));c.Cc=a.substring(0,d);c.nd=a.substring(e,a.length);return c};t.g.ne=function(a){return a in t.g.Ve};t.g.Hd=/^rtmp[set]?:\/\//i;t.g.me=function(a){return t.g.Hd.test(a)};t.g.bc={};t.g.bc.fb=function(a){return t.g.ne(a.type)||t.g.me(a.src)?"maybe":""};t.g.bc.Ub=function(a,c){var d=t.g.Ue(a.src);c.setRtmpConnection(d.Cc);c.setRtmpStream(d.nd)};t.g.Ta(t.g.bc);
|
||||||
|
t.Gd=t.a.extend({l:function(a,c,d){t.a.call(this,a,c,d);if(!a.q.sources||0===a.q.sources.length){c=0;for(d=a.q.techOrder;c<d.length;c++){var e=t.wa(d[c]),g=window.videojs[e];if(g&&g.isSupported()){ka(a,e);break}}}else a.src(a.q.sources)}});t.sc={disabled:"disabled",hidden:"hidden",showing:"showing"};t.Id={subtitles:"subtitles",captions:"captions",descriptions:"descriptions",chapters:"chapters",metadata:"metadata"};
|
||||||
|
t.t=function(a){var c,d,e,g,h,k,q,r,u,A,R;a=a||{};if(!a.player)throw Error("A player was not provided.");c=this;if(t.qa)for(R in c=document.createElement("custom"),t.t.prototype)c[R]=t.t.prototype[R];c.d=a.player;e=t.sc[a.mode]||"disabled";g=t.Id[a.kind]||"subtitles";h=a.label||"";k=a.language||a.srclang||"";d=a.id||"vjs_text_track_"+t.s++;if("metadata"===g||"chapters"===g)e="hidden";c.X=[];c.Ja=[];q=new t.W(c.X);r=new t.W(c.Ja);A=l;u=t.bind(c,function(){this.activeCues;A&&(this.trigger("cuechange"),
|
||||||
|
A=l)});"disabled"!==e&&c.d.b("timeupdate",u);Object.defineProperty(c,"kind",{get:function(){return g},set:Function.prototype});Object.defineProperty(c,"label",{get:function(){return h},set:Function.prototype});Object.defineProperty(c,"language",{get:function(){return k},set:Function.prototype});Object.defineProperty(c,"id",{get:function(){return d},set:Function.prototype});Object.defineProperty(c,"mode",{get:function(){return e},set:function(a){t.sc[a]&&(e=a,"showing"===e&&this.d.b("timeupdate",u),
|
||||||
|
this.o("modechange"))}});Object.defineProperty(c,"cues",{get:function(){return!this.Yb?j:q},set:Function.prototype});Object.defineProperty(c,"activeCues",{get:function(){var a,c,d,e,g;if(!this.Yb)return j;if(0===this.cues.length)return r;e=this.d.currentTime();a=0;c=this.cues.length;for(d=[];a<c;a++)g=this.cues[a],g.startTime<=e&&g.endTime>=e?d.push(g):g.startTime===g.endTime&&(g.startTime<=e&&g.startTime+0.5>=e)&&d.push(g);A=l;if(d.length!==this.Ja.length)A=f;else for(a=0;a<d.length;a++)-1===xa.call(this.Ja,
|
||||||
|
d[a])&&(A=f);this.Ja=d;r.sb(this.Ja);return r},set:Function.prototype});a.src?ya(a.src,c):c.Yb=f;if(t.qa)return c};t.t.prototype=t.i.create(t.z.prototype);t.t.prototype.constructor=t.t;t.t.prototype.cb={cuechange:"cuechange"};t.t.prototype.wc=function(a){var c=this.d.textTracks(),d=0;if(c)for(;d<c.length;d++)c[d]!==this&&c[d].bd(a);this.X.push(a);this.cues.sb(this.X)};t.t.prototype.bd=function(a){for(var c=0,d=this.X.length,e,g=l;c<d;c++)e=this.X[c],e===a&&(this.X.splice(c,1),g=f);g&&this.Ec.sb(this.X)};
|
||||||
|
var ya,V,xa;ya=function(a,c){t.gf(a,t.bind(this,function(a,e,g){if(a)return t.log.error(a);c.Yb=f;V(g,c)}))};V=function(a,c){if("function"!==typeof window.WebVTT)window.setTimeout(function(){V(a,c)},25);else{var d=new window.WebVTT.Parser(window,window.vttjs,window.WebVTT.StringDecoder());d.oncue=function(a){c.wc(a)};d.onparsingerror=function(a){t.log.error(a)};d.parse(a);d.flush()}};
|
||||||
|
xa=function(a,c){var d;if(this==j)throw new TypeError('"this" is null or not defined');var e=Object(this),g=e.length>>>0;if(0===g)return-1;d=+c||0;Infinity===Math.abs(d)&&(d=0);if(d>=g)return-1;for(d=Math.max(0<=d?d:g-Math.abs(d),0);d<g;){if(d in e&&e[d]===a)return d;d++}return-1};
|
||||||
|
t.F=function(a){var c=this,d,e=0;if(t.qa)for(d in c=document.createElement("custom"),t.F.prototype)c[d]=t.F.prototype[d];a=a||[];c.Wa=[];for(Object.defineProperty(c,"length",{get:function(){return this.Wa.length}});e<a.length;e++)P(c,a[e]);if(t.qa)return c};t.F.prototype=t.i.create(t.z.prototype);t.F.prototype.constructor=t.F;t.F.prototype.cb={change:"change",addtrack:"addtrack",removetrack:"removetrack"};for(var za in t.F.prototype.cb)t.F.prototype["on"+za]=j;
|
||||||
|
function P(a,c){var d=a.Wa.length;""+d in a||Object.defineProperty(a,d,{get:function(){return this.Wa[d]}});c.addEventListener("modechange",t.bind(a,function(){this.o("change")}));a.Wa.push(c);a.o({type:"addtrack",T:c})}function Q(a,c){for(var d=0,e=a.length,g;d<e;d++)if(g=a[d],g===c){a.Wa.splice(d,1);break}a.o({type:"removetrack",T:c})}t.F.prototype.ee=function(a){for(var c=0,d=this.length,e=j,g;c<d;c++)if(g=this[c],g.id===a){e=g;break}return e};
|
||||||
|
t.W=function(a){var c=this,d;if(t.qa)for(d in c=document.createElement("custom"),t.W.prototype)c[d]=t.W.prototype[d];t.W.prototype.sb.call(c,a);Object.defineProperty(c,"length",{get:n("qe")});if(t.qa)return c};t.W.prototype.sb=function(a){var c=this.length||0,d=0,e=a.length;this.X=a;this.qe=a.length;a=function(a){""+a in this||Object.defineProperty(this,""+a,{get:function(){return this.X[a]}})};if(c<e)for(d=c;d<e;d++)a.call(this,d)};
|
||||||
|
t.W.prototype.ce=function(a){for(var c=0,d=this.length,e=j,g;c<d;c++)if(g=this[c],g.id===a){e=g;break}return e};t.ta=t.a.extend({l:function(a,c,d){t.a.call(this,a,c,d);a.b("loadstart",t.bind(this,this.$e));a.I(t.bind(this,function(){if(a.h&&a.h.featuresNativeTextTracks)this.Y();else{var c,d,h;a.b("fullscreenchange",t.bind(this,this.C));d=a.q.tracks||[];for(c=0;c<d.length;c++)h=d[c],this.d.ia(h)}}))}});t.ta.prototype.$e=function(){this.d.h&&this.d.h.featuresNativeTextTracks?this.Y():this.show()};
|
||||||
|
t.ta.prototype.f=function(){return t.a.prototype.f.call(this,"div",{className:"vjs-text-track-display"})};t.ta.prototype.Qd=function(){"function"===typeof window.WebVTT&&window.WebVTT.processCues(window,[],this.c)};function W(a,c){return"rgba("+parseInt(a[1]+a[1],16)+","+parseInt(a[2]+a[2],16)+","+parseInt(a[3]+a[3],16)+","+c+")"}
|
||||||
|
var Aa={yf:"monospace",Ef:"sans-serif",Gf:"serif",zf:'"Andale Mono", "Lucida Console", monospace',Af:'"Courier New", monospace',Cf:"sans-serif",Df:"serif",pf:'"Comic Sans MS", Impact, fantasy',Ff:'"Monotype Corsiva", cursive',Hf:'"Andale Mono", "Lucida Console", monospace, sans-serif'};t.ta.prototype.C=function(){var a=this.d.textTracks(),c=0,d;this.Qd();if(a)for(;c<a.length;c++)d=a[c],"showing"===d.mode&&this.df(d)};
|
||||||
|
t.ta.prototype.df=function(a){if("function"===typeof window.WebVTT&&a.activeCues){for(var c=0,d=this.d.textTrackSettings.Lc(),e,g=[];c<a.activeCues.length;c++)g.push(a.activeCues[c]);window.WebVTT.processCues(window,a.activeCues,this.c);for(c=g.length;c--;){a=g[c].qf;d.color&&(a.firstChild.style.color=d.color);if(d.od)try{a.firstChild.style.color=W(d.color||"#fff",d.od)}catch(h){}d.backgroundColor&&(a.firstChild.style.backgroundColor=d.backgroundColor);if(d.zc)try{a.firstChild.style.backgroundColor=
|
||||||
|
W(d.backgroundColor||"#000",d.zc)}catch(k){}if(d.gc)if(d.vd)try{a.style.backgroundColor=W(d.gc,d.vd)}catch(q){}else a.style.backgroundColor=d.gc;d.Na&&("dropshadow"===d.Na?a.firstChild.style.textShadow="2px 2px 3px #222, 2px 2px 4px #222, 2px 2px 5px #222":"raised"===d.Na?a.firstChild.style.textShadow="1px 1px #222, 2px 2px #222, 3px 3px #222":"depressed"===d.Na?a.firstChild.style.textShadow="1px 1px #ccc, 0 1px #ccc, -1px -1px #222, 0 -1px #222":"uniform"===d.Na&&(a.firstChild.style.textShadow="0 0 4px #222, 0 0 4px #222, 0 0 4px #222, 0 0 4px #222"));
|
||||||
|
d.Rb&&1!==d.Rb&&(e=window.Bf(a.style.fontSize),a.style.fontSize=e*d.Rb+"px",a.style.height="auto",a.style.top="auto",a.style.bottom="2px");d.fontFamily&&"default"!==d.fontFamily&&("small-caps"===d.fontFamily?a.firstChild.style.fontVariant="small-caps":a.firstChild.style.fontFamily=Aa[d.fontFamily])}}};
|
||||||
|
t.aa=t.M.extend({l:function(a,c){var d=this.T=c.track,e=a.textTracks(),g,h;e&&(g=t.bind(this,function(){var a="showing"===this.T.mode,c,d,g;if(this instanceof t.Cb){a=f;d=0;for(g=e.length;d<g;d++)if(c=e[d],c.kind===this.T.kind&&"showing"===c.mode){a=l;break}}this.selected(a)}),e.addEventListener("change",g),a.b("dispose",function(){e.removeEventListener("change",g)}));c.label=d.label||d.language||"Unknown";c.selected=d["default"]||"showing"===d.mode;t.M.call(this,a,c);e&&e.onchange===b&&this.b(["tap",
|
||||||
|
"click"],function(){if("object"!==typeof window.zd)try{h=new window.zd("change")}catch(a){}h||(h=document.createEvent("Event"),h.initEvent("change",f,f));e.dispatchEvent(h)})}});t.aa.prototype.u=function(){var a=this.T.kind,c=this.d.textTracks(),d,e=0;t.M.prototype.u.call(this);if(c)for(;e<c.length;e++)d=c[e],d.kind===a&&(d.mode=d===this.T?"showing":"disabled")};t.Cb=t.aa.extend({l:function(a,c){c.track={kind:c.kind,player:a,label:c.kind+" off","default":l,mode:"disabled"};t.aa.call(this,a,c);this.selected(f)}});
|
||||||
|
t.vb=t.aa.extend({l:function(a,c){c.track={kind:c.kind,player:a,label:c.kind+" settings","default":l,mode:"disabled"};t.aa.call(this,a,c);this.p("vjs-texttrack-settings")}});t.vb.prototype.u=function(){this.k().ea("textTrackSettings").show()};
|
||||||
|
t.Q=t.O.extend({l:function(a,c){var d,e;t.O.call(this,a,c);d=this.d.textTracks();1>=this.H.length&&this.Y();d&&(e=t.bind(this,this.update),d.addEventListener("removetrack",e),d.addEventListener("addtrack",e),this.d.b("dispose",function(){d.removeEventListener("removetrack",e);d.removeEventListener("addtrack",e)}))}});
|
||||||
|
t.Q.prototype.La=function(){var a=[],c,d;this instanceof t.pa&&(!this.k().h||!this.k().h.featuresNativeTextTracks)&&a.push(new t.vb(this.d,{kind:this.fa}));a.push(new t.Cb(this.d,{kind:this.fa}));d=this.d.textTracks();if(!d)return a;for(var e=0;e<d.length;e++)c=d[e],c.kind===this.fa&&a.push(new t.aa(this.d,{track:c}));return a};t.pa=t.Q.extend({l:function(a,c,d){t.Q.call(this,a,c,d);this.c.setAttribute("aria-label","Captions Menu")}});t.pa.prototype.fa="captions";t.pa.prototype.ua="Captions";
|
||||||
|
t.pa.prototype.className="vjs-captions-button";t.pa.prototype.update=function(){var a=2;t.Q.prototype.update.call(this);this.k().h&&this.k().h.featuresNativeTextTracks&&(a=1);this.H&&this.H.length>a?this.show():this.Y()};t.bb=t.Q.extend({l:function(a,c,d){t.Q.call(this,a,c,d);this.c.setAttribute("aria-label","Subtitles Menu")}});t.bb.prototype.fa="subtitles";t.bb.prototype.ua="Subtitles";t.bb.prototype.className="vjs-subtitles-button";
|
||||||
|
t.Ya=t.Q.extend({l:function(a,c,d){t.Q.call(this,a,c,d);this.c.setAttribute("aria-label","Chapters Menu")}});s=t.Ya.prototype;s.fa="chapters";s.ua="Chapters";s.className="vjs-chapters-button";s.La=function(){var a=[],c,d;d=this.d.textTracks();if(!d)return a;for(var e=0;e<d.length;e++)c=d[e],c.kind===this.fa&&a.push(new t.aa(this.d,{track:c}));return a};
|
||||||
|
s.Ma=function(){for(var a=this.d.textTracks()||[],c=0,d=a.length,e,g,h=this.H=[];c<d;c++)if(e=a[c],e.kind==this.fa)if(e.Ec){g=e;break}else e.mode="hidden",window.setTimeout(t.bind(this,function(){this.Ma()}),100);a=this.Aa;a===b&&(a=new t.ra(this.d),a.xa().appendChild(t.f("li",{className:"vjs-menu-title",innerHTML:t.wa(this.fa),Xe:-1})));if(g){e=g.cues;for(var k,c=0,d=e.length;c<d;c++)k=e[c],k=new t.Za(this.d,{track:g,cue:k}),h.push(k),a.ba(k);this.ba(a)}0<this.H.length&&this.show();return a};
|
||||||
|
t.Za=t.M.extend({l:function(a,c){var d=this.T=c.track,e=this.cue=c.cue,g=a.currentTime();c.label=e.text;c.selected=e.startTime<=g&&g<e.endTime;t.M.call(this,a,c);d.addEventListener("cuechange",t.bind(this,this.update))}});t.Za.prototype.u=function(){t.M.prototype.u.call(this);this.d.currentTime(this.cue.startTime);this.update(this.cue.startTime)};t.Za.prototype.update=function(){var a=this.cue,c=this.d.currentTime();this.selected(a.startTime<=c&&c<a.endTime)};
|
||||||
|
function X(a){var c;a.Le?c=a.Le[0]:a.options&&(c=a.options[a.options.selectedIndex]);return c.value}function Y(a,c){var d,e;if(c){for(d=0;d<a.options.length&&!(e=a.options[d],e.value===c);d++);a.selectedIndex=d}}
|
||||||
|
t.tc=t.a.extend({l:function(a,c){t.a.call(this,a,c);this.Y();t.b(this.m().querySelector(".vjs-done-button"),"click",t.bind(this,function(){this.Ke();this.Y()}));t.b(this.m().querySelector(".vjs-default-button"),"click",t.bind(this,function(){this.m().querySelector(".vjs-fg-color > select").selectedIndex=0;this.m().querySelector(".vjs-bg-color > select").selectedIndex=0;this.m().querySelector(".window-color > select").selectedIndex=0;this.m().querySelector(".vjs-text-opacity > select").selectedIndex=
|
||||||
|
0;this.m().querySelector(".vjs-bg-opacity > select").selectedIndex=0;this.m().querySelector(".vjs-window-opacity > select").selectedIndex=0;this.m().querySelector(".vjs-edge-style select").selectedIndex=0;this.m().querySelector(".vjs-font-family select").selectedIndex=0;this.m().querySelector(".vjs-font-percent select").selectedIndex=2;this.C()}));t.b(this.m().querySelector(".vjs-fg-color > select"),"change",t.bind(this,this.C));t.b(this.m().querySelector(".vjs-bg-color > select"),"change",t.bind(this,
|
||||||
|
this.C));t.b(this.m().querySelector(".window-color > select"),"change",t.bind(this,this.C));t.b(this.m().querySelector(".vjs-text-opacity > select"),"change",t.bind(this,this.C));t.b(this.m().querySelector(".vjs-bg-opacity > select"),"change",t.bind(this,this.C));t.b(this.m().querySelector(".vjs-window-opacity > select"),"change",t.bind(this,this.C));t.b(this.m().querySelector(".vjs-font-percent select"),"change",t.bind(this,this.C));t.b(this.m().querySelector(".vjs-edge-style select"),"change",t.bind(this,
|
||||||
|
this.C));t.b(this.m().querySelector(".vjs-font-family select"),"change",t.bind(this,this.C));a.options().persistTextTrackSettings&&this.Je()}});s=t.tc.prototype;s.f=function(){return t.a.prototype.f.call(this,"div",{className:"vjs-caption-settings vjs-modal-overlay",innerHTML:'<div class="vjs-tracksettings"><div class="vjs-tracksettings-colors"><div class="vjs-fg-color vjs-tracksetting"><label class="vjs-label">Foreground</label><select><option value="">---</option><option value="#FFF">White</option><option value="#000">Black</option><option value="#F00">Red</option><option value="#0F0">Green</option><option value="#00F">Blue</option><option value="#FF0">Yellow</option><option value="#F0F">Magenta</option><option value="#0FF">Cyan</option></select><span class="vjs-text-opacity vjs-opacity"><select><option value="">---</option><option value="1">Opaque</option><option value="0.5">Semi-Opaque</option></select></span></div><div class="vjs-bg-color vjs-tracksetting"><label class="vjs-label">Background</label><select><option value="">---</option><option value="#FFF">White</option><option value="#000">Black</option><option value="#F00">Red</option><option value="#0F0">Green</option><option value="#00F">Blue</option><option value="#FF0">Yellow</option><option value="#F0F">Magenta</option><option value="#0FF">Cyan</option></select><span class="vjs-bg-opacity vjs-opacity"><select><option value="">---</option><option value="1">Opaque</option><option value="0.5">Semi-Transparent</option><option value="0">Transparent</option></select></span></div><div class="window-color vjs-tracksetting"><label class="vjs-label">Window</label><select><option value="">---</option><option value="#FFF">White</option><option value="#000">Black</option><option value="#F00">Red</option><option value="#0F0">Green</option><option value="#00F">Blue</option><option value="#FF0">Yellow</option><option value="#F0F">Magenta</option><option value="#0FF">Cyan</option></select><span class="vjs-window-opacity vjs-opacity"><select><option value="">---</option><option value="1">Opaque</option><option value="0.5">Semi-Transparent</option><option value="0">Transparent</option></select></span></div></div><div class="vjs-tracksettings-font"><div class="vjs-font-percent vjs-tracksetting"><label class="vjs-label">Font Size</label><select><option value="0.50">50%</option><option value="0.75">75%</option><option value="1.00" selected>100%</option><option value="1.25">125%</option><option value="1.50">150%</option><option value="1.75">175%</option><option value="2.00">200%</option><option value="3.00">300%</option><option value="4.00">400%</option></select></div><div class="vjs-edge-style vjs-tracksetting"><label class="vjs-label">Text Edge Style</label><select><option value="none">None</option><option value="raised">Raised</option><option value="depressed">Depressed</option><option value="uniform">Uniform</option><option value="dropshadow">Dropshadow</option></select></div><div class="vjs-font-family vjs-tracksetting"><label class="vjs-label">Font Family</label><select><option value="">Default</option><option value="monospaceSerif">Monospace Serif</option><option value="proportionalSerif">Proportional Serif</option><option value="monospaceSansSerif">Monospace Sans-Serif</option><option value="proportionalSansSerif">Proportional Sans-Serif</option><option value="casual">Casual</option><option value="script">Script</option><option value="small-caps">Small Caps</option></select></div></div></div><div class="vjs-tracksettings-controls"><button class="vjs-default-button">Defaults</button><button class="vjs-done-button">Done</button></div>'})};
|
||||||
|
s.Lc=function(){var a,c,d,e,g,h,k,q,r,u;a=this.m();g=X(a.querySelector(".vjs-edge-style select"));h=X(a.querySelector(".vjs-font-family select"));k=X(a.querySelector(".vjs-fg-color > select"));d=X(a.querySelector(".vjs-text-opacity > select"));q=X(a.querySelector(".vjs-bg-color > select"));c=X(a.querySelector(".vjs-bg-opacity > select"));r=X(a.querySelector(".window-color > select"));e=X(a.querySelector(".vjs-window-opacity > select"));a=window.parseFloat(X(a.querySelector(".vjs-font-percent > select")));
|
||||||
|
c={backgroundOpacity:c,textOpacity:d,windowOpacity:e,edgeStyle:g,fontFamily:h,color:k,backgroundColor:q,windowColor:r,fontPercent:a};for(u in c)(""===c[u]||"none"===c[u]||"fontPercent"===u&&1===c[u])&&delete c[u];return c};
|
||||||
|
s.Se=function(a){var c=this.m();Y(c.querySelector(".vjs-edge-style select"),a.Na);Y(c.querySelector(".vjs-font-family select"),a.fontFamily);Y(c.querySelector(".vjs-fg-color > select"),a.color);Y(c.querySelector(".vjs-text-opacity > select"),a.od);Y(c.querySelector(".vjs-bg-color > select"),a.backgroundColor);Y(c.querySelector(".vjs-bg-opacity > select"),a.zc);Y(c.querySelector(".window-color > select"),a.gc);Y(c.querySelector(".vjs-window-opacity > select"),a.vd);(a=a.Rb)&&(a=a.toFixed(2));Y(c.querySelector(".vjs-font-percent > select"),
|
||||||
|
a)};s.Je=function(){var a;try{a=JSON.parse(window.localStorage.getItem("vjs-text-track-settings"))}catch(c){}a&&this.Se(a)};s.Ke=function(){var a;if(this.d.options().persistTextTrackSettings){a=this.Lc();try{t.kb(a)?window.localStorage.removeItem("vjs-text-track-settings"):window.localStorage.setItem("vjs-text-track-settings",JSON.stringify(a))}catch(c){}}};s.C=function(){var a=this.d.ea("textTrackDisplay");a&&a.C()};
|
||||||
|
if("undefined"!==typeof window.JSON&&"function"===typeof window.JSON.parse)t.JSON=window.JSON;else{t.JSON={};var Z=/[\u0000\u00ad\u0600-\u0604\u070f\u17b4\u17b5\u200c-\u200f\u2028-\u202f\u2060-\u206f\ufeff\ufff0-\uffff]/g;t.JSON.parse=function(a,c){function d(a,e){var k,q,r=a[e];if(r&&"object"===typeof r)for(k in r)Object.prototype.hasOwnProperty.call(r,k)&&(q=d(r,k),q!==b?r[k]=q:delete r[k]);return c.call(a,e,r)}var e;a=String(a);Z.lastIndex=0;Z.test(a)&&(a=a.replace(Z,function(a){return"\\u"+("0000"+
|
||||||
|
a.charCodeAt(0).toString(16)).slice(-4)}));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");}}
|
||||||
|
t.yc=function(){var a,c,d,e;a=document.getElementsByTagName("video");c=document.getElementsByTagName("audio");var g=[];if(a&&0<a.length){d=0;for(e=a.length;d<e;d++)g.push(a[d])}if(c&&0<c.length){d=0;for(e=c.length;d<e;d++)g.push(c[d])}if(g&&0<g.length){d=0;for(e=g.length;d<e;d++)if((c=g[d])&&c.getAttribute)c.player===b&&(a=c.getAttribute("data-setup"),a!==j&&videojs(c));else{t.Kb();break}}else t.ud||t.Kb()};t.Kb=function(){setTimeout(t.yc,1)};
|
||||||
|
"complete"===document.readyState?t.ud=f:t.N(window,"load",function(){t.ud=f});t.Kb();t.Ge=function(a,c){t.Player.prototype[a]=c};var Ba=this;function $(a,c){var d=a.split("."),e=Ba;!(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",t);$("_V_",t);$("videojs.options",t.options);$("videojs.players",t.Da);$("videojs.TOUCH_ENABLED",t.Gb);$("videojs.cache",t.va);$("videojs.Component",t.a);t.a.prototype.player=t.a.prototype.k;t.a.prototype.options=t.a.prototype.options;t.a.prototype.init=t.a.prototype.l;t.a.prototype.dispose=t.a.prototype.dispose;t.a.prototype.createEl=t.a.prototype.f;t.a.prototype.contentEl=t.a.prototype.xa;t.a.prototype.el=t.a.prototype.m;t.a.prototype.addChild=t.a.prototype.ba;
|
||||||
|
t.a.prototype.getChild=t.a.prototype.ea;t.a.prototype.getChildById=t.a.prototype.be;t.a.prototype.children=t.a.prototype.children;t.a.prototype.initChildren=t.a.prototype.Oc;t.a.prototype.removeChild=t.a.prototype.removeChild;t.a.prototype.on=t.a.prototype.b;t.a.prototype.off=t.a.prototype.n;t.a.prototype.one=t.a.prototype.N;t.a.prototype.trigger=t.a.prototype.o;t.a.prototype.triggerReady=t.a.prototype.Xa;t.a.prototype.show=t.a.prototype.show;t.a.prototype.hide=t.a.prototype.Y;
|
||||||
|
t.a.prototype.width=t.a.prototype.width;t.a.prototype.height=t.a.prototype.height;t.a.prototype.dimensions=t.a.prototype.Ud;t.a.prototype.ready=t.a.prototype.I;t.a.prototype.addClass=t.a.prototype.p;t.a.prototype.removeClass=t.a.prototype.r;t.a.prototype.hasClass=t.a.prototype.Qa;t.a.prototype.buildCSSClass=t.a.prototype.V;t.a.prototype.localize=t.a.prototype.v;t.a.prototype.setInterval=t.a.prototype.setInterval;t.a.prototype.setTimeout=t.a.prototype.setTimeout;$("videojs.EventEmitter",t.z);
|
||||||
|
t.z.prototype.on=t.z.prototype.b;t.z.prototype.addEventListener=t.z.prototype.addEventListener;t.z.prototype.off=t.z.prototype.n;t.z.prototype.removeEventListener=t.z.prototype.removeEventListener;t.z.prototype.one=t.z.prototype.N;t.z.prototype.trigger=t.z.prototype.o;t.z.prototype.dispatchEvent=t.z.prototype.dispatchEvent;t.Player.prototype.ended=t.Player.prototype.ended;t.Player.prototype.enterFullWindow=t.Player.prototype.Jc;t.Player.prototype.exitFullWindow=t.Player.prototype.Ob;
|
||||||
|
t.Player.prototype.preload=t.Player.prototype.Sa;t.Player.prototype.remainingTime=t.Player.prototype.remainingTime;t.Player.prototype.supportsFullScreen=t.Player.prototype.Ua;t.Player.prototype.currentType=t.Player.prototype.Rd;t.Player.prototype.requestFullScreen=t.Player.prototype.requestFullScreen;t.Player.prototype.requestFullscreen=t.Player.prototype.requestFullscreen;t.Player.prototype.cancelFullScreen=t.Player.prototype.cancelFullScreen;t.Player.prototype.exitFullscreen=t.Player.prototype.exitFullscreen;
|
||||||
|
t.Player.prototype.isFullScreen=t.Player.prototype.isFullScreen;t.Player.prototype.isFullscreen=t.Player.prototype.isFullscreen;t.Player.prototype.textTracks=t.Player.prototype.textTracks;t.Player.prototype.remoteTextTracks=t.Player.prototype.Z;t.Player.prototype.addTextTrack=t.Player.prototype.addTextTrack;t.Player.prototype.addRemoteTextTrack=t.Player.prototype.ia;t.Player.prototype.removeRemoteTextTrack=t.Player.prototype.Ea;t.Player.prototype.seekable=t.Player.prototype.seekable;
|
||||||
|
$("videojs.MediaLoader",t.Gd);$("videojs.TextTrackDisplay",t.ta);$("videojs.ControlBar",t.wb);$("videojs.Button",t.w);$("videojs.PlayToggle",t.oc);$("videojs.FullscreenToggle",t.$a);$("videojs.BigPlayButton",t.ub);$("videojs.LoadingSpinner",t.mc);$("videojs.CurrentTimeDisplay",t.xb);$("videojs.DurationDisplay",t.yb);$("videojs.TimeDivider",t.uc);$("videojs.RemainingTimeDisplay",t.Fb);$("videojs.LiveDisplay",t.lc);$("videojs.ErrorDisplay",t.zb);$("videojs.Slider",t.U);$("videojs.ProgressControl",t.Eb);
|
||||||
|
$("videojs.SeekBar",t.rc);$("videojs.LoadProgressBar",t.Bb);$("videojs.PlayProgressBar",t.nc);$("videojs.SeekHandle",t.ab);$("videojs.VolumeControl",t.Ib);$("videojs.VolumeBar",t.Hb);$("videojs.VolumeLevel",t.vc);$("videojs.VolumeMenuButton",t.Ia);$("videojs.VolumeHandle",t.Jb);$("videojs.MuteToggle",t.sa);$("videojs.PosterImage",t.qc);$("videojs.Menu",t.ra);$("videojs.MenuItem",t.M);$("videojs.MenuButton",t.O);$("videojs.PlaybackRateMenuButton",t.pc);$("videojs.ChaptersTrackMenuItem",t.Za);
|
||||||
|
$("videojs.TextTrackButton",t.Q);$("videojs.TextTrackMenuItem",t.aa);$("videojs.OffTextTrackMenuItem",t.Cb);$("videojs.CaptionSettingsMenuItem",t.vb);t.O.prototype.createItems=t.O.prototype.La;t.Q.prototype.createItems=t.Q.prototype.La;t.Ya.prototype.createItems=t.Ya.prototype.La;$("videojs.SubtitlesButton",t.bb);$("videojs.CaptionsButton",t.pa);$("videojs.ChaptersButton",t.Ya);$("videojs.MediaTechController",t.j);t.j.withSourceHandlers=t.j.hc;t.j.prototype.featuresVolumeControl=t.j.prototype.vf;
|
||||||
|
t.j.prototype.featuresFullscreenResize=t.j.prototype.rf;t.j.prototype.featuresPlaybackRate=t.j.prototype.sf;t.j.prototype.featuresProgressEvents=t.j.prototype.tf;t.j.prototype.featuresTimeupdateEvents=t.j.prototype.uf;t.j.prototype.setPoster=t.j.prototype.fd;t.j.prototype.textTracks=t.j.prototype.textTracks;t.j.prototype.remoteTextTracks=t.j.prototype.Z;t.j.prototype.addTextTrack=t.j.prototype.addTextTrack;t.j.prototype.addRemoteTextTrack=t.j.prototype.ia;t.j.prototype.removeRemoteTextTrack=t.j.prototype.Ea;
|
||||||
|
$("videojs.Html5",t.e);t.e.Events=t.e.Ab;t.e.isSupported=t.e.isSupported;t.e.canPlaySource=t.e.Ac;t.e.patchCanPlayType=t.e.Xc;t.e.unpatchCanPlayType=t.e.cf;t.e.prototype.setCurrentTime=t.e.prototype.cc;t.e.prototype.setVolume=t.e.prototype.Te;t.e.prototype.setMuted=t.e.prototype.Pe;t.e.prototype.setPreload=t.e.prototype.Re;t.e.prototype.setAutoplay=t.e.prototype.Me;t.e.prototype.setLoop=t.e.prototype.Oe;t.e.prototype.enterFullScreen=t.e.prototype.Ic;t.e.prototype.exitFullScreen=t.e.prototype.Yd;
|
||||||
|
t.e.prototype.playbackRate=t.e.prototype.playbackRate;t.e.prototype.setPlaybackRate=t.e.prototype.Qe;t.e.registerSourceHandler=t.e.Ta;t.e.selectSourceHandler=t.e.rb;t.e.prototype.setSource=t.e.prototype.na;t.e.prototype.disposeSourceHandler=t.e.prototype.ja;t.e.prototype.textTracks=t.e.prototype.textTracks;t.e.prototype.remoteTextTracks=t.e.prototype.Z;t.e.prototype.addTextTrack=t.e.prototype.addTextTrack;t.e.prototype.addRemoteTextTrack=t.e.prototype.ia;t.e.prototype.removeRemoteTextTrack=t.e.prototype.Ea;
|
||||||
|
$("videojs.Flash",t.g);t.g.isSupported=t.g.isSupported;t.g.canPlaySource=t.g.Ac;t.g.onReady=t.g.onReady;t.g.embed=t.g.Hc;t.g.version=t.g.version;t.g.prototype.setSource=t.g.prototype.na;t.g.registerSourceHandler=t.g.Ta;t.g.selectSourceHandler=t.g.rb;t.g.prototype.setSource=t.g.prototype.na;t.g.prototype.disposeSourceHandler=t.g.prototype.ja;$("videojs.TextTrack",t.t);$("videojs.TextTrackList",t.F);$("videojs.TextTrackCueList",t.W);$("videojs.TextTrackSettings",t.tc);t.t.prototype.id=t.t.prototype.id;
|
||||||
|
t.t.prototype.label=t.t.prototype.label;t.t.prototype.kind=t.t.prototype.Xb;t.t.prototype.mode=t.t.prototype.mode;t.t.prototype.cues=t.t.prototype.Ec;t.t.prototype.activeCues=t.t.prototype.of;t.t.prototype.addCue=t.t.prototype.wc;t.t.prototype.removeCue=t.t.prototype.bd;t.F.prototype.getTrackById=t.F.prototype.ee;t.W.prototype.getCueById=t.F.prototype.ce;$("videojs.CaptionsTrack",t.hf);$("videojs.SubtitlesTrack",t.nf);$("videojs.ChaptersTrack",t.jf);$("videojs.autoSetup",t.yc);
|
||||||
|
$("videojs.plugin",t.Ge);$("videojs.createTimeRange",t.ya);$("videojs.util",t.$);t.$.mergeOptions=t.$.Ba;t.addLanguage=t.Kd;})();
|
Loading…
Add table
Reference in a new issue