edusoho企培版纯内网部署教程(解决播放器,上传,后台所有页面卡顿问题,开启倍速播放/播放器指纹等)

处理edusoho内网部署问题

前面的环境随你开心只要是正常lnmp就行,就php有要求 ,根据教程先能访问网校页面。重点在后面的内网配置及代码改动(说明: 改完以后不建议升级,升级版本就要再改一次,安装版本最好是偏新的,低版本可能存在某些bug,可以找个连外网的装了升级到最新 然后迁移到内网环境再修改代码)

1.先配置linux环境(php nginx mysql) 以下是ubtntu的

centos: edusoho企培版 centos8.2 /php7/mysql8.0部署文档-CSDN博客

php7.1  7.2  7.3 选择你要的版本。 7以下 和7.4及以上不支持(装了跑不起来的,不信可以试试)

mysql5.7-mysql8.0 之间选择你要的版本

nginx


注意: 需要修改部分配置

 php

    //修改/etc/php/7.1/fpm/php.ini文件配置项
    vim /etc/php/7.1/fpm/php.ini

    post_max_size = 1024M
    memory_limit = 1024M
    upload_max_filesize = 1024M


    //修改 PHP-FPM 监听方式为127.0.0.1:9000:

    sudo sed -i 's/listen = .*/listen = 127.0.0.1:9000/g'             
    /etc/php/7.1/fpm/pool.d/www.conf


    //重启php
    sudo service php7.1-fpm restart

nginx
   vim /etc/nginx/nginx.conf

    添加`client_max_body_size 1024M;`到http下,如下所示

    http {

        ##
        # Basic Settings
        ##

        client_max_body_size 1024M; #添加后nginx可以允许上传更大的文件
        ...
    }

2.下载edusoho企培版

cd /var/www

//这里是21.4.5 你可以选择下载最新的也可以安装这个版本跑通以后,后台再去升级,因为官方下载的包也不是最新的版本
wget https://download.edusoho.com/edusoho-ct-21.4.5.zip 

//没有zip 安装zip
sudo apt install zip

unzip edusoho-ct-21.4.5.zip

cd edusoho

//    给权限
sudo chown -R www-data:www-data .
sudo chmod -R 777 .

3.配置edusoho的nginx

cd /etc/nginx/sites-enabled

sudo vim edusoho


粘贴下面内容

server {
    listen 80;

    # [改] 网站的域名 或服务器ip
    server_name 121.199.50.180;
    
    #301跳转可以在nginx中配置

    # 程序的安装路径
    root /var/www/edusoho/web;

    # 日志路径
    access_log /var/log/nginx/edusoho.com.access.log;
    error_log /var/log/nginx/edusoho.com.error.log;

    location / {
        index app.php;
        try_files $uri @rewriteapp;
    }

location @rewriteapp {
        rewrite ^(.*)$ /app.php/$1 last;
    }

    location ~ ^/udisk {
        internal;
        root /var/www/edusoho/app/data/;
    }
    location ~ ^/(app|app_dev)\.php(/|$) {
        fastcgi_pass   127.0.0.1:9000;
        fastcgi_split_path_info ^(.+\.php)(/.*)$;
        include fastcgi_params;
        fastcgi_param  SCRIPT_FILENAME    $document_root$fastcgi_script_name;
        fastcgi_param  HTTPS              off;
        fastcgi_param HTTP_X-Sendfile-Type X-Accel-Redirect;
        fastcgi_param HTTP_X-Accel-Mapping /udisk=/var/www/edusoho/app/data/udisk;
        fastcgi_buffer_size 128k;
        fastcgi_buffers 8 128k;
    }


    # 配置设置图片格式文件
    location ~* \.(jpg|jpeg|gif|png|ico|swf)$ {
        # 过期时间为3年
        expires 3y;
        
        # 关闭日志记录
        access_log off;

        # 关闭gzip压缩,减少CPU消耗,因为图片的压缩率不高。
        gzip off;
    }

    # 配置css/js文件
    location ~* \.(css|js)$ {
        access_log off;
        expires 3y;
    }

    # 禁止用户上传目录下所有.php文件的访问,提高安全性
    location ~ ^/files/.*\.(php|php7.0)$ {
        deny all;
    }

 # 以下配置允许运行.php的程序,方便于其他第三方系统的集成。
    location ~ \.php$ {
        # [改] 请根据实际php-fpm运行的方式修改
        fastcgi_pass   127.0.0.1:9000;
        fastcgi_split_path_info ^(.+\.php)(/.*)$;
        include fastcgi_params;
        fastcgi_param  SCRIPT_FILENAME    $document_root$fastcgi_script_name;
        fastcgi_param  HTTPS              off;
        fastcgi_param  HTTP_PROXY         "";
    }
}

浏览器输入ip或域名就开始你的安装流程了 直接下一步下一步 就完工了

重点:内网配置 纯内网部署 及 解决播放器问题,上传问题,后台所有页面卡顿问题,开启倍速播放/播放器指纹等(注意仅限于不能接外网的情况下)

1.下载sdk文件:

 链接: https://pan.baidu.com/s/1cKHJa0XR5a44nyjMkGDhAQ?pwd=k5vc 提取码: k5vc 

sdk功能是持续在更新的 目前这个是2021-11-01版本,能正常使用 如需最新需要联系官方获取

待解决问题: 由于官方课程文件库的批量上传是专门匹配接了官方云的 导致本地化批量上传多个会出现只成功一个的情况 暂未处理(懒得弄 哈哈~~~)

2.替换文件 :

替换项目目录web/service-cdn

3. 创建文件(不用管它干嘛用的,没有这个你打不开下一步)

app/data 下新建dev.lock 文件

4. 修改配置 :

进入你的网校地址 /app_dev.php/admin/setting/developer 修改气球云SDK的CDN地址为 域名/service-cdn/ 例子dev.edudev.com/service-cdn/   切记不带http://

注意: 如果你使用app_dev.php 访问报错的话说明你没有添加必要文件 在项目目录下app/data 目录新增一个dev.lock 名称的文件即可

修改是否无外网配置

5.修改部分代码

修改src/Biz/CloudPlatform/Client/FailoverCloudAPI.php 文件中的 getServerList方法


public function getServerList($nextRefreshTime = 0)
    {
        $prevApiUrl = $this->apiUrl;
        $this->setApiUrl($this->rootApiUrl);

        $servers = parent::_request('GET', '/server_list', array(), array());
        
        $servers = '{"root":"http:\/\/api.edusoho.net","leafs":[{"url":"http:\/\/leafapi1.edusoho.net","used_count":0},{"url":"http:\/\/leafapi2.edusoho.net","used_count":0}],"current_leaf":"http:\/\/leafapi2.edusoho.net","failed_count":0,"failed_expired":0,"next_refresh_time":1652733014}';
        $servers = json_decode($servers, true);
        $this->setApiUrl($prevApiUrl);

        if (empty($servers) || empty($servers['root']) || empty($servers['current_leaf']) || empty($servers['leafs'])) {
            $servers = $this->getServerListFromCdn();

            if (empty($servers) || empty($servers['root']) || empty($servers['leafs'])) {
                throw new \RuntimeException('Requested API Server list from CDN failed.');
            }
        }

        if (empty($servers['current_leaf'])) {
            $servers['current_leaf'] = $servers['leafs'][array_rand($servers['leafs'])]['url'];
        }

        foreach ($servers['leafs'] as &$leaf) {
            $leaf['used_count'] = 0;
            unset($leaf);
        }

        $servers['failed_count'] = 0;
        $servers['failed_expired'] = 0;

        if (empty($nextRefreshTime)) {
            //确保每天的凌晨0~5点之间的时间内更新
            $hour = rand(0, 5);
            $minute = rand(0, 59);
            $second = rand(0, 59);
            $nextRefreshTime = strtotime(date('Y-m-d 0:0:0', strtotime('+1 day'))) + $hour * 3600 + $minute * 60 + $second;
        }

        $servers['next_refresh_time'] = $nextRefreshTime;

        return $servers;
    }

   

到此你可以正常上传,播放了。后面的几步可改可不改, 想用户体验好点来说 推荐你改

6.修复内网情况下后台所有页面卡顿问题

修改
src/CorporateTrainingBundle/Resources/views/admin/default/corporate-training-admin-index.html.twig
换上下面所有代码



{% extends 'admin/admin-layout.html.twig' %}
{% block title %}{{ 'homepage.header.admin_menu'|trans }}{% endblock %}
{% set panel = 'dashboard' %}
{% set script_controller = 'corporatetrainingbundle/controller/default/admin-index' %}
{% do script(['libs/fullcalendar.js', 'corporatetrainingbundle/js/admin/default/index.js', 'corporatetrainingbundle/js/admin/quick-entrance/index.js']) %}
{% block container %}
  {{ web_macro.flash_messages() }}
  <link href="{{ asset('assets/libs/gallery/morris/0.5.0/morris.css') }}" rel="stylesheet"/>
  {# 域名检查提示 #}
{#  {{ render(controller('AppBundle:Admin/Default:validateDomain')) }}#}

  {% if onlineAdvisoryAuthInfo.level is defined %}
    {% set setting = setting('auto_upgrade') %}
    {% set onlineAdvisoryAuthInfo = online_advisory_auth_info() %}
    {% set showAutoUpgradeNotify = onlineAdvisoryAuthInfo.isCustom != '是' and onlineAdvisoryAuthInfo.level != 'none' and not setting.notification_shown|default(false) %}
    <div class="alert alert-success row {% if not has_permission('admin_optimize_settings') or not showAutoUpgradeNotify%}hidden{% endif %}"
         data-show-modal="{% if has_permission('admin_optimize_settings') and (onlineAdvisoryAuthInfo.level == 'none' or onlineAdvisoryAuthInfo.level|default('') == 'license') and not setting.notification_shown|default(false) %}1{% else %}0{% endif %}"
         id="js-auto-upgrade-box" style="border:none;border-radius:0;padding: 10px 31px 10px 31px;line-height:32px;" data-notify-url="{{ path('admin_auto_upgrade_notify') }}">
      <div class="pull-left">{{ 'admin.app_upgrades.auto_upgrade_tips'|trans({'%settingUrl%': path('admin_optimize')})|raw }}</div>
      <a href="javascript:;" class="btn color-success pull-right" id="js-auto-upgrade-confirm-btn"
         data-url="{{ path('admin_optimize_auto_upgrade') }}">我知道了</a>
    </div>
  {% endif %}
  <div class="admin-index">
    <div class="admin-index__left">
      {# 待办工作 #}
      <div class="admin-index-block to-do-work">
        {{ render(controller('CorporateTrainingBundle:Admin/Train/MyWorks:myWorks')) }}
      </div>

      {% if app.user.manageOrgIds|default() %}
        {# 数据统计 #}
        {% include 'admin/default/data-overview.html.twig' %}
        {# 学习趋势图 and 排行榜 #}
        <div class="echart-rank clearfix">
          {% include 'admin/default/corporate-training-echart-rank.html.twig' %}
        </div>
      {% endif %}

      {# 系统状态 #}
      <div>
        {% cache 'system/version' 600 %}
{#          {{ render(controller('CorporateTrainingBundle:Admin/Analysis:systemStatus')) }}#}
        {% endcache %}
      </div>

      {# 经营建议(高级去版权不显示)#}
      {% if not setting('copyright.thirdCopyright', false) == 1 %}
{#        <div class="js-admin-advice" data-url="{{ path('admin_business_advice') }}"></div>#}
      {% endif %}

    </div>

{#    <div class="admin-index__right index-right">#}
{#      {% include "admin/default/admin-index-right.html.twig" %}#}
{#    </div>#}
  </div>
{% endblock %}

{% do load_script('widget/tooltip-widget') %}

7.开启倍速播放 下面是21.4.5 的代码 

替换 web/static-dist/app/js/player/index.js 中的代码



webpackJsonp(["app/js/player/index"],{0:function(t,e){t.exports=jQuery},"05180a86064fe4040eec":function(t,e,i){"use strict";function s(t){return t&&t.__esModule?t:{default:t}}function n(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}var o=function(){function t(t,e){for(var i=0;i<e.length;i++){var s=e[i];s.enumerable=s.enumerable||!1,s.configurable=!0,"value"in s&&(s.writable=!0),Object.defineProperty(t,s.key,s)}}return function(e,i,s){return i&&t(e.prototype,i),s&&t(e,s),e}}(),r=i("cb3619dd4026be2f4f29"),a=s(r),l=i("06597b47670159844043"),c=s(l),u=i("b30415350b581ef5a73d"),h=s(u);new(function(){function t(e){n(this,t);var i=$(e);this.htmlDom=$(e),this.content=i.data("content"),this.userId=i.data("userId"),this.userName=i.data("userName"),this.fileId=i.data("fileId"),this.fileGlobalId=i.data("fileGlobalId"),this.courseId=i.data("courseId"),this.lessonId=i.data("lessonId"),this.timelimit=i.data("timelimit"),this.token=i.data("token"),this.fileType=i.data("fileType"),this.fileLength=i.data("fileLength"),this.enablePlaybackRates=i.data("enablePlaybackRates"),this.videoH5=i.data("videoH5"),this.watermark=i.data("watermark"),this.accesskey=i.data("accessKey"),this.fingerprint=i.data("fingerprint"),this.fingerprintSrc=i.data("fingerprintSrc"),this.fingerprintTime=i.data("fingerprintTime"),this.jsPlayer=i.data("jsPlayer"),this.markerUrl=i.data("markerurl"),this.finishQuestionMarkerUrl=i.data("finishQuestionMarkerUrl"),this.starttime=i.data("starttime"),this.agentInWhiteList=i.data("agentInWhiteList"),this.disableVolumeButton=i.data("disableVolumeButton"),this.disablePlaybackButton=i.data("disablePlaybackButton"),this.disableModeSelection=i.data("disableModeSelection"),this.disableResolutionSwitcher=i.data("disableResolutionSwitcher"),this.subtitles=i.data("subtitles"),this.autoplay=i.data("autoplay"),this.rememberLastPos=i.data("rememberLastPos");var s=$(window.parent.document.getElementById("task-content-iframe"));s.length>0&&parseInt(s.data("lastLearnTime"))!=parseInt(h.default.get(this.userId,this.fileId))&&(h.default.del(this.userId,this.fileId),h.default.set(this.userId,this.fileId,s.data("lastLearnTime"))),this.lastLearnTime=h.default.get(this.userId,this.fileId),this.maxTime=s.data("maxTime"),this.url=i.data("url"),this.fileStorage=i.data("fileStorage"),this.initView(),this.initEvent()}return o(t,[{key:"initView",value:function(){var t="";"video"==this.fileType?t+='<div id="lesson-player" style="width: 100%;height: 100%;"></div>':"audio"==this.fileType&&(t+='<div id="lesson-player" style="width: 100%;height: 100%;" class="video-js vjs-default-skin" controls preload="auto"></div>'),this.htmlDom.html(t),this.htmlDom.show()}},{key:"initPlayer",value:function(){var t=parseInt(this.lastLearnTime)?parseInt(this.lastLearnTime):0,e={element:"#lesson-player",content:this.content,mediaType:this.fileType,fingerprint:this.fingerprint,fingerprintSrc:this.fingerprintSrc,fingerprintTime:this.fingerprintTime,watermark:this.watermark,starttime:this.starttime,agentInWhiteList:this.agentInWhiteList,timelimit:this.timelimit,enablePlaybackRates:this.enablePlaybackRates,disableModeSelection:this.disableModeSelection,videoH5:this.videoH5,controlBar:{disableVolumeButton:this.disableVolumeButton,disablePlaybackButton:this.disablePlaybackButton,disableResolutionSwitcher:this.disableResolutionSwitcher},user:{accesskey:this.accesskey,globalId:this.fileGlobalId,id:this.userId,name:this.userName},textTrack:this.transToTextrack(this.subtitles),autoplay:this.autoplay,customPos:t,maxTime:this.maxTime,mediaLength:this.fileLength,rememberLastPos:this.rememberLastPos};return e="local"===this.fileStorage?Object.assign(e,{url:this.url}):Object.assign(e,{resNo:this.fileGlobalId,token:this.token}),window.player=a.default.create(this.jsPlayer,e)}},{key:"transToTextrack",value:function(t){var e=[];if(t)for(var i in t){var s={label:t[i].name,src:t[i].url,default:"default"in t[i]&&t[i].default};e.push(s)}for(var n in e){if(e[n].default)return;e[0].default=!0}return e}},{key:"initMesseger",value:function(){return new c.default({name:"parent",project:"PlayerProject",type:"child"})}},{key:"isCloudVideoPalyer",value:function(){return"balloon-cloud-video-player"==this.jsPlayer}},{key:"isCloudAudioPlayer",value:function(){return"audio-player"==this.jsPlayer}},{key:"refreshExpiredToken",value:function(){var t=this;this.token===sessionStorage.getItem("expiredPlayerToken")?$.ajax({type:"get",url:"/player/"+this.fileId+"/"+this.token+"/refresh",cache:!1,async:!1,success:function(e){t.token=e.token}}):sessionStorage.setItem("expiredPlayerToken",this.token)}},{key:"initEvent",value:function(){var t=this;this.refreshExpiredToken();var e=this.initPlayer(),i=this.initMesseger(),s=this.initLearnTimeMesseger();e.on("ready",function(){if(i.sendToParent("ready",{pause:!0,currentTime:e.getCurrentTime()}),!t.isCloudVideoPalyer()&&!t.isCloudAudioPlayer()){var s=h.default.get(t.userId,t.fileId);s>0&&e.setCurrentTime(s),e.play()}t.isCloudVideoPalyer()&&t.markerUrl&&$.getJSON(t.markerUrl,function(t){e.setQuestions(t)})}),e.on("answered",function(e){var i=/course\/(\d+)\/task\/(\d+)\//,s=i.exec(window.location.href);s&&$.post(t.finishQuestionMarkerUrl,{questionMarkerId:e.questionMarkerId,answer:e.userAnswers,type:e.type,courseId:s[1],taskId:s[2]},function(t){})}),e.on("timechange",function(s){i.sendToParent("timechange",{pause:!0,currentTime:e.getCurrentTime()}),t.isCloudVideoPalyer()||t.isCloudAudioPlayer()?(h.default.del(t.userId,t.fileId),h.default.set(t.userId,t.fileId,e.getCurrentTime())):parseInt(e.getCurrentTime())!=parseInt(e.getDuration())&&(h.default.del(t.userId,t.fileId),h.default.set(t.userId,t.fileId,e.getCurrentTime()))}),e.on("paused",function(){i.sendToParent("paused",{pause:!0,currentTime:e.getCurrentTime()}),i.sendToParent("countdown.stop")}),e.on("playing",function(){i.sendToParent("playing",{pause:!1,currentTime:e.getCurrentTime()}),i.sendToParent("countdown.start")}),e.on("ended",function(e){i.sendToParent("ended",{stop:!0,playerMsg:e}),t.isCloudVideoPalyer()||t.isCloudAudioPlayer()||h.default.del(t.userId,t.fileId)}),s.on("learn_time.anti_brush",function(t){t.paused?e.pause():t.playing&&e.play()})}},{key:"initLearnTimeMesseger",value:function(){return new c.default({name:"task-content-iframe",project:"learnTimeProject",type:"child"})}}]),t}())("#lesson-video-content")},"30dc8eb6f511944bcfca":function(t,e,i){"use strict";function s(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function n(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}function o(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}Object.defineProperty(e,"__esModule",{value:!0});var r=function(){function t(t,e){for(var i=0;i<e.length;i++){var s=e[i];s.enumerable=s.enumerable||!1,s.configurable=!0,"value"in s&&(s.writable=!0),Object.defineProperty(t,s.key,s)}}return function(e,i,s){return i&&t(e.prototype,i),s&&t(e,s),e}}(),a=i("17c25dd7d9d2615bc1d9"),l=function(t){return t&&t.__esModule?t:{default:t}}(a),c=function(t){function e(t){s(this,e);var i=n(this,(e.__proto__||Object.getPrototypeOf(e)).call(this));return i.options=t,i.playMode="sequence",i.player={},i.setup(),i}return o(e,t),r(e,[{key:"setup",value:function(){var t=(this.options.element,this),e={};if(t.options.enablePlaybackRates&&(e=Object.assign(e,{playbackRates:["0.8","1.0","1.25","1.5","2.0"]})),t.options.resNo&&(e=Object.assign(e,{resNo:t.options.resNo})),t.options.token&&(e=Object.assign(e,{token:t.options.token})),t.options.user){var i=t.options.user;e=Object.assign(e,{user:{accesskey:i.accesskey,globalId:i.globalId,id:i.id,name:i.name}})}var s=t.options.customPos<t.options.mediaLength;s&&t.options.customPos?t.options.customPos=t.options.customPos.toString():t.options.customPos?t.options.customPos="0":t.options.customPos=0;var n=$('[name="task-result-status"]',window.parent.document).val(),o=$("#audio-content").data("finishType"),r=$("#audio-content").data("finishDetail"),a="start"===n&&"end"===o&&1==r,l="start"===n&&"end"===o&&1==r;e=Object.assign(e,{id:"lesson-player",playlist:t.options.url,sequentialMode:!0,audioDocMode:{template:t.options.content,sequentialMode:!0},autoplay:!0,initPos:t.options.customPos,disableModeSelection:t.options.disableModeSelection,rememberLastPos:s,controlBar:{disableProgressBar:a,disablePlayforwardButton:l}});var c=new QiQiuYun.Player(e);c.on("ready",function(e){t.emit("ready",e)}),c.on("firstplay",function(e){c.setCurrentTime(t.options.customPos)}),c.on("timeupdate",function(e){t.emit("timechange",e)}),c.on("modeChanged",function(e){t.playMode=e.data.mode}),c.on("ended",function(e){c.setControlOptions({target:["controlBar","progressControl","seekBar"],map:{disableProgress:!1}});var i={mode:t.playMode};t.emit("ended",i)}),c.on("playing",function(e){t.emit("playing",e)}),c.on("paused",function(e){t.emit("paused",e)}),this.player=c}},{key:"play",value:function(){this.player.play()}},{key:"pause",value:function(){this.player.pause()}},{key:"getCurrentTime",value:function(){return this.player.getCurrentTime()}},{key:"setCurrentTime",value:function(t){return this.player.setCurrentTime(t),this}},{key:"replay",value:function(){return this.setCurrentTime(0).play(),this}},{key:"isPlaying",value:function(){return!(!this.player||!this.player.paused)&&!this.player.paused()}}]),e}(l.default);e.default=c},"449ed6315d5b49470c21":function(t,e,i){"use strict";function s(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function n(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}function o(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}Object.defineProperty(e,"__esModule",{value:!0});var r=function(){function t(t,e){for(var i=0;i<e.length;i++){var s=e[i];s.enumerable=s.enumerable||!1,s.configurable=!0,"value"in s&&(s.writable=!0),Object.defineProperty(t,s.key,s)}}return function(e,i,s){return i&&t(e.prototype,i),s&&t(e,s),e}}(),a=i("17c25dd7d9d2615bc1d9"),l=function(t){return t&&t.__esModule?t:{default:t}}(a),c=function(t){function e(t){s(this,e);var i=n(this,(e.__proto__||Object.getPrototypeOf(e)).call(this));return i.options=t,i.player={},i.setup(),i}return o(e,t),r(e,[{key:"setup",value:function(){var t=(this.options.element,this),e={};if(t.options.resNo&&(e=Object.assign(e,{resNo:t.options.resNo})),t.options.token&&(e=Object.assign(e,{token:t.options.token})),t.options.watermark&&(e=Object.assign(e,{watermark:{file:t.options.watermark,pos:"top.right",xrepeat:0,opacity:.5}})),t.options.fingerprint&&(e=Object.assign(e,{fingerprint:{html:t.options.fingerprint,duration:t.options.fingerprintTime}})),t.options.timelimit&&(e=Object.assign(e,{pluck:{timelimit:t.options.timelimit,text:Translator.trans("activity.video.try_watch_finish_hint"),display:!0}})),e=Object.assign(e,{playbackRates:["0.5","1.0","1.25","1.5","2.0"]}),t.options.videoH5&&(e=Object.assign(e,{h5:!0})),t.options.controlBar&&(e=Object.assign(e,{controlBar:t.options.controlBar})),t.options.user){var i=t.options.user;e=Object.assign(e,{user:{accesskey:i.accesskey,globalId:i.globalId,id:i.id,name:i.name}})}var s=$('[name="task-result-status"]',window.parent.document).val(),n=$('[name="mode"]',window.parent.document).val(),o=$("#video-content").data("finishDetail"),r=$("#video-content").data("finishType"),a=("start"===s||"none"===s)&&"learn"===n&&"end"===r&&1==o,l=a?"forward":"none";e=Object.assign(e,{id:$(t.options.element).attr("id"),sdkBaseUri:app.cloudSdkBaseUri,disableDataUpload:app.cloudDisableLogReport,disableSentry:app.cloudDisableLogReport,disableControlBar:t.options.disableControlBar,disableSeek:l,controlBar:{},playlist:t.options.url,rememberLastPos:!0,initPos:t.options.customPos,maxTime:t.options.maxTime,autoplay:t.options.autoplay});var c=new QiQiuYun.Player(e);c.on("ready",function(e){t.emit("ready",e)}),c.on("timeupdate",function(e){t.emit("timechange",e)}),c.on("ended",function(e){t.emit("ended",e),c.setControlOptions({target:["controlBar","progressControl","seekBar"],map:{disableProgress:!1}})}),c.on("playing",function(e){t.emit("playing",e)}),c.on("paused",function(e){t.emit("paused",e)}),c.on("exam.answered",function(e){e.type=t.convertQuestionType(e.type,"cloud"),t.emit("answered",e)}),c.on("firstplay",function(e){c.setCurrentTime(t.options.customPos)}),this.player=c}},{key:"play",value:function(){this.player.play()}},{key:"pause",value:function(){this.player.pause()}},{key:"getCurrentTime",value:function(){return this.player.getCurrentTime()}},{key:"setCurrentTime",value:function(t){return this.player.setCurrentTime(t),this}},{key:"replay",value:function(){return this.setCurrentTime(0).play(),this}},{key:"isPlaying",value:function(){return!(!this.player||!this.player.paused)&&!this.player.paused()}},{key:"setQuestions",value:function(t){if(t.length>0){for(var e in t)t[e].type=this.convertQuestionType(t[e].type,"es");var i={popupExam:{config:{mode:"middle"},questions:t}};this.player.setExams(i)}return this}},{key:"convertQuestionType",value:function(t,e){var i=[{es:"choice",cloud:"multiChoice"},{es:"single_choice",cloud:"choice"},{es:"determine",cloud:"judge"},{es:"fill",cloud:"completion"},{es:"uncertain_choice",cloud:"uncertainChoice"}];for(var s in i){if("es"==e&&i[s].es==t)return i[s].cloud;if("cloud"==e&&i[s].cloud==t)return i[s].es}return t}}]),e}(l.default);e.default=c},"75e3573c9b4bdb02272d":function(t,e,i){t.exports=i.p+"app/media/video-js.swf"},b18aaaecd1cb223cf42d:function(module,exports,__webpack_require__){var __WEBPACK_AMD_DEFINE_ARRAY__,__WEBPACK_AMD_DEFINE_RESULT__;!function(){function m(){return function(){}}function p(t){return function(){return this[t]}}function q(t){return function(){return t}}function t(e,i,s){if("string"==typeof e){if(0===e.indexOf("#")&&(e=e.slice(1)),t.Ca[e])return t.Ca[e];e=t.w(e)}if(!e||!e.nodeName)throw new TypeError("The element or ID supplied is not valid. (videojs)");return e.player||new t.Player(e,i,s)}function u(e,i,s,n){t.ic.forEach(s,function(t){e(i,t,n)})}function D(e,i){var s,n;s=Array.prototype.slice.call(i),n=m(),n=window.console||{log:n,warn:n,error:n},e?s.unshift(e.toUpperCase()+":"):e="log",t.log.history.push(s),s.unshift("VIDEOJS:"),n[e].apply?n[e].apply(n,s):n[e](s.join(" "))}function E(t){t.p("vjs-lock-showing")}function F(e,i,s,n){return s!==b?((s===k||t.Ed(s))&&(s=0),e.b.style[i]=-1!==(""+s).indexOf("%")||-1!==(""+s).indexOf("px")?s:"auto"===s?"":s+"px",n||e.l("resize"),e):e.b?(s=e.b.style[i],n=s.indexOf("px"),-1!==n?parseInt(s.slice(0,n),10):parseInt(e.b["offset"+t.ba(i)],10)):0}function G(t){var e,i,s,n,o,r,a,c;e=0,i=k,t.c("touchstart",function(t){1===t.touches.length&&(i=t.touches[0],e=(new Date).getTime(),n=f)}),t.c("touchmove",function(t){1<t.touches.length?n=l:i&&(r=t.touches[0].pageX-i.pageX,a=t.touches[0].pageY-i.pageY,22<(c=Math.sqrt(r*r+a*a))&&(n=l))}),o=function(){n=l},t.c("touchleave",o),t.c("touchcancel",o),t.c("touchend",function(t){i=k,n===f&&250>(s=(new Date).getTime()-e)&&(t.preventDefault(),this.l("tap"))})}function H(e,i){var s,n,o,r;return s=e.b,n=t.xd(s),r=o=s.offsetWidth,s=e.handle,e.options().vertical?(r=n.top,n=i.changedTouches?i.changedTouches[0].pageY:i.pageY,s&&(s=s.w().offsetHeight,r+=s/2,o-=s),Math.max(0,Math.min(1,(r-n+o)/o))):(o=n.left,n=i.changedTouches?i.changedTouches[0].pageX:i.pageX,s&&(s=s.w().offsetWidth,o+=s/2,r-=s),Math.max(0,Math.min(1,(n-o)/r)))}function ca(e,i){e.V(i),i.c("click",t.bind(e,function(){E(this)}))}function J(t){t.ta=f,t.Ba.n("vjs-lock-showing"),t.b.setAttribute("aria-pressed",f),t.Q&&0<t.Q.length&&t.Q[0].w().focus()}function I(t){t.ta=l,E(t.Ba),t.b.setAttribute("aria-pressed",l)}function da(e){var i,s,n={sources:[],tracks:[]};if(i=t.Aa(e),s=i["data-setup"],s!==k&&t.g.z(i,t.JSON.parse(s||"{}")),t.g.z(n,i),e.hasChildNodes()){var o,r;for(e=e.childNodes,o=0,r=e.length;o<r;o++)i=e[o],s=i.nodeName.toLowerCase(),"source"===s?n.sources.push(t.Aa(i)):"track"===s&&n.tracks.push(t.Aa(i))}return n}function Q(e,i,s){e.o&&(e.la=l,e.o.dispose(),e.o=l),"Html5"!==i&&e.I&&(t.h.Bb(e.I),e.I=k),e.eb=i,e.la=l;var n=t.g.z({source:s,parentEl:e.b},e.m[i.toLowerCase()]);s&&(e.nc=s.type,s.src==e.G.src&&0<e.G.currentTime&&(n.startTime=e.G.currentTime),e.G.src=s.src),e.o=new window.videojs[i](e,n),e.o.K(function(){this.d.Ga()})}function R(t,e){e!==b&&t.vc!==e&&((t.vc=e)?(t.n("vjs-has-started"),t.l("firstplay")):t.p("vjs-has-started"))}function T(e,i,s){if(e.o&&!e.o.la)e.o.K(function(){this[i](s)});else try{e.o[i](s)}catch(e){throw t.log(e),e}}function S(e,i){if(e.o&&e.o.la)try{return e.o[i]()}catch(s){throw e.o[i]===b?t.log("Video.js: "+i+" method not defined for "+e.eb+" playback technology.",s):"TypeError"==s.name?(t.log("Video.js: "+i+" unavailable on "+e.eb+" playback technology element.",s),e.o.la=l):t.log(s),s}}function U(e,i){var s,n=e.selectSource(i);n?n.o===e.eb?e.src(n.source):Q(e,n.o,n.source):(s=setTimeout(t.bind(e,function(){this.error({code:4,message:this.t(this.options().notSupportedMessage)})}),0),e.Ga(),e.c("dispose",function(){clearTimeout(s)}))}function P(t,e){return e!==b?(t.xc=!!e,t):t.xc}function ea(t){return t.k().o&&t.k().o.featuresPlaybackRate&&t.k().options().playbackRates&&0<t.k().options().playbackRates.length}function fa(t){t.Lb=l,t.cb(),t.j("play",t.Rc),t.j("pause",t.cb)}function ia(){var t=W[X],e=t.charAt(0).toUpperCase()+t.slice(1);ja["set"+e]=function(e){return this.b.vjs_setProperty(t,e)}}function ka(t){ja[t]=function(){return this.b.vjs_getProperty(t)}}function ma(e,i,s,n,o){var r=e.Fa=e.Fa||[];o=o||{},o.kind=i,o.label=s,o.language=n,i=t.ba(i||"subtitles");var a=new window.videojs[i+"Track"](e,o);r.push(a),a.Ab()&&e.K(function(){setTimeout(function(){Y(a.k(),a.id())},0)})}function Y(t,e,i){for(var s,n,o=t.Fa,r=0,a=o.length;r<a;r++)s=o[r],s.id()===e?(s.show(),n=s):i&&s.M()==i&&0<s.mode()&&s.disable();(e=n?n.M():i||l)&&t.l(e+"trackchange")}function na(e){0===e.na&&e.load(),0===e.ma&&(e.d.c("timeupdate",t.bind(e,e.update,e.L)),e.d.c("ended",t.bind(e,e.reset,e.L)),("captions"===e.H||"subtitles"===e.H)&&e.d.ka("textTrackDisplay").V(e))}function oa(t){var e=t.split(":");t=0;var i,s,n;return 3==e.length?(i=e[0],s=e[1],e=e[2]):(i=0,s=e[0],e=e[1]),e=e.split(/\s+/),e=e.splice(0,1)[0],e=e.split(/\.|,/),n=parseFloat(e[1]),e=e[0],t+=3600*parseFloat(i),t+=60*parseFloat(s),t+=parseFloat(e),n&&(t+=n/1e3),t}function $(t,e){var i=t.split("."),s=pa;!(i[0]in s)&&s.execScript&&s.execScript("var "+i[0]);for(var n;i.length&&(n=i.shift());)i.length||e===b?s=s[n]?s[n]:s[n]={}:s[n]=e}var b=void 0,f=!0,k=null,l=!1,s;document.createElement("video"),document.createElement("audio"),document.createElement("track");var videojs=window.videojs=t;t.Vb="4.10",t.Vc="https:"==document.location.protocol?"https://":"http://",t.options={techOrder:["html5","flash"],html5:{},flash:{},width:300,height:150,defaultVolume:0,playbackRates:[],inactivityTimeout:2e3,children:{mediaLoader:{},posterImage:{},textTrackDisplay:{},loadingSpinner:{},bigPlayButton:{},controlBar:{},errorDisplay:{}},language:document.getElementsByTagName("html")[0].getAttribute("lang")||navigator.languages&&navigator.languages[0]||navigator.ze||navigator.language||"en",languages:{},notSupportedMessage:"No compatible source was found for this video."},"GENERATED_CDN_VSN"!==t.Vb&&(videojs.options.flash.swf=t.Vc+"vjs.zencdn.net/"+t.Vb+"/video-js.swf"),t.hd=function(e,i){return t.options.languages[e]=t.options.languages[e]!==b?t.ga.Va(t.options.languages[e],i):i,t.options.languages},t.Ca={},__WEBPACK_AMD_DEFINE_ARRAY__=[],void 0!==(__WEBPACK_AMD_DEFINE_RESULT__=function(){return videojs}.apply(exports,__WEBPACK_AMD_DEFINE_ARRAY__))&&(module.exports=__WEBPACK_AMD_DEFINE_RESULT__),t.qa=t.CoreObject=m(),t.qa.extend=function(e){var i,s;e=e||{},i=e.init||e.i||this.prototype.init||this.prototype.i||m(),s=function(){i.apply(this,arguments)},s.prototype=t.g.create(this.prototype),s.prototype.constructor=s,s.extend=t.qa.extend,s.create=t.qa.create;for(var n in e)e.hasOwnProperty(n)&&(s.prototype[n]=e[n]);return s},t.qa.create=function(){var e=t.g.create(this.prototype);return this.apply(e,arguments),e},t.c=function(e,i,s){if(t.g.isArray(i))return u(t.c,e,i,s);var n=t.getData(e);n.C||(n.C={}),n.C[i]||(n.C[i]=[]),s.r||(s.r=t.r++),n.C[i].push(s),n.W||(n.disabled=l,n.W=function(i){if(!n.disabled){i=t.rc(i);var s=n.C[i.type];if(s)for(var s=s.slice(0),o=0,r=s.length;o<r&&!i.zc();o++)s[o].call(e,i)}}),1==n.C[i].length&&(e.addEventListener?e.addEventListener(i,n.W,l):e.attachEvent&&e.attachEvent("on"+i,n.W))},t.j=function(e,i,s){if(t.uc(e)){var n=t.getData(e);if(n.C){if(t.g.isArray(i))return u(t.j,e,i,s);if(i){var o=n.C[i];if(o){if(s){if(s.r)for(n=0;n<o.length;n++)o[n].r===s.r&&o.splice(n--,1)}else n.C[i]=[];t.kc(e,i)}}else for(o in n.C)i=o,n.C[i]=[],t.kc(e,i)}}},t.kc=function(e,i){var s=t.getData(e);0===s.C[i].length&&(delete s.C[i],e.removeEventListener?e.removeEventListener(i,s.W,l):e.detachEvent&&e.detachEvent("on"+i,s.W)),t.Ib(s.C)&&(delete s.C,delete s.W,delete s.disabled),t.Ib(s)&&t.Ic(e)},t.rc=function(t){function e(){return f}function i(){return l}if(!t||!t.Jb){var s=t||window.event;t={};for(var n in s)"layerX"!==n&&"layerY"!==n&&"keyLocation"!==n&&("returnValue"==n&&s.preventDefault||(t[n]=s[n]));if(t.target||(t.target=t.srcElement||document),t.relatedTarget=t.fromElement===t.target?t.toElement:t.fromElement,t.preventDefault=function(){s.preventDefault&&s.preventDefault(),t.returnValue=l,t.Cd=e,t.defaultPrevented=f},t.Cd=i,t.defaultPrevented=l,t.stopPropagation=function(){s.stopPropagation&&s.stopPropagation(),t.cancelBubble=f,t.Jb=e},t.Jb=i,t.stopImmediatePropagation=function(){s.stopImmediatePropagation&&s.stopImmediatePropagation(),t.zc=e,t.stopPropagation()},t.zc=i,t.clientX!=k){n=document.documentElement;var o=document.body;t.pageX=t.clientX+(n&&n.scrollLeft||o&&o.scrollLeft||0)-(n&&n.clientLeft||o&&o.clientLeft||0),t.pageY=t.clientY+(n&&n.scrollTop||o&&o.scrollTop||0)-(n&&n.clientTop||o&&o.clientTop||0)}t.which=t.charCode||t.keyCode,t.button!=k&&(t.button=1&t.button?0:4&t.button?1:2&t.button?2:0)}return t},t.l=function(e,i){var s=t.uc(e)?t.getData(e):{},n=e.parentNode||e.ownerDocument;return"string"==typeof i&&(i={type:i,target:e}),i=t.rc(i),s.W&&s.W.call(e,i),n&&!i.Jb()&&i.bubbles!==l?t.l(n,i):n||i.defaultPrevented||(s=t.getData(i.target),!i.target[i.type])||(s.disabled=f,"function"==typeof i.target[i.type]&&i.target[i.type](),s.disabled=l),!i.defaultPrevented},t.R=function(e,i,s){function n(){t.j(e,i,n),s.apply(this,arguments)}if(t.g.isArray(i))return u(t.R,e,i,s);n.r=s.r=s.r||t.r++,t.c(e,i,n)};var v=Object.prototype.hasOwnProperty;t.e=function(e,i){var s;return i=i||{},s=document.createElement(e||"div"),t.g.X(i,function(t,e){-1!==t.indexOf("aria-")||"role"==t?s.setAttribute(t,e):s[t]=e}),s},t.ba=function(t){return t.charAt(0).toUpperCase()+t.slice(1)},t.g={},t.g.create=Object.create||function(t){function e(){}return e.prototype=t,new e},t.g.X=function(t,e,i){for(var s in t)v.call(t,s)&&e.call(i||this,s,t[s])},t.g.z=function(t,e){if(!e)return t;for(var i in e)v.call(e,i)&&(t[i]=e[i]);return t},t.g.qd=function(e,i){var s,n,o;e=t.g.copy(e);for(s in i)v.call(i,s)&&(n=e[s],o=i[s],e[s]=t.g.Ta(n)&&t.g.Ta(o)?t.g.qd(n,o):i[s]);return e},t.g.copy=function(e){return t.g.z({},e)},t.g.Ta=function(t){return!!t&&"object"==typeof t&&"[object Object]"===t.toString()&&t.constructor===Object},t.g.isArray=Array.isArray||function(t){return"[object Array]"===Object.prototype.toString.call(t)},t.Ed=function(t){return t!==t},t.bind=function(e,i,s){function n(){return i.apply(e,arguments)}return i.r||(i.r=t.r++),n.r=s?s+"_"+i.r:i.r,n},t.va={},t.r=1,t.expando="vdata"+(new Date).getTime(),t.getData=function(e){var i=e[t.expando];return i||(i=e[t.expando]=t.r++,t.va[i]={}),t.va[i]},t.uc=function(e){return!(!(e=e[t.expando])||t.Ib(t.va[e]))},t.Ic=function(e){var i=e[t.expando];if(i){delete t.va[i];try{delete e[t.expando]}catch(i){e.removeAttribute?e.removeAttribute(t.expando):e[t.expando]=k}}},t.Ib=function(t){for(var e in t)if(t[e]!==k)return l;return f},t.Sa=function(t,e){return-1!==(" "+t.className+" ").indexOf(" "+e+" ")},t.n=function(e,i){t.Sa(e,i)||(e.className=""===e.className?i:e.className+" "+i)},t.p=function(e,i){var s,n;if(t.Sa(e,i)){for(s=e.className.split(" "),n=s.length-1;0<=n;n--)s[n]===i&&s.splice(n,1);e.className=s.join(" ")}},t.A=t.e("video"),t.O=navigator.userAgent,t.bd=/iPhone/i.test(t.O),t.ad=/iPad/i.test(t.O),t.cd=/iPod/i.test(t.O),t.$c=t.bd||t.ad||t.cd;var aa=t,x,y=t.O.match(/OS (\d+)_/i);x=y&&y[1]?y[1]:b,aa.oe=x,t.Yc=/Android/i.test(t.O);var ba=t,z,A=t.O.match(/Android (\d+)(?:\.(\d+))?(?:\.(\d+))*/i),B,C;A?(B=A[1]&&parseFloat(A[1]),C=A[2]&&parseFloat(A[2]),z=B&&C?parseFloat(A[1]+"."+A[2]):B||k):z=k,ba.Ub=z,t.dd=t.Yc&&/webkit/i.test(t.O)&&2.3>t.Ub,t.Zc=/Firefox/i.test(t.O),t.pe=/Chrome/i.test(t.O),t.ec=!!("ontouchstart"in window||window.Xc&&document instanceof window.Xc),t.Wc="backgroundSize"in t.A.style,t.Kc=function(e,i){t.g.X(i,function(t,i){i===k||void 0===i||i===l?e.removeAttribute(t):e.setAttribute(t,i===f?"":i)})},t.Aa=function(t){var e,i,s,n;if(e={},t&&t.attributes&&0<t.attributes.length){i=t.attributes;for(var o=i.length-1;0<=o;o--)s=i[o].name,n=i[o].value,"boolean"!=typeof t[s]&&-1===",autoplay,controls,loop,muted,default,".indexOf(","+s+",")||(n=n!==k?f:l),e[s]=n}return e},t.ve=function(t,e){var i="";return document.defaultView&&document.defaultView.getComputedStyle?i=document.defaultView.getComputedStyle(t,"").getPropertyValue(e):t.currentStyle&&(i=t["client"+e.substr(0,1).toUpperCase()+e.substr(1)]+"px"),i},t.Hb=function(t,e){e.firstChild?e.insertBefore(t,e.firstChild):e.appendChild(t)},t.Oa={},t.w=function(t){return 0===t.indexOf("#")&&(t=t.slice(1)),document.getElementById(t)},t.za=function(t,e){e=e||t;var i=Math.floor(t%60),s=Math.floor(t/60%60),n=Math.floor(t/3600),o=Math.floor(e/60%60),r=Math.floor(e/3600);return(isNaN(t)||1/0===t)&&(n=s=i="-"),(n=0<n||0<r?n+":":"")+(((n||10<=o)&&10>s?"0"+s:s)+":")+(10>i?"0"+i:i)},t.kd=function(){document.body.focus(),document.onselectstart=q(l)},t.ke=function(){document.onselectstart=q(f)},t.trim=function(t){return(t+"").replace(/^\s+|\s+$/g,"")},t.round=function(t,e){return e||(e=0),Math.round(t*Math.pow(10,e))/Math.pow(10,e)},t.zb=function(t,e){return{length:1,start:function(){return t},end:function(){return e}}},t.get=function(e,i,s,n){var o,r,a,l;s=s||m(),"undefined"==typeof XMLHttpRequest&&(window.XMLHttpRequest=function(){try{return new window.ActiveXObject("Msxml2.XMLHTTP.6.0")}catch(t){}try{return new window.ActiveXObject("Msxml2.XMLHTTP.3.0")}catch(t){}try{return new window.ActiveXObject("Msxml2.XMLHTTP")}catch(t){}throw Error("This browser does not support XMLHttpRequest.")}),r=new XMLHttpRequest,a=t.Xd(e),l=window.location,a.protocol+a.host===l.protocol+l.host||!window.XDomainRequest||"withCredentials"in r?(o="file:"==a.protocol||"file:"==l.protocol,r.onreadystatechange=function(){4===r.readyState&&(200===r.status||o&&0===r.status?i(r.responseText):s(r.responseText))}):(r=new window.XDomainRequest,r.onload=function(){i(r.responseText)},r.onerror=s,r.onprogress=m(),r.ontimeout=s);try{r.open("GET",e,f),n&&(r.withCredentials=f)}catch(t){return void s(t)}try{r.send()}catch(t){s(t)}},t.ae=function(e){try{var i=window.localStorage||l;i&&(i.volume=e)}catch(e){22==e.code||1014==e.code?t.log("LocalStorage Full (VideoJS)",e):18==e.code?t.log("LocalStorage not allowed (VideoJS)",e):t.log("LocalStorage Error (VideoJS)",e)}},t.tc=function(e){return e.match(/^https?:\/\//)||(e=t.e("div",{innerHTML:'<a href="'+e+'">x</a>'}).firstChild.href),e},t.Xd=function(e){var i,s,n,o;o="protocol hostname port pathname search hash host".split(" "),s=t.e("a",{href:e}),(n=""===s.host&&"file:"!==s.protocol)&&(i=t.e("div"),i.innerHTML='<a href="'+e+'"></a>',s=i.firstChild,i.setAttribute("style","display:none; position:absolute;"),document.body.appendChild(i)),e={};for(var r=0;r<o.length;r++)e[o[r]]=s[o[r]];return n&&document.body.removeChild(i),e},t.log=function(){D(k,arguments)},t.log.history=[],t.log.error=function(){D("error",arguments)},t.log.warn=function(){D("warn",arguments)},t.xd=function(e){var i,s;return e.getBoundingClientRect&&e.parentNode&&(i=e.getBoundingClientRect()),i?(e=document.documentElement,s=document.body,{left:t.round(i.left+(window.pageXOffset||s.scrollLeft)-(e.clientLeft||s.clientLeft||0)),top:t.round(i.top+(window.pageYOffset||s.scrollTop)-(e.clientTop||s.clientTop||0))}):{left:0,top:0}},t.ic={},t.ic.forEach=function(e,i,s){if(t.g.isArray(e)&&i instanceof Function)for(var n=0,o=e.length;n<o;++n)i.call(s||t,e[n],n,e);return e},t.ga={},t.ga.Va=function(e,i){var s,n,o;e=t.g.copy(e);for(s in i)i.hasOwnProperty(s)&&(n=e[s],o=i[s],e[s]=t.g.Ta(n)&&t.g.Ta(o)?t.ga.Va(n,o):i[s]);return e},t.a=t.qa.extend({i:function(e,i,s){if(this.d=e,this.m=t.g.copy(this.m),i=this.options(i),this.L=i.id||i.el&&i.el.id,this.L||(this.L=(e.id&&e.id()||"no_player")+"_component_"+t.r++),this.Kd=i.name||k,this.b=i.el||this.e(),this.P=[],this.Pa={},this.Qa={},this.wc(),this.K(s),i.Jc!==l){var n,o;this.k().reportUserActivity&&(n=t.bind(this.k(),this.k().reportUserActivity),this.c("touchstart",function(){n(),clearInterval(o),o=setInterval(n,250)}),e=function(){n(),clearInterval(o)},this.c("touchmove",n),this.c("touchend",e),this.c("touchcancel",e))}}}),s=t.a.prototype,s.dispose=function(){if(this.l({type:"dispose",bubbles:l}),this.P)for(var e=this.P.length-1;0<=e;e--)this.P[e].dispose&&this.P[e].dispose();this.Qa=this.Pa=this.P=k,this.j(),this.b.parentNode&&this.b.parentNode.removeChild(this.b),t.Ic(this.b),this.b=k},s.d=f,s.k=p("d"),s.options=function(e){return e===b?this.m:this.m=t.ga.Va(this.m,e)},s.e=function(e,i){return t.e(e,i)},s.t=function(t){var e=this.d.language(),i=this.d.languages();return i&&i[e]&&i[e][t]?i[e][t]:t},s.w=p("b"),s.ja=function(){return this.v||this.b},s.id=p("L"),s.name=p("Kd"),s.children=p("P"),s.zd=function(t){return this.Pa[t]},s.ka=function(t){return this.Qa[t]},s.V=function(e,i){var s,n;return"string"==typeof e?(n=e,i=i||{},s=i.componentClass||t.ba(n),i.name=n,s=new window.videojs[s](this.d||this,i)):s=e,this.P.push(s),"function"==typeof s.id&&(this.Pa[s.id()]=s),(n=n||s.name&&s.name())&&(this.Qa[n]=s),"function"==typeof s.el&&s.el()&&this.ja().appendChild(s.el()),s},s.removeChild=function(t){if("string"==typeof t&&(t=this.ka(t)),t&&this.P){for(var e=l,i=this.P.length-1;0<=i;i--)if(this.P[i]===t){e=f,this.P.splice(i,1);break}e&&(this.Pa[t.id]=k,this.Qa[t.name]=k,(e=t.w())&&e.parentNode===this.ja()&&this.ja().removeChild(t.w()))}},s.wc=function(){var e,i,s,n,o,r;if(e=this,i=e.options(),s=i.children)if(r=function(t,s){i[t]!==b&&(s=i[t]),s!==l&&(e[t]=e.V(t,s))},t.g.isArray(s))for(var a=0;a<s.length;a++)n=s[a],"string"==typeof n?(o=n,n={}):o=n.name,r(o,n);else t.g.X(s,r)},s.T=q(""),s.c=function(e,i,s){var n,o,r;return"string"==typeof e||t.g.isArray(e)?t.c(this.b,e,t.bind(this,i)):(n=t.bind(this,s),r=this,o=function(){r.j(e,i,n)},o.r=n.r,this.c("dispose",o),s=function(){r.j("dispose",o)},s.r=n.r,e.nodeName?(t.c(e,i,n),t.c(e,"dispose",s)):"function"==typeof e.c&&(e.c(i,n),e.c("dispose",s))),this},s.j=function(e,i,s){return!e||"string"==typeof e||t.g.isArray(e)?t.j(this.b,e,i):(s=t.bind(this,s),this.j("dispose",s),e.nodeName?(t.j(e,i,s),t.j(e,"dispose",s)):(e.j(i,s),e.j("dispose",s))),this},s.R=function(e,i,s){var n,o,r;return"string"==typeof e||t.g.isArray(e)?t.R(this.b,e,t.bind(this,i)):(n=t.bind(this,s),o=this,r=function(){o.j(e,i,r),n.apply(this,arguments)},r.r=n.r,this.c(e,i,r)),this},s.l=function(e){return t.l(this.b,e),this},s.K=function(t){return t&&(this.la?t.call(this):(this.ab===b&&(this.ab=[]),this.ab.push(t))),this},s.Ga=function(){this.la=f;var t=this.ab;if(t&&0<t.length){for(var e=0,i=t.length;e<i;e++)t[e].call(this);this.ab=[],this.l("ready")}},s.Sa=function(e){return t.Sa(this.b,e)},s.n=function(e){return t.n(this.b,e),this},s.p=function(e){return t.p(this.b,e),this},s.show=function(){return this.b.style.display="block",this},s.Y=function(){return this.b.style.display="none",this},s.disable=function(){this.Y(),this.show=m()},s.width=function(t,e){return F(this,"width",t,e)},s.height=function(t,e){return F(this,"height",t,e)},s.td=function(t,e){return this.width(t,f).height(e)},t.u=t.a.extend({i:function(e,i){t.a.call(this,e,i),G(this),this.c("tap",this.s),this.c("click",this.s),this.c("focus",this.Ya),this.c("blur",this.Xa)}}),s=t.u.prototype,s.e=function(e,i){var s;return i=t.g.z({className:this.T(),role:"button","aria-live":"polite",tabIndex:0},i),s=t.a.prototype.e.call(this,e,i),i.innerHTML||(this.v=t.e("div",{className:"vjs-control-content"}),this.xb=t.e("span",{className:"vjs-control-text",innerHTML:this.t(this.ua)||"Need Text"}),this.v.appendChild(this.xb),s.appendChild(this.v)),s},s.T=function(){return"vjs-control "+t.a.prototype.T.call(this)},s.s=m(),s.Ya=function(){t.c(document,"keydown",t.bind(this,this.Z))},s.Z=function(t){32!=t.which&&13!=t.which||(t.preventDefault(),this.s())},s.Xa=function(){t.j(document,"keydown",t.bind(this,this.Z))},t.S=t.a.extend({i:function(e,i){t.a.call(this,e,i),this.jd=this.ka(this.m.barName),this.handle=this.ka(this.m.handleName),this.c("mousedown",this.Za),this.c("touchstart",this.Za),this.c("focus",this.Ya),this.c("blur",this.Xa),this.c("click",this.s),this.c(e,"controlsvisible",this.update),this.c(e,this.Ec,this.update),this.F={},this.F.move=t.bind(this,this.$a),this.F.end=t.bind(this,this.Mb)}}),s=t.S.prototype,s.dispose=function(){t.j(document,"mousemove",this.F.move,l),t.j(document,"mouseup",this.F.end,l),t.j(document,"touchmove",this.F.move,l),t.j(document,"touchend",this.F.end,l),t.j(document,"keyup",t.bind(this,this.Z)),t.a.prototype.dispose.call(this)},s.e=function(e,i){return i=i||{},i.className+=" vjs-slider",i=t.g.z({role:"slider","aria-valuenow":0,"aria-valuemin":0,"aria-valuemax":100,tabIndex:0},i),t.a.prototype.e.call(this,e,i)},s.Za=function(e){e.preventDefault(),t.kd(),this.n("vjs-sliding"),t.c(document,"mousemove",this.F.move),t.c(document,"mouseup",this.F.end),t.c(document,"touchmove",this.F.move),t.c(document,"touchend",this.F.end),this.$a(e)},s.$a=m(),s.Mb=function(){t.ke(),this.p("vjs-sliding"),t.j(document,"mousemove",this.F.move,l),t.j(document,"mouseup",this.F.end,l),t.j(document,"touchmove",this.F.move,l),t.j(document,"touchend",this.F.end,l),this.update()},s.update=function(){if(this.b){var e,i=this.Gb(),s=this.handle,n=this.jd;if(isNaN(i)&&(i=0),e=i,s){e=this.b.offsetWidth;var o=s.w().offsetWidth;e=o?o/e:0,i*=1-e,e=i+e/2,s.w().style.left=t.round(100*i,2)+"%"}n&&(n.w().style.width=t.round(100*e,2)+"%")}},s.Ya=function(){t.c(document,"keyup",t.bind(this,this.Z))},s.Z=function(t){37==t.which||40==t.which?(t.preventDefault(),this.Nc()):38!=t.which&&39!=t.which||(t.preventDefault(),this.Oc())},s.Xa=function(){t.j(document,"keyup",t.bind(this,this.Z))},s.s=function(t){t.stopImmediatePropagation(),t.preventDefault()},t.$=t.a.extend(),t.$.prototype.defaultValue=0,t.$.prototype.e=function(e,i){return i=i||{},i.className+=" vjs-slider-handle",i=t.g.z({innerHTML:'<span class="vjs-control-text">'+this.defaultValue+"</span>"},i),t.a.prototype.e.call(this,"div",i)},t.ha=t.a.extend(),t.ha.prototype.e=function(){var e=this.options().lc||"ul";return this.v=t.e(e,{className:"vjs-menu-content"}),e=t.a.prototype.e.call(this,"div",{append:this.v,className:"vjs-menu"}),e.appendChild(this.v),t.c(e,"click",function(t){t.preventDefault(),t.stopImmediatePropagation()}),e},t.J=t.u.extend({i:function(e,i){t.u.call(this,e,i),this.selected(i.selected)}}),t.J.prototype.e=function(e,i){return t.u.prototype.e.call(this,"li",t.g.z({className:"vjs-menu-item",innerHTML:this.t(this.m.label)},i))},t.J.prototype.s=function(){this.selected(f)},t.J.prototype.selected=function(t){t?(this.n("vjs-selected"),this.b.setAttribute("aria-selected",f)):(this.p("vjs-selected"),this.b.setAttribute("aria-selected",l))},t.N=t.u.extend({i:function(e,i){t.u.call(this,e,i),this.Ba=this.xa(),this.V(this.Ba),this.Q&&0===this.Q.length&&this.Y(),this.c("keyup",this.Z),this.b.setAttribute("aria-haspopup",f),this.b.setAttribute("role","button")}}),s=t.N.prototype,s.ta=l,s.xa=function(){var e=new t.ha(this.d);if(this.options().title&&e.ja().appendChild(t.e("li",{className:"vjs-menu-title",innerHTML:t.ba(this.options().title),he:-1})),this.Q=this.createItems())for(var i=0;i<this.Q.length;i++)ca(e,this.Q[i]);return e},s.wa=m(),s.T=function(){return this.className+" vjs-menu-button "+t.u.prototype.T.call(this)},s.Ya=m(),s.Xa=m(),s.s=function(){this.R("mouseout",t.bind(this,function(){E(this.Ba),this.b.blur()})),this.ta?I(this):J(this)},s.Z=function(t){t.preventDefault(),32==t.which||13==t.which?this.ta?I(this):J(this):27==t.which&&this.ta&&I(this)},t.D=function(e){"number"==typeof e?this.code=e:"string"==typeof e?this.message=e:"object"==typeof e&&t.g.z(this,e),this.message||(this.message=t.D.rd[this.code]||"")},t.D.prototype.code=0,t.D.prototype.message="",t.D.prototype.status=k,t.D.Ra="MEDIA_ERR_CUSTOM MEDIA_ERR_ABORTED MEDIA_ERR_NETWORK MEDIA_ERR_DECODE MEDIA_ERR_SRC_NOT_SUPPORTED MEDIA_ERR_ENCRYPTED".split(" "),t.D.rd={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 K=0;K<t.D.Ra.length;K++)t.D[t.D.Ra[K]]=K,t.D.prototype[t.D.Ra[K]]=K;var L,M,N,O;for(L=["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(" ")],M=L[0],O=0;O<L.length;O++)if(L[O][1]in document){N=L[O];break}if(N)for(t.Oa.Fb={},O=0;O<N.length;O++)t.Oa.Fb[M[O]]=N[O];t.Player=t.a.extend({i:function(e,i,s){this.I=e,e.id=e.id||"vjs_video_"+t.r++,this.ie=e&&t.Aa(e),i=t.g.z(da(e),i),this.Ua=i.language||t.options.language,this.Id=i.languages||t.options.languages,this.G={},this.Fc=i.poster||"",this.yb=!!i.controls,e.controls=l,i.Jc=l,P(this,"audio"===this.I.nodeName.toLowerCase()),t.a.call(this,this,i,s),this.controls()?this.n("vjs-controls-enabled"):this.n("vjs-controls-disabled"),P(this)&&this.n("vjs-audio"),t.Ca[this.L]=this,i.plugins&&t.g.X(i.plugins,function(t,e){this[t](e)},this);var n,o,r,a,c,u;n=t.bind(this,this.reportUserActivity),this.c("mousedown",function(){n(),clearInterval(o),o=setInterval(n,250)}),this.c("mousemove",function(t){t.screenX==c&&t.screenY==u||(c=t.screenX,u=t.screenY,n())}),this.c("mouseup",function(){n(),clearInterval(o)}),this.c("keydown",n),this.c("keyup",n),r=setInterval(t.bind(this,function(){if(this.pa){this.pa=l,this.userActive(f),clearTimeout(a);var e=this.options().inactivityTimeout;0<e&&(a=setTimeout(t.bind(this,function(){this.pa||this.userActive(l)}),e))}}),250),this.c("dispose",function(){clearInterval(r),clearTimeout(a)})}}),s=t.Player.prototype,s.language=function(t){return t===b?this.Ua:(this.Ua=t,this)},s.languages=p("Id"),s.m=t.options,s.dispose=function(){this.l("dispose"),this.j("dispose"),t.Ca[this.L]=k,this.I&&this.I.player&&(this.I.player=k),this.b&&this.b.player&&(this.b.player=k),this.o&&this.o.dispose(),t.a.prototype.dispose.call(this)},s.e=function(){var e,i=this.b=t.a.prototype.e.call(this,"div"),s=this.I;if(s.removeAttribute("width"),s.removeAttribute("height"),s.hasChildNodes()){var n,o,r,a;for(n=s.childNodes,o=n.length,a=[];o--;)r=n[o],"track"===r.nodeName.toLowerCase()&&a.push(r);for(n=0;n<a.length;n++)s.removeChild(a[n])}return e=t.Aa(s),t.g.X(e,function(t){"class"==t?i.className=e[t]:i.setAttribute(t,e[t])}),s.id+="_html5_api",s.className="vjs-tech",s.player=i.player=this,this.n("vjs-paused"),this.width(this.m.width,f),this.height(this.m.height,f),s.Bd=s.networkState,s.parentNode&&s.parentNode.insertBefore(i,s),t.Hb(s,i),this.b=i,this.c("loadstart",this.Pd),this.c("waiting",this.Vd),this.c(["canplay","canplaythrough","playing","ended"],this.Ud),this.c("seeking",this.Sd),this.c("seeked",this.Rd),this.c("ended",this.Ld),this.c("play",this.Ob),this.c("firstplay",this.Nd),this.c("pause",this.Nb),this.c("progress",this.Qd),this.c("durationchange",this.Cc),this.c("fullscreenchange",this.Od),i},s.Pd=function(){this.error(k),this.paused()?(R(this,l),this.R("play",function(){R(this,f)})):this.l("firstplay")},s.vc=l,s.Ob=function(){this.p("vjs-paused"),this.n("vjs-playing")},s.Vd=function(){this.n("vjs-waiting")},s.Ud=function(){this.p("vjs-waiting")},s.Sd=function(){this.n("vjs-seeking")},s.Rd=function(){this.p("vjs-seeking")},s.Nd=function(){this.m.starttime&&this.currentTime(this.m.starttime),this.n("vjs-has-started")},s.Nb=function(){this.p("vjs-playing"),this.n("vjs-paused")},s.Qd=function(){1==this.bufferedPercent()&&this.l("loadedalldata")},s.Ld=function(){this.m.loop?(this.currentTime(0),this.play()):this.paused()||this.pause()},s.Cc=function(){var t=S(this,"duration");t&&(0>t&&(t=1/0),this.duration(t),1/0===t?this.n("vjs-live"):this.p("vjs-live"))},s.Od=function(){this.isFullscreen()?this.n("vjs-fullscreen"):this.p("vjs-fullscreen")},s.play=function(){return T(this,"play"),this},s.pause=function(){return T(this,"pause"),this},s.paused=function(){return S(this,"paused")===l?l:f},s.currentTime=function(t){return t!==b?(T(this,"setCurrentTime",t),this):this.G.currentTime=S(this,"currentTime")||0},s.duration=function(t){return t!==b?(this.G.duration=parseFloat(t),this):(this.G.duration===b&&this.Cc(),this.G.duration||0)},s.remainingTime=function(){return this.duration()-this.currentTime()},s.buffered=function(){var e=S(this,"buffered");return e&&e.length||(e=t.zb(0,0)),e},s.bufferedPercent=function(){var t,e,i=this.duration(),s=this.buffered(),n=0;if(!i)return 0;for(var o=0;o<s.length;o++)t=s.start(o),e=s.end(o),e>i&&(e=i),n+=e-t;return n/i},s.volume=function(e){return e!==b?(e=Math.max(0,Math.min(1,parseFloat(e))),this.G.volume=e,T(this,"setVolume",e),t.ae(e),this):(e=parseFloat(S(this,"volume")),isNaN(e)?1:e)},s.muted=function(t){return t!==b?(T(this,"setMuted",t),this):S(this,"muted")||l},s.Ea=function(){return S(this,"supportsFullScreen")||l},s.yc=l,s.isFullscreen=function(t){return t!==b?(this.yc=!!t,this):this.yc},s.isFullScreen=function(e){return t.log.warn('player.isFullScreen() has been deprecated, use player.isFullscreen() with a lowercase "s")'),this.isFullscreen(e)},s.requestFullscreen=function(){var e=t.Oa.Fb;return this.isFullscreen(f),e?(t.c(document,e.fullscreenchange,t.bind(this,function(i){this.isFullscreen(document[e.fullscreenElement]),this.isFullscreen()===l&&t.j(document,e.fullscreenchange,arguments.callee),this.l("fullscreenchange")})),this.b[e.requestFullscreen]()):this.o.Ea()?T(this,"enterFullScreen"):(this.qc(),this.l("fullscreenchange")),this},s.requestFullScreen=function(){return t.log.warn('player.requestFullScreen() has been deprecated, use player.requestFullscreen() with a lowercase "s")'),this.requestFullscreen()},s.exitFullscreen=function(){var e=t.Oa.Fb;return this.isFullscreen(l),e?document[e.exitFullscreen]():this.o.Ea()?T(this,"exitFullScreen"):(this.Cb(),this.l("fullscreenchange")),this},s.cancelFullScreen=function(){return t.log.warn("player.cancelFullScreen() has been deprecated, use player.exitFullscreen()"),this.exitFullscreen()},s.qc=function(){this.Dd=f,this.ud=document.documentElement.style.overflow,t.c(document,"keydown",t.bind(this,this.sc)),document.documentElement.style.overflow="hidden",t.n(document.body,"vjs-full-window"),this.l("enterFullWindow")},s.sc=function(t){27===t.keyCode&&(this.isFullscreen()===f?this.exitFullscreen():this.Cb())},s.Cb=function(){this.Dd=l,t.j(document,"keydown",this.sc),document.documentElement.style.overflow=this.ud,t.p(document.body,"vjs-full-window"),this.l("exitFullWindow")},s.selectSource=function(e){for(var i=0,s=this.m.techOrder;i<s.length;i++){var n=t.ba(s[i]),o=window.videojs[n];if(o){if(o.isSupported())for(var r=0,a=e;r<a.length;r++){var c=a[r];if(o.canPlaySource(c))return{source:c,o:n}}}else t.log.error('The "'+n+'" tech is undefined. Skipped browser support check for that tech.')}return l},s.src=function(e){return e===b?S(this,"src"):(t.g.isArray(e)?U(this,e):"string"==typeof e?this.src({src:e}):e instanceof Object&&(e.type&&!window.videojs[this.eb].canPlaySource(e)?U(this,[e]):(this.G.src=e.src,this.nc=e.type||"",this.K(function(){T(this,"src",e.src),"auto"==this.m.preload&&this.load(),this.m.autoplay&&this.play()}))),this)},s.load=function(){return T(this,"load"),this},s.currentSrc=function(){return S(this,"currentSrc")||this.G.src||""},s.pd=function(){return this.nc||""},s.Da=function(t){return t!==b?(T(this,"setPreload",t),this.m.preload=t,this):S(this,"preload")},s.autoplay=function(t){return t!==b?(T(this,"setAutoplay",t),this.m.autoplay=t,this):S(this,"autoplay")},s.loop=function(t){return t!==b?(T(this,"setLoop",t),this.m.loop=t,this):S(this,"loop")},s.poster=function(t){return t===b?this.Fc:(t||(t=""),this.Fc=t,T(this,"setPoster",t),this.l("posterchange"),this)},s.controls=function(t){return t!==b?(t=!!t,this.yb!==t&&((this.yb=t)?(this.p("vjs-controls-disabled"),this.n("vjs-controls-enabled"),this.l("controlsenabled")):(this.p("vjs-controls-enabled"),this.n("vjs-controls-disabled"),this.l("controlsdisabled"))),this):this.yb},t.Player.prototype.Tb,s=t.Player.prototype,s.usingNativeControls=function(t){return t!==b?(t=!!t,this.Tb!==t&&((this.Tb=t)?(this.n("vjs-using-native-controls"),this.l("usingnativecontrols")):(this.p("vjs-using-native-controls"),this.l("usingcustomcontrols"))),this):this.Tb},s.da=k,s.error=function(e){return e===b?this.da:e===k?(this.da=e,this.p("vjs-error"),this):(this.da=e instanceof t.D?e:new t.D(e),this.l("error"),this.n("vjs-error"),t.log.error("(CODE:"+this.da.code+" "+t.D.Ra[this.da.code]+")",this.da.message,this.da),this)},s.ended=function(){return S(this,"ended")},s.seeking=function(){return S(this,"seeking")},s.pa=f,s.reportUserActivity=function(){this.pa=f},s.Sb=f,s.userActive=function(t){return t!==b?(t=!!t,t!==this.Sb&&((this.Sb=t)?(this.pa=f,this.p("vjs-user-inactive"),this.n("vjs-user-active"),this.l("useractive")):(this.pa=l,this.o&&this.o.R("mousemove",function(t){t.stopPropagation(),t.preventDefault()}),this.p("vjs-user-active"),this.n("vjs-user-inactive"),this.l("userinactive"))),this):this.Sb},s.playbackRate=function(t){return t!==b?(T(this,"setPlaybackRate",t),this):this.o&&this.o.featuresPlaybackRate?S(this,"playbackRate"):1},s.xc=l,t.Ja=t.a.extend(),t.Ja.prototype.m={we:"play",children:{playToggle:{},currentTimeDisplay:{},timeDivider:{},durationDisplay:{},remainingTimeDisplay:{},liveDisplay:{},progressControl:{},fullscreenToggle:{},volumeControl:{},muteToggle:{},playbackRateMenuButton:{}}},t.Ja.prototype.e=function(){return t.e("div",{className:"vjs-control-bar"})},t.Yb=t.a.extend({i:function(e,i){t.a.call(this,e,i)}}),t.Yb.prototype.e=function(){var e=t.a.prototype.e.call(this,"div",{className:"vjs-live-controls vjs-control"});return this.v=t.e("div",{className:"vjs-live-display",innerHTML:'<span class="vjs-control-text">'+this.t("Stream Type")+"</span>"+this.t("LIVE"),"aria-live":"off"}),e.appendChild(this.v),e},t.ac=t.u.extend({i:function(e,i){t.u.call(this,e,i),this.c(e,"play",this.Ob),this.c(e,"pause",this.Nb)}}),s=t.ac.prototype,s.ua="Play",s.T=function(){return"vjs-play-control "+t.u.prototype.T.call(this)},s.s=function(){this.d.paused()?this.d.play():this.d.pause()},s.Ob=function(){this.p("vjs-paused"),this.n("vjs-playing"),this.b.children[0].children[0].innerHTML=this.t("Pause")},s.Nb=function(){this.p("vjs-playing"),this.n("vjs-paused"),this.b.children[0].children[0].innerHTML=this.t("Play")},t.hb=t.a.extend({i:function(e,i){t.a.call(this,e,i),this.c(e,"timeupdate",this.fa)}}),t.hb.prototype.e=function(){var e=t.a.prototype.e.call(this,"div",{className:"vjs-current-time vjs-time-controls vjs-control"});return this.v=t.e("div",{className:"vjs-current-time-display",innerHTML:'<span class="vjs-control-text">Current Time </span>0:00',"aria-live":"off"}),e.appendChild(this.v),e},t.hb.prototype.fa=function(){var e=this.d.bb?this.d.G.currentTime:this.d.currentTime();this.v.innerHTML='<span class="vjs-control-text">'+this.t("Current Time")+"</span> "+t.za(e,this.d.duration())},t.ib=t.a.extend({i:function(e,i){t.a.call(this,e,i),this.c(e,"timeupdate",this.fa)}}),t.ib.prototype.e=function(){var e=t.a.prototype.e.call(this,"div",{className:"vjs-duration vjs-time-controls vjs-control"});return this.v=t.e("div",{className:"vjs-duration-display",innerHTML:'<span class="vjs-control-text">'+this.t("Duration Time")+"</span> 0:00","aria-live":"off"}),e.appendChild(this.v),e},t.ib.prototype.fa=function(){var e=this.d.duration();e&&(this.v.innerHTML='<span class="vjs-control-text">'+this.t("Duration Time")+"</span> "+t.za(e))},t.gc=t.a.extend({i:function(e,i){t.a.call(this,e,i)}}),t.gc.prototype.e=function(){return t.a.prototype.e.call(this,"div",{className:"vjs-time-divider",innerHTML:"<div><span>/</span></div>"})},t.pb=t.a.extend({i:function(e,i){t.a.call(this,e,i),this.c(e,"timeupdate",this.fa)}}),t.pb.prototype.e=function(){var e=t.a.prototype.e.call(this,"div",{className:"vjs-remaining-time vjs-time-controls vjs-control"});return this.v=t.e("div",{className:"vjs-remaining-time-display",innerHTML:'<span class="vjs-control-text">'+this.t("Remaining Time")+"</span> -0:00","aria-live":"off"}),e.appendChild(this.v),e},t.pb.prototype.fa=function(){this.d.duration()&&(this.v.innerHTML='<span class="vjs-control-text">'+this.t("Remaining Time")+"</span> -"+t.za(this.d.remainingTime()))},t.Ka=t.u.extend({i:function(e,i){t.u.call(this,e,i)}}),t.Ka.prototype.ua="Fullscreen",t.Ka.prototype.T=function(){return"vjs-fullscreen-control "+t.u.prototype.T.call(this)},t.Ka.prototype.s=function(){this.d.isFullscreen()?(this.d.exitFullscreen(),this.xb.innerHTML=this.t("Fullscreen")):(this.d.requestFullscreen(),this.xb.innerHTML=this.t("Non-Fullscreen"))},t.ob=t.a.extend({i:function(e,i){t.a.call(this,e,i)}}),t.ob.prototype.m={children:{seekBar:{}}},t.ob.prototype.e=function(){return t.a.prototype.e.call(this,"div",{className:"vjs-progress-control vjs-control"})},t.cc=t.S.extend({i:function(e,i){t.S.call(this,e,i),this.c(e,"timeupdate",this.oa),e.K(t.bind(this,this.oa))}}),s=t.cc.prototype,s.m={children:{loadProgressBar:{},playProgressBar:{},seekHandle:{}},barName:"playProgressBar",handleName:"seekHandle"},s.Ec="timeupdate",s.e=function(){return t.S.prototype.e.call(this,"div",{className:"vjs-progress-holder","aria-label":"video progress bar"})},s.oa=function(){var e=this.d.bb?this.d.G.currentTime:this.d.currentTime();this.b.setAttribute("aria-valuenow",t.round(100*this.Gb(),2)),this.b.setAttribute("aria-valuetext",t.za(e,this.d.duration()))},s.Gb=function(){return this.d.currentTime()/this.d.duration()},s.Za=function(e){t.S.prototype.Za.call(this,e),this.d.bb=f,this.me=!this.d.paused(),this.d.pause()},s.$a=function(t){t=H(this,t)*this.d.duration(),t==this.d.duration()&&(t-=.1),this.d.currentTime(t)},s.Mb=function(e){t.S.prototype.Mb.call(this,e),this.d.bb=l,this.me&&this.d.play()},s.Oc=function(){this.d.currentTime(this.d.currentTime()+5)},s.Nc=function(){this.d.currentTime(this.d.currentTime()-5)},t.lb=t.a.extend({i:function(e,i){t.a.call(this,e,i),this.c(e,"progress",this.update)}}),t.lb.prototype.e=function(){return t.a.prototype.e.call(this,"div",{className:"vjs-load-progress",innerHTML:'<span class="vjs-control-text"><span>'+this.t("Loaded")+"</span>: 0%</span>"})},t.lb.prototype.update=function(){var e,i,s,n,o=this.d.buffered();e=this.d.duration();var r,a=this.d;for(r=a.buffered(),a=a.duration(),r=r.end(r.length-1),r>a&&(r=a),a=this.b.children,this.b.style.width=100*(r/e||0)+"%",e=0;e<o.length;e++)i=o.start(e),s=o.end(e),(n=a[e])||(n=this.b.appendChild(t.e())),n.style.left=100*(i/r||0)+"%",n.style.width=100*((s-i)/r||0)+"%";for(e=a.length;e>o.length;e--)this.b.removeChild(a[e-1])},t.$b=t.a.extend({i:function(e,i){t.a.call(this,e,i)}}),t.$b.prototype.e=function(){return t.a.prototype.e.call(this,"div",{className:"vjs-play-progress",innerHTML:'<span class="vjs-control-text"><span>'+this.t("Progress")+"</span>: 0%</span>"})},t.La=t.$.extend({i:function(e,i){t.$.call(this,e,i),this.c(e,"timeupdate",this.fa)}}),t.La.prototype.defaultValue="00:00",t.La.prototype.e=function(){return t.$.prototype.e.call(this,"div",{className:"vjs-seek-handle","aria-live":"off"})},t.La.prototype.fa=function(){var e=this.d.bb?this.d.G.currentTime:this.d.currentTime();this.b.innerHTML='<span class="vjs-control-text">'+t.za(e,this.d.duration())+"</span>"},t.rb=t.a.extend({i:function(e,i){t.a.call(this,e,i),e.o&&e.o.featuresVolumeControl===l&&this.n("vjs-hidden"),this.c(e,"loadstart",function(){e.o.featuresVolumeControl===l?this.n("vjs-hidden"):this.p("vjs-hidden")})}}),t.rb.prototype.m={children:{volumeBar:{}}},t.rb.prototype.e=function(){return t.a.prototype.e.call(this,"div",{className:"vjs-volume-control vjs-control"})},t.qb=t.S.extend({i:function(e,i){t.S.call(this,e,i),this.c(e,"volumechange",this.oa),e.K(t.bind(this,this.oa))}}),s=t.qb.prototype,s.oa=function(){this.b.setAttribute("aria-valuenow",t.round(100*this.d.volume(),2)),this.b.setAttribute("aria-valuetext",t.round(100*this.d.volume(),2)+"%")},s.m={children:{volumeLevel:{},volumeHandle:{}},barName:"volumeLevel",handleName:"volumeHandle"},s.Ec="volumechange",s.e=function(){return t.S.prototype.e.call(this,"div",{className:"vjs-volume-bar","aria-label":"volume level"})},s.$a=function(t){this.d.muted()&&this.d.muted(l),this.d.volume(H(this,t))},s.Gb=function(){return this.d.muted()?0:this.d.volume()},s.Oc=function(){this.d.volume(this.d.volume()+.1)},s.Nc=function(){this.d.volume(this.d.volume()-.1)},t.hc=t.a.extend({i:function(e,i){t.a.call(this,e,i)}}),t.hc.prototype.e=function(){return t.a.prototype.e.call(this,"div",{className:"vjs-volume-level",innerHTML:'<span class="vjs-control-text"></span>'})},t.sb=t.$.extend(),t.sb.prototype.defaultValue="00:00",t.sb.prototype.e=function(){return t.$.prototype.e.call(this,"div",{className:"vjs-volume-handle"})},t.ia=t.u.extend({i:function(e,i){t.u.call(this,e,i),this.c(e,"volumechange",this.update),e.o&&e.o.featuresVolumeControl===l&&this.n("vjs-hidden"),this.c(e,"loadstart",function(){e.o.featuresVolumeControl===l?this.n("vjs-hidden"):this.p("vjs-hidden")})}}),t.ia.prototype.e=function(){return t.u.prototype.e.call(this,"div",{className:"vjs-mute-control vjs-control",innerHTML:'<div><span class="vjs-control-text">'+this.t("Mute")+"</span></div>"})},t.ia.prototype.s=function(){this.d.muted(this.d.muted()?l:f)},t.ia.prototype.update=function(){var e=this.d.volume(),i=3;for(0===e||this.d.muted()?i=0:.33>e?i=1:.67>e&&(i=2),this.d.muted()?this.b.children[0].children[0].innerHTML!=this.t("Unmute")&&(this.b.children[0].children[0].innerHTML=this.t("Unmute")):this.b.children[0].children[0].innerHTML!=this.t("Mute")&&(this.b.children[0].children[0].innerHTML=this.t("Mute")),e=0;4>e;e++)t.p(this.b,"vjs-vol-"+e);t.n(this.b,"vjs-vol-"+i)},t.sa=t.N.extend({i:function(e,i){t.N.call(this,e,i),this.c(e,"volumechange",this.update),e.o&&e.o.featuresVolumeControl===l&&this.n("vjs-hidden"),this.c(e,"loadstart",function(){e.o.featuresVolumeControl===l?this.n("vjs-hidden"):this.p("vjs-hidden")}),this.n("vjs-menu-button")}}),t.sa.prototype.xa=function(){var e=new t.ha(this.d,{lc:"div"}),i=new t.qb(this.d,this.m.volumeBar);return i.c("focus",function(){e.n("vjs-lock-showing")}),i.c("blur",function(){E(e)}),e.V(i),e},t.sa.prototype.s=function(){t.ia.prototype.s.call(this),t.N.prototype.s.call(this)},t.sa.prototype.e=function(){return t.u.prototype.e.call(this,"div",{className:"vjs-volume-menu-button vjs-menu-button vjs-control",innerHTML:'<div><span class="vjs-control-text">'+this.t("Mute")+"</span></div>"})},t.sa.prototype.update=t.ia.prototype.update,t.bc=t.N.extend({i:function(e,i){t.N.call(this,e,i),this.Tc(),this.Sc(),this.c(e,"loadstart",this.Tc),this.c(e,"ratechange",this.Sc)}}),s=t.bc.prototype,s.e=function(){var e=t.a.prototype.e.call(this,"div",{className:"vjs-playback-rate vjs-menu-button vjs-control",innerHTML:'<div class="vjs-control-content"><span class="vjs-control-text">'+this.t("Playback Rate")+"</span></div>"});return this.Ac=t.e("div",{className:"vjs-playback-rate-value",innerHTML:1}),e.appendChild(this.Ac),e},s.xa=function(){var e=new t.ha(this.k()),i=this.k().options().playbackRates;if(i)for(var s=i.length-1;0<=s;s--)e.V(new t.nb(this.k(),{rate:i[s]+"x"}));return e},s.oa=function(){this.w().setAttribute("aria-valuenow",this.k().playbackRate())},s.s=function(){for(var t=this.k().playbackRate(),e=this.k().options().playbackRates,i=e[0],s=0;s<e.length;s++)if(e[s]>t){i=e[s];break}this.k().playbackRate(i)},s.Tc=function(){ea(this)?this.p("vjs-hidden"):this.n("vjs-hidden")},s.Sc=function(){ea(this)&&(this.Ac.innerHTML=this.k().playbackRate()+"x")},t.nb=t.J.extend({lc:"button",i:function(e,i){var s=this.label=i.rate,n=this.Hc=parseFloat(s,10);i.label=s,i.selected=1===n,t.J.call(this,e,i),this.c(e,"ratechange",this.update)}}),t.nb.prototype.s=function(){t.J.prototype.s.call(this),this.k().playbackRate(this.Hc)},t.nb.prototype.update=function(){this.selected(this.k().playbackRate()==this.Hc)},t.ra=t.u.extend({i:function(e,i){t.u.call(this,e,i),this.update(),e.c("posterchange",t.bind(this,this.update))}}),t.ra.prototype.dispose=function(){this.k().j("posterchange",this.update),t.u.prototype.dispose.call(this)},t.ra.prototype.e=function(){var e=t.e("div",{className:"vjs-poster",tabIndex:-1});return t.Wc||(this.Db=t.e("img"),e.appendChild(this.Db)),e},t.ra.prototype.update=function(){var t,e=this.k().poster();this.Db?this.Db.src=e:(t="",e&&(t='url("'+e+'")'),this.b.style.backgroundImage=t),e?this.b.style.display="":this.Y()},t.ra.prototype.s=function(){this.d.play()},t.Zb=t.a.extend({i:function(e,i){t.a.call(this,e,i)}}),t.Zb.prototype.e=function(){return t.a.prototype.e.call(this,"div",{className:"vjs-loading-spinner"})},t.fb=t.u.extend(),t.fb.prototype.e=function(){return t.u.prototype.e.call(this,"div",{className:"vjs-big-play-button",innerHTML:'<span aria-hidden="true"></span>',"aria-label":"play video"})},t.fb.prototype.s=function(){this.d.play()},t.jb=t.a.extend({i:function(e,i){t.a.call(this,e,i),this.update(),this.c(e,"error",this.update)}}),t.jb.prototype.e=function(){var e=t.a.prototype.e.call(this,"div",{className:"vjs-error-display"});return this.v=t.e("div"),e.appendChild(this.v),e},t.jb.prototype.update=function(){this.k().error()&&(this.v.innerHTML=this.t(this.k().error().message))},t.q=t.a.extend({i:function(e,i,s){i=i||{},i.Jc=l,t.a.call(this,e,i,s),this.featuresProgressEvents||(this.Bc=f,this.Gc=setInterval(t.bind(this,function(){var t=this.k().bufferedPercent();this.ld!=t&&this.k().l("progress"),this.ld=t,1===t&&clearInterval(this.Gc)}),500)),this.featuresTimeupdateEvents||(e=this.d,this.Lb=f,this.c(e,"play",this.Rc),this.c(e,"pause",this.cb),this.R("timeupdate",function(){this.featuresTimeupdateEvents=f,fa(this)}));var n;n=this.k(),e=function(){if(n.controls()&&!n.usingNativeControls()){var t;this.c("mousedown",this.s),this.c("touchstart",function(){t=this.d.userActive()}),this.c("touchmove",function(){t&&this.k().reportUserActivity()}),this.c("touchend",function(t){t.preventDefault()}),G(this),this.c("tap",this.Td)}},this.K(e),this.c(n,"controlsenabled",e),this.c(n,"controlsdisabled",this.Zd),this.K(function(){this.networkState&&0<this.networkState()&&this.k().l("loadstart")})}}),s=t.q.prototype,s.Zd=function(){this.j("tap"),this.j("touchstart"),this.j("touchmove"),this.j("touchleave"),this.j("touchcancel"),this.j("touchend"),this.j("click"),this.j("mousedown")},s.s=function(t){0===t.button&&this.k().controls()&&(this.k().paused()?this.k().play():this.k().pause())},s.Td=function(){this.k().userActive(!this.k().userActive())},s.Rc=function(){this.mc&&this.cb(),this.mc=setInterval(t.bind(this,function(){this.k().l("timeupdate")}),250)},s.cb=function(){clearInterval(this.mc),this.k().l("timeupdate")},s.dispose=function(){this.Bc&&(this.Bc=l,clearInterval(this.Gc)),this.Lb&&fa(this),t.a.prototype.dispose.call(this)},s.Qb=function(){this.Lb&&this.k().l("timeupdate")},s.Lc=m(),t.q.prototype.featuresVolumeControl=f,t.q.prototype.featuresFullscreenResize=l,t.q.prototype.featuresPlaybackRate=l,t.q.prototype.featuresProgressEvents=l,t.q.prototype.featuresTimeupdateEvents=l,t.media={},t.h=t.q.extend({i:function(e,i,s){for(this.featuresVolumeControl=t.h.nd(),this.featuresPlaybackRate=t.h.md(),this.movingMediaElementInDOM=!t.$c,this.featuresProgressEvents=this.featuresFullscreenResize=f,t.q.call(this,e,i,s),s=t.h.kb.length-1;0<=s;s--)this.c(t.h.kb[s],this.vd);if(((i=i.source)&&this.b.currentSrc!==i.src||e.I&&3===e.I.Bd)&&(this.b.src=i.src),t.ec&&e.options().nativeControlsForTouch===f){var n,o,r,a;n=this,o=this.k(),i=o.controls(),n.b.controls=!!i,r=function(){n.b.controls=f},a=function(){n.b.controls=l},o.c("controlsenabled",r),o.c("controlsdisabled",a),i=function(){o.j("controlsenabled",r),o.j("controlsdisabled",a)},n.c("dispose",i),o.c("usingcustomcontrols",i),o.usingNativeControls(f)}e.K(function(){this.I&&this.m.autoplay&&this.paused()&&(delete this.I.poster,this.play())}),this.Ga()}}),s=t.h.prototype,s.dispose=function(){t.h.Bb(this.b),t.q.prototype.dispose.call(this)},s.e=function(){var e,i=this.d,s=i.I;s&&this.movingMediaElementInDOM!==l||(s?(e=s.cloneNode(l),t.h.Bb(s),s=e,i.I=k):(s=t.e("video"),t.Kc(s,t.g.z(i.ie||{},{id:i.id()+"_html5_api",class:"vjs-tech"}))),s.player=i,t.Hb(s,i.w())),e=["autoplay","preload","loop","muted"];for(var n=e.length-1;0<=n;n--){var o=e[n],r={};void 0!==i.m[o]&&(r[o]=i.m[o]),t.Kc(s,r)}return s},s.vd=function(t){"error"==t.type&&this.error()?this.k().error(this.error().code):(t.bubbles=l,this.k().l(t))},s.play=function(){this.b.play()},s.pause=function(){this.b.pause()},s.paused=function(){return this.b.paused},s.currentTime=function(){return this.b.currentTime},s.Qb=function(e){try{this.b.currentTime=e}catch(e){t.log(e,"Video is not ready. (Video.js)")}},s.duration=function(){return this.b.duration||0},s.buffered=function(){return this.b.buffered},s.volume=function(){return this.b.volume},s.fe=function(t){this.b.volume=t},s.muted=function(){return this.b.muted},s.ce=function(t){this.b.muted=t},s.width=function(){return this.b.offsetWidth},s.height=function(){return this.b.offsetHeight};s.Ea=function(){return"function"!=typeof this.b.webkitEnterFullScreen||!/Android/.test(t.O)&&/Chrome|Mac OS X 10.5/.test(t.O)?l:f},s.pc=function(){var t=this.b;"webkitDisplayingFullscreen"in t&&this.R("webkitbeginfullscreen",function(){this.d.isFullscreen(f),this.R("webkitendfullscreen",function(){this.d.isFullscreen(l),this.d.l("fullscreenchange")}),this.d.l("fullscreenchange")}),t.paused&&t.networkState<=t.ne?(this.b.play(),setTimeout(function(){t.pause(),t.webkitEnterFullScreen()},0)):t.webkitEnterFullScreen()},s.wd=function(){this.b.webkitExitFullScreen()},s.src=function(t){if(t===b)return this.b.src;this.b.src=t},s.load=function(){this.b.load()},s.currentSrc=function(){return this.b.currentSrc},s.poster=function(){return this.b.poster},s.Lc=function(t){this.b.poster=t},s.Da=function(){return this.b.Da},s.ee=function(t){this.b.Da=t},s.autoplay=function(){return this.b.autoplay},s.$d=function(t){this.b.autoplay=t},s.controls=function(){return this.b.controls},s.loop=function(){return this.b.loop},s.be=function(t){this.b.loop=t},s.error=function(){return this.b.error},s.seeking=function(){return this.b.seeking},s.ended=function(){return this.b.ended},s.playbackRate=function(){return this.b.playbackRate},s.de=function(t){this.b.playbackRate=t},s.networkState=function(){return this.b.networkState},t.h.isSupported=function(){try{t.A.volume=.5}catch(t){return l}return!!t.A.canPlayType},t.h.vb=function(e){try{return!!t.A.canPlayType(e.type)}catch(t){return""}},t.h.nd=function(){var e=t.A.volume;return t.A.volume=e/2+.1,e!==t.A.volume},t.h.md=function(){var e=t.A.playbackRate;return t.A.playbackRate=e/2+.1,e!==t.A.playbackRate};var V,ga=/^application\/(?:x-|vnd\.apple\.)mpegurl/i,ha=/^video\/mp4/i;t.h.Dc=function(){4<=t.Ub&&(V||(V=t.A.constructor.prototype.canPlayType),t.A.constructor.prototype.canPlayType=function(t){return t&&ga.test(t)?"maybe":V.call(this,t)}),t.dd&&(V||(V=t.A.constructor.prototype.canPlayType),t.A.constructor.prototype.canPlayType=function(t){return t&&ha.test(t)?"maybe":V.call(this,t)})},t.h.le=function(){var e=t.A.constructor.prototype.canPlayType;return t.A.constructor.prototype.canPlayType=V,V=k,e},t.h.Dc(),t.h.kb="loadstart suspend abort error emptied stalled loadedmetadata loadeddata canplay canplaythrough playing waiting seeking seeked ended durationchange timeupdate progress play pause ratechange volumechange".split(" "),t.h.Bb=function(t){if(t){for(t.player=k,t.parentNode&&t.parentNode.removeChild(t);t.hasChildNodes();)t.removeChild(t.firstChild);if(t.removeAttribute("src"),"function"==typeof t.load)try{t.load()}catch(t){}}},t.f=t.q.extend({i:function(e,i,s){t.q.call(this,e,i,s);var n=i.source;s=i.parentEl;var o=this.b=t.e("div",{id:e.id()+"_temp_flash"}),r=e.id()+"_flash_api",a=e.m,a=t.g.z({readyFunction:"videojs.Flash.onReady",eventProxyFunction:"videojs.Flash.onEvent",errorEventProxyFunction:"videojs.Flash.onError",autoplay:a.autoplay,preload:a.Da,loop:a.loop,muted:a.muted},i.flashVars),c=t.g.z({wmode:"opaque",bgcolor:"#000000"},i.params),r=t.g.z({id:r,name:r,class:"vjs-tech"},i.attributes);n&&(n.type&&t.f.Gd(n.type)?(n=t.f.Pc(n.src),a.rtmpConnection=encodeURIComponent(n.wb),a.rtmpStream=encodeURIComponent(n.Rb)):a.src=encodeURIComponent(t.tc(n.src))),t.Hb(o,s),i.startTime&&this.K(function(){this.load(),this.play(),this.currentTime(i.startTime)}),t.Zc&&this.K(function(){this.c("mousemove",function(){this.k().l({type:"mousemove",bubbles:l})})}),e.c("stageclick",e.reportUserActivity),this.b=t.f.oc(i.swf,o,a,c,r)}}),t.f.prototype.dispose=function(){t.q.prototype.dispose.call(this)},t.f.prototype.play=function(){this.b.vjs_play()},t.f.prototype.pause=function(){this.b.vjs_pause()},t.f.prototype.src=function(e){if(e===b)return this.currentSrc();if(t.f.Fd(e)?(e=t.f.Pc(e),this.xe(e.wb),this.ye(e.Rb)):(e=t.tc(e),this.b.vjs_src(e)),this.d.autoplay()){var i=this;setTimeout(function(){i.play()},0)}},t.f.prototype.setCurrentTime=function(e){this.Jd=e,this.b.vjs_setProperty("currentTime",e),t.q.prototype.Qb.call(this)},t.f.prototype.currentTime=function(){return this.seeking()?this.Jd||0:this.b.vjs_getProperty("currentTime")},t.f.prototype.currentSrc=function(){var e=this.b.vjs_getProperty("currentSrc");if(e==k){var i=this.rtmpConnection(),s=this.rtmpStream();i&&s&&(e=t.f.ge(i,s))}return e},t.f.prototype.load=function(){this.b.vjs_load()},t.f.prototype.poster=function(){this.b.vjs_getProperty("poster")},t.f.prototype.setPoster=m(),t.f.prototype.buffered=function(){return t.zb(0,this.b.vjs_getProperty("buffered"))},t.f.prototype.Ea=q(l),t.f.prototype.pc=q(l);var ja=t.f.prototype,W="rtmpConnection rtmpStream preload defaultPlaybackRate playbackRate autoplay loop mediaGroup controller controls volume muted defaultMuted".split(" "),la="error networkState readyState seeking initialTime duration startOffsetTime paused played seekable ended videoTracks audioTracks videoWidth videoHeight textTracks".split(" "),X;for(X=0;X<W.length;X++)ka(W[X]),ia();for(X=0;X<la.length;X++)ka(la[X]);if(t.f.isSupported=function(){return 10<=t.f.version()[0]},t.f.vb=function(e){return e.type?(e=e.type.replace(/;.*/,"").toLowerCase(),e in t.f.yd||e in t.f.Qc?"maybe":void 0):""},t.f.yd={"video/flv":"FLV","video/x-flv":"FLV","video/mp4":"MP4","video/m4v":"MP4"},t.f.Qc={"rtmp/mp4":"MP4","rtmp/flv":"FLV"},t.f.onReady=function(e){var i;(i=(e=t.w(e))&&e.parentNode&&e.parentNode.player)&&(e.player=i,t.f.checkReady(i.o))},t.f.checkReady=function(e){e.w()&&(e.w().vjs_getProperty?e.Ga():setTimeout(function(){t.f.checkReady(e)},50))},t.f.onEvent=function(e,i){t.w(e).player.l(i)},t.f.onError=function(e,i){var s=t.w(e).player,n="FLASH: "+i;"srcnotfound"==i?s.error({code:4,message:n}):s.error(n)},t.f.version=function(){var t="0,0,0";try{t=new window.ActiveXObject("ShockwaveFlash.ShockwaveFlash").GetVariable("$version").replace(/\D+/g,",").match(/^,?(.+),?$/)[1]}catch(e){try{navigator.mimeTypes["application/x-shockwave-flash"].enabledPlugin&&(t=(navigator.plugins["Shockwave Flash 2.0"]||navigator.plugins["Shockwave Flash"]).description.replace(/\D+/g,",").match(/^,?(.+),?$/)[1])}catch(t){}}return t.split(",")},t.f.oc=function(e,i,s,n,o){e=t.f.Ad(e,s,n,o),e=t.e("div",{innerHTML:e}).childNodes[0],s=i.parentNode,i.parentNode.replaceChild(e,i);var r=s.childNodes[0];return setTimeout(function(){r.style.display="block"},1e3),e},t.f.Ad=function(e,i,s,n){var o="",r="",a="";return i&&t.g.X(i,function(t,e){o+=t+"="+e+"&amp;"}),s=t.g.z({movie:e,flashvars:o,allowScriptAccess:"always",allowNetworking:"all"},s),t.g.X(s,function(t,e){r+='<param name="'+t+'" value="'+e+'" />'}),n=t.g.z({data:e,width:"100%",height:"100%"},n),t.g.X(n,function(t,e){a+=t+'="'+e+'" '}),'<object type="application/x-shockwave-flash"'+a+">"+r+"</object>"},t.f.ge=function(t,e){return t+"&"+e},t.f.Pc=function(t){var e={wb:"",Rb:""};if(!t)return e;var i,s=t.indexOf("&");return-1!==s?i=s+1:0===(s=i=t.lastIndexOf("/")+1)&&(s=i=t.length),e.wb=t.substring(0,s),e.Rb=t.substring(i,t.length),e},t.f.Gd=function(e){return e in t.f.Qc},t.f.fd=/^rtmp[set]?:\/\//i,t.f.Fd=function(e){return t.f.fd.test(e)},t.ed=t.a.extend({i:function(e,i,s){if(t.a.call(this,e,i,s),e.m.sources&&0!==e.m.sources.length)e.src(e.m.sources);else for(i=0,s=e.m.techOrder;i<s.length;i++){var n=t.ba(s[i]),o=window.videojs[n];if(o&&o.isSupported()){Q(e,n);break}}}}),t.Player.prototype.textTracks=function(){return this.Fa=this.Fa||[]},t.B=t.a.extend({i:function(e,i){t.a.call(this,e,i),this.L=i.id||"vjs_"+i.kind+"_"+i.language+"_"+t.r++,this.Mc=i.src,this.sd=i.default||i.dflt,this.je=i.title,this.Ua=i.srclang,this.Hd=i.label,this.ca=[],this.tb=[],this.ma=this.na=0}}),s=t.B.prototype,s.M=p("H"),s.src=p("Mc"),s.Ab=p("sd"),s.title=p("je"),s.language=p("Ua"),s.label=p("Hd"),s.od=p("ca"),s.gd=p("tb"),s.readyState=p("na"),s.mode=p("ma"),s.e=function(){return t.a.prototype.e.call(this,"div",{className:"vjs-"+this.H+" vjs-text-track"})},s.show=function(){na(this),this.ma=2,t.a.prototype.show.call(this)},s.Y=function(){na(this),this.ma=1,t.a.prototype.Y.call(this)},s.disable=function(){2==this.ma&&this.Y(),this.d.j("timeupdate",t.bind(this,this.update,this.L)),this.d.j("ended",t.bind(this,this.reset,this.L)),this.reset(),this.d.ka("textTrackDisplay").removeChild(this),this.ma=0},s.load=function(){0===this.na&&(this.na=1,t.get(this.Mc,t.bind(this,this.Wd),t.bind(this,this.Md)))},s.Md=function(t){this.error=t,this.na=3,this.l("error")},s.Wd=function(e){var i,s;e=e.split("\n");for(var n="",o=1,r=e.length;o<r;o++)if(n=t.trim(e[o])){for(-1==n.indexOf("--\x3e")?(i=n,n=t.trim(e[++o])):i=this.ca.length,i={id:i,index:this.ca.length},s=n.split(/[\t ]+/),i.startTime=oa(s[0]),i.ya=oa(s[2]),s=[];e[++o]&&(n=t.trim(e[o]));)s.push(n);i.text=s.join("<br/>"),this.ca.push(i)}this.na=2,this.l("loaded")},s.update=function(){if(0<this.ca.length){var t=this.d.options().trackTimeOffset||0,t=this.d.currentTime()+t;if(this.Pb===b||t<this.Pb||this.Wa<=t){var e,i,s,n,o=this.ca,r=this.d.duration(),a=0,c=l,u=[];for(t>=this.Wa||this.Wa===b?n=this.Eb!==b?this.Eb:0:(c=f,n=this.Kb!==b?this.Kb:o.length-1);;){if(s=o[n],s.ya<=t)a=Math.max(a,s.ya),s.Na&&(s.Na=l);else if(t<s.startTime){if(r=Math.min(r,s.startTime),s.Na&&(s.Na=l),!c)break}else c?(u.splice(0,0,s),i===b&&(i=n),e=n):(u.push(s),e===b&&(e=n),i=n),r=Math.min(r,s.ya),a=Math.max(a,s.startTime),s.Na=f;if(c){if(0===n)break;n--}else{if(n===o.length-1)break;n++}}for(this.tb=u,this.Wa=r,this.Pb=a,this.Eb=e,this.Kb=i,e=this.tb,i="",t=0,o=e.length;t<o;t++)i+='<span class="vjs-tt-cue">'+e[t].text+"</span>";this.b.innerHTML=i,this.l("cuechange")}}},s.reset=function(){this.Wa=0,this.Pb=this.d.duration(),this.Kb=this.Eb=0},t.Wb=t.B.extend(),t.Wb.prototype.H="captions",t.dc=t.B.extend(),t.dc.prototype.H="subtitles",t.Xb=t.B.extend(),t.Xb.prototype.H="chapters",t.fc=t.a.extend({i:function(e,i,s){if(t.a.call(this,e,i,s),e.m.tracks&&0<e.m.tracks.length){i=this.d,e=e.m.tracks;for(var n=0;n<e.length;n++)s=e[n],ma(i,s.kind,s.label,s.language,s)}}}),t.fc.prototype.e=function(){return t.a.prototype.e.call(this,"div",{className:"vjs-text-track-display"})},t.aa=t.J.extend({i:function(e,i){var s=this.ea=i.track;i.label=s.label(),i.selected=s.Ab(),t.J.call(this,e,i),this.c(e,s.M()+"trackchange",this.update)}}),t.aa.prototype.s=function(){t.J.prototype.s.call(this),Y(this.d,this.ea.L,this.ea.M())},t.aa.prototype.update=function(){this.selected(2==this.ea.mode())},t.mb=t.aa.extend({i:function(e,i){i.track={M:function(){return i.kind},k:e,label:function(){return i.kind+" off"},Ab:q(l),mode:q(l)},t.aa.call(this,e,i),this.selected(f)}}),t.mb.prototype.s=function(){t.aa.prototype.s.call(this),Y(this.d,this.ea.L,this.ea.M())},t.mb.prototype.update=function(){for(var t,e=this.d.textTracks(),i=0,s=e.length,n=f;i<s;i++)t=e[i],t.M()==this.ea.M()&&2==t.mode()&&(n=l);this.selected(n)},t.U=t.N.extend({i:function(e,i){t.N.call(this,e,i),1>=this.Q.length&&this.Y()}}),t.U.prototype.wa=function(){var e,i=[];i.push(new t.mb(this.d,{kind:this.H}));for(var s=0;s<this.d.textTracks().length;s++)e=this.d.textTracks()[s],e.M()===this.H&&i.push(new t.aa(this.d,{track:e}));return i},t.Ha=t.U.extend({i:function(e,i,s){t.U.call(this,e,i,s),this.b.setAttribute("aria-label","Captions Menu")}}),t.Ha.prototype.H="captions",t.Ha.prototype.ua="Captions",t.Ha.prototype.className="vjs-captions-button",t.Ma=t.U.extend({i:function(e,i,s){t.U.call(this,e,i,s),this.b.setAttribute("aria-label","Subtitles Menu")}}),t.Ma.prototype.H="subtitles",t.Ma.prototype.ua="Subtitles",t.Ma.prototype.className="vjs-subtitles-button",t.Ia=t.U.extend({i:function(e,i,s){t.U.call(this,e,i,s),this.b.setAttribute("aria-label","Chapters Menu")}}),s=t.Ia.prototype,s.H="chapters",s.ua="Chapters",s.className="vjs-chapters-button",s.wa=function(){for(var e,i=[],s=0;s<this.d.textTracks().length;s++)e=this.d.textTracks()[s],e.M()===this.H&&i.push(new t.aa(this.d,{track:e}));return i},s.xa=function(){for(var e,i,s=this.d.textTracks(),n=0,o=s.length,r=this.Q=[];n<o;n++)if(e=s[n],e.M()==this.H){if(0!==e.readyState()){i=e;break}e.load(),e.c("loaded",t.bind(this,this.xa))}if(s=this.Ba,s===b&&(s=new t.ha(this.d),s.ja().appendChild(t.e("li",{className:"vjs-menu-title",innerHTML:t.ba(this.H),he:-1}))),i){e=i.ca;for(var a,n=0,o=e.length;n<o;n++)a=e[n],a=new t.gb(this.d,{track:i,cue:a}),r.push(a),s.V(a);this.V(s)}return 0<this.Q.length&&this.show(),s},t.gb=t.J.extend({i:function(e,i){var s=this.ea=i.track,n=this.cue=i.cue,o=e.currentTime();i.label=n.text,i.selected=n.startTime<=o&&o<n.ya,t.J.call(this,e,i),s.c("cuechange",t.bind(this,this.update))}}),t.gb.prototype.s=function(){t.J.prototype.s.call(this),this.d.currentTime(this.cue.startTime),this.update(this.cue.startTime)},t.gb.prototype.update=function(){var t=this.cue,e=this.d.currentTime();this.selected(t.startTime<=e&&e<t.ya)},t.g.z(t.Ja.prototype.m.children,{subtitlesButton:{},captionsButton:{},chaptersButton:{}}),void 0!==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(t,e){var i,s,n=t[e];if(n&&"object"==typeof n)for(i in n)Object.prototype.hasOwnProperty.call(n,i)&&(s=d(n,i),s!==b?n[i]=s:delete n[i]);return c.call(t,e,n)}var e;if(a=String(a),Z.lastIndex=0,Z.test(a)&&(a=a.replace(Z,function(t){return"\\u"+("0000"+t.charCodeAt(0).toString(16)).slice(-4)})),/^[\],:{}\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.jc=function(){var e,i,s,n;e=document.getElementsByTagName("video"),i=document.getElementsByTagName("audio");var o=[];if(e&&0<e.length)for(s=0,n=e.length;s<n;s++)o.push(e[s]);if(i&&0<i.length)for(s=0,n=i.length;s<n;s++)o.push(i[s]);if(o&&0<o.length)for(s=0,n=o.length;s<n;s++){if(!(i=o[s])||!i.getAttribute){t.ub();break}i.player===b&&(e=i.getAttribute("data-setup"))!==k&&videojs(i)}else t.Uc||t.ub()},t.ub=function(){setTimeout(t.jc,1)},"complete"===document.readyState?t.Uc=f:t.R(window,"load",function(){t.Uc=f}),t.ub(),t.Yd=function(e,i){t.Player.prototype[e]=i};var pa=this;$("videojs",t),$("_V_",t),$("videojs.options",t.options),$("videojs.players",t.Ca),$("videojs.TOUCH_ENABLED",t.ec),$("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.i,t.a.prototype.dispose=t.a.prototype.dispose,t.a.prototype.createEl=t.a.prototype.e,t.a.prototype.contentEl=t.a.prototype.ja,t.a.prototype.el=t.a.prototype.w,t.a.prototype.addChild=t.a.prototype.V,t.a.prototype.getChild=t.a.prototype.ka,t.a.prototype.getChildById=t.a.prototype.zd,t.a.prototype.children=t.a.prototype.children,t.a.prototype.initChildren=t.a.prototype.wc,t.a.prototype.removeChild=t.a.prototype.removeChild,t.a.prototype.on=t.a.prototype.c,t.a.prototype.off=t.a.prototype.j,t.a.prototype.one=t.a.prototype.R,t.a.prototype.trigger=t.a.prototype.l,t.a.prototype.triggerReady=t.a.prototype.Ga,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.td,t.a.prototype.ready=t.a.prototype.K,t.a.prototype.addClass=t.a.prototype.n,t.a.prototype.removeClass=t.a.prototype.p,t.a.prototype.buildCSSClass=t.a.prototype.T,t.a.prototype.localize=t.a.prototype.t,t.Player.prototype.ended=t.Player.prototype.ended,t.Player.prototype.enterFullWindow=t.Player.prototype.qc,t.Player.prototype.exitFullWindow=t.Player.prototype.Cb,t.Player.prototype.preload=t.Player.prototype.Da,t.Player.prototype.remainingTime=t.Player.prototype.remainingTime,t.Player.prototype.supportsFullScreen=t.Player.prototype.Ea,t.Player.prototype.currentType=t.Player.prototype.pd,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,$("videojs.MediaLoader",t.ed),$("videojs.TextTrackDisplay",t.fc),$("videojs.ControlBar",t.Ja),$("videojs.Button",t.u),$("videojs.PlayToggle",t.ac),$("videojs.FullscreenToggle",t.Ka),$("videojs.BigPlayButton",t.fb),$("videojs.LoadingSpinner",t.Zb),$("videojs.CurrentTimeDisplay",t.hb),$("videojs.DurationDisplay",t.ib),$("videojs.TimeDivider",t.gc),$("videojs.RemainingTimeDisplay",t.pb),$("videojs.LiveDisplay",t.Yb),$("videojs.ErrorDisplay",t.jb),$("videojs.Slider",t.S),$("videojs.ProgressControl",t.ob),$("videojs.SeekBar",t.cc),$("videojs.LoadProgressBar",t.lb),$("videojs.PlayProgressBar",t.$b),$("videojs.SeekHandle",t.La),$("videojs.VolumeControl",t.rb),$("videojs.VolumeBar",t.qb),$("videojs.VolumeLevel",t.hc),$("videojs.VolumeMenuButton",t.sa),$("videojs.VolumeHandle",t.sb),$("videojs.MuteToggle",t.ia),$("videojs.PosterImage",t.ra),$("videojs.Menu",t.ha),$("videojs.MenuItem",t.J),$("videojs.MenuButton",t.N),$("videojs.PlaybackRateMenuButton",t.bc),t.N.prototype.createItems=t.N.prototype.wa,t.U.prototype.createItems=t.U.prototype.wa,t.Ia.prototype.createItems=t.Ia.prototype.wa,$("videojs.SubtitlesButton",t.Ma),$("videojs.CaptionsButton",t.Ha),$("videojs.ChaptersButton",t.Ia),$("videojs.MediaTechController",t.q),t.q.prototype.featuresVolumeControl=t.q.prototype.ue,t.q.prototype.featuresFullscreenResize=t.q.prototype.qe,t.q.prototype.featuresPlaybackRate=t.q.prototype.re,t.q.prototype.featuresProgressEvents=t.q.prototype.se,t.q.prototype.featuresTimeupdateEvents=t.q.prototype.te,t.q.prototype.setPoster=t.q.prototype.Lc,$("videojs.Html5",t.h),t.h.Events=t.h.kb,t.h.isSupported=t.h.isSupported,t.h.canPlaySource=t.h.vb,t.h.patchCanPlayType=t.h.Dc,t.h.unpatchCanPlayType=t.h.le,t.h.prototype.setCurrentTime=t.h.prototype.Qb,t.h.prototype.setVolume=t.h.prototype.fe,t.h.prototype.setMuted=t.h.prototype.ce,t.h.prototype.setPreload=t.h.prototype.ee,t.h.prototype.setAutoplay=t.h.prototype.$d,t.h.prototype.setLoop=t.h.prototype.be,t.h.prototype.enterFullScreen=t.h.prototype.pc,t.h.prototype.exitFullScreen=t.h.prototype.wd,t.h.prototype.playbackRate=t.h.prototype.playbackRate,t.h.prototype.setPlaybackRate=t.h.prototype.de,$("videojs.Flash",t.f),t.f.isSupported=t.f.isSupported,t.f.canPlaySource=t.f.vb,t.f.onReady=t.f.onReady,t.f.embed=t.f.oc,t.f.version=t.f.version,$("videojs.TextTrack",t.B),t.B.prototype.label=t.B.prototype.label,t.B.prototype.kind=t.B.prototype.M,t.B.prototype.mode=t.B.prototype.mode,t.B.prototype.cues=t.B.prototype.od,t.B.prototype.activeCues=t.B.prototype.gd,$("videojs.CaptionsTrack",t.Wb),$("videojs.SubtitlesTrack",t.dc),$("videojs.ChaptersTrack",t.Xb),$("videojs.autoSetup",t.jc),$("videojs.plugin",t.Yd),$("videojs.createTimeRange",t.zb),$("videojs.util",t.ga),t.ga.mergeOptions=t.ga.Va,t.addLanguage=t.hd}()},b30415350b581ef5a73d:function(t,e,i){"use strict";function s(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}Object.defineProperty(e,"__esModule",{value:!0});var n=function(){function t(t,e){for(var i=0;i<e.length;i++){var s=e[i];s.enumerable=s.enumerable||!1,s.configurable=!0,"value"in s&&(s.writable=!0),Object.defineProperty(t,s.key,s)}}return function(e,i,s){return i&&t(e.prototype,i),s&&t(e,s),e}}();i("d5e8fa5f17ac5fe79c78");var o=function(){function t(){s(this,t)}return n(t,null,[{key:"set",value:function(t,e,i){var s=store.get("durations",{});s&&s instanceof Array||(s=new Array);var n=t+"-"+e+":"+i;s.length>0&&s.slice(s.length-1,s.length)[0].indexOf(t+"-"+e)>-1&&s.splice(s.length-1,s.length),s.length>=20&&s.shift(),s.push(n),store.set("durations",s)}},{key:"get",value:function(t,e){var i=store.get("durations",{});if(i)for(var s=0;s<i.length;s++){var n=i[s].indexOf(t+"-"+e);if(n>-1){var o=i[s];return parseFloat(o.split(":")[1])}}return 0}},{key:"del",value:function(t,e){var i=store.get("durations");if(i){for(var s=0;s<i.length;s++){i[s].indexOf(t+"-"+e)>-1&&i.splice(s,1)}store.set("durations",i)}}}]),t}();e.default=o},bcba2ba88055ffca8b97:function(t,e,i){"use strict";function s(t){return t&&t.__esModule?t:{default:t}}function n(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function o(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}function r(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}Object.defineProperty(e,"__esModule",{value:!0});var a=function(){function t(t,e){for(var i=0;i<e.length;i++){var s=e[i];s.enumerable=s.enumerable||!1,s.configurable=!0,"value"in s&&(s.writable=!0),Object.defineProperty(t,s.key,s)}}return function(e,i,s){return i&&t(e.prototype,i),s&&t(e,s),e}}(),l=i("b18aaaecd1cb223cf42d"),c=s(l),u=i("17c25dd7d9d2615bc1d9"),h=s(u),p=i("b334fd7e4c5a19234db2"),d=s(p),f=i("75e3573c9b4bdb02272d"),y=function(t){function e(t){n(this,e);var i=o(this,(e.__proto__||Object.getPrototypeOf(e)).call(this));return i.options=t,i.player={},i.setup(),i}return r(e,t),a(e,[{key:"setup",value:function(){var t=this,e=["flash","html5"];(this.options.agentInWhiteList||"audio"==this.options.mediaType)&&(e=["html5","flash"]);var i=this,s=(0,c.default)(this.options.element,{techOrder:e,loop:!1,flash:{swf:f},controlBar:{liveDisplay:!1}});s.dimensions("100%","100%"),s.src(this.options.url),s.on("error",function(t){s.hasPlayerError=!0;var e=Translator.trans("site.browser_useless_play_video_hint");(0,d.default)("danger",e,{delay:3e4})}),s.on("fullscreenchange",function(t){$(t.target).hasClass("vjs-fullscreen")&&$("#site-navbar").hide()}),s.on("ended",function(e){t.emit("ended",e),t._onEnded(e)}),s.on("timeupdate",function(e){t.emit("timechange",e)}),s.on("loadedmetadata",function(t){i.emit("ready",t)}),s.on("play",function(t){i.emit("playing",t)}),s.on("pause",function(t){i.emit("paused",t)}),this.player=s}},{key:"checkHtml5",value:function(){return!!window.applicationCache}},{key:"play",value:function(){this.player.play()}},{key:"_onEnded",value:function(t){this.player.pause(),this.player.currentTime(0)}},{key:"getCurrentTime",value:function(){return this.player.currentTime()}},{key:"getDuration",value:function(){return this.player.duration()}},{key:"setCurrentTime",value:function(t){return this.player.currentTime(t),this}},{key:"replay",value:function(){return this.setCurrentTime(0).play(),this}},{key:"isPlaying",value:function(){return!this.player.paused()}},{key:"destroy",value:function(){this.player.dispose()}}]),e}(h.default);e.default=y},cb3619dd4026be2f4f29:function(t,e,i){"use strict";function s(t){return t&&t.__esModule?t:{default:t}}function n(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}Object.defineProperty(e,"__esModule",{value:!0});var o=function(){function t(t,e){for(var i=0;i<e.length;i++){var s=e[i];s.enumerable=s.enumerable||!1,s.configurable=!0,"value"in s&&(s.writable=!0),Object.defineProperty(t,s.key,s)}}return function(e,i,s){return i&&t(e.prototype,i),s&&t(e,s),e}}(),r=i("bcba2ba88055ffca8b97"),a=(s(r),i("449ed6315d5b49470c21")),l=s(a),c=i("30dc8eb6f511944bcfca"),u=s(c),h=function(){function t(){n(this,t)}return o(t,null,[{key:"create",value:function(t,e){switch(t){case"local-video-player":return new l.default(e);case"audio-player":return new u.default(e);case"balloon-cloud-video-player":return new l.default(e)}}}]),t}();e.default=h}},["05180a86064fe4040eec"]);

最后一定要清缓存(rm -rf ./app/cache/*)和清浏览器缓存 不然不生效哦

最后 去创建课程 上传视频音频。 播放正常就ok了 

其他的 播放器功能 需要修改js 重新编译文件。 按需可自行修改代码

纯内网部署 ppt pdf word excel 播放  需要定制代码

有问题可以进q群讨论:256355387

  • 3
    点赞
  • 4
    收藏
    觉得还不错? 一键收藏
  • 20
    评论
Edusoho是一种在教育行业中广泛使用的在线学习平台,正如任何其他在线平台一样,它也存在一些安全漏洞。下面是一些可能的安全风险和解决方法: 1. 用户隐私泄露:在Edusoho平台上,用户提供了个人敏感信息,如姓名、电子邮件地址、学校/机构名称等。如果平台的安全性不够,恶意者可能会访问和利用这些个人信息。解决方法是加强用户数据的加密存储和传输,并采取访问控制措施,确保只有授权的人员能够访问用户数据。 2. 未经授权的访问:如果Edusoho平台的用户身份认证和权限管理存在漏洞,黑客可能会成功访问和操纵用户账户,并获取学习数据或篡改课程内容。应加强账户保护措施,如采用强密码策略、双因素身份验证等,确保只有授权用户才能登录和操作。 3. 恶意软件攻击:通过课程文件、插件或其他外部链接,恶意软件可能会被注入到Edusoho平台中,从而对用户和系统造成损害。平台管理员需要及时更新和监测系统的软件和插件,以确保它们是最新版本并没有已知的漏洞。 4. 数据备份与恢复:在任何在线平台上,数据丢失是一种常见的风险。如果Edusoho没有良好的数据备份和恢复机制,用户的学习数据和课程内容可能会因硬件故障、黑客攻击或人为错误而丢失。要解决这个问题,平台管理员应定期备份数据,并建立可靠的恢复程序。 总之,Edusoho作为一个在线学习平台,在设计和开发过程中必须高度关注安全性和隐私保护。通过采取合适的安全措施和持续监测,可以最大限度地减少安全漏洞和潜在的攻击风险,确保学习者的数据和隐私得到保护。

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论 20
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值