").addClass("ui-tooltip-content").appendTo(tooltip);tooltip.appendTo(this.document[0].body);if($.fn.bgiframe){tooltip.bgiframe();}
this.tooltips[id]=element;return tooltip;},_find:function(target){var id=target.data("ui-tooltip-id");return id?$("#"+id):$();},_removeTooltip:function(tooltip){tooltip.remove();delete this.tooltips[tooltip.attr("id")];},_destroy:function(){var that=this;$.each(this.tooltips,function(id,element){var event=$.Event("blur");event.target=event.currentTarget=element[0];that.close(event,true);$("#"+id).remove();if(element.data("ui-tooltip-title")){element.attr("title",element.data("ui-tooltip-title"));element.removeData("ui-tooltip-title");}});}});}(jQuery));;
/*
Video.js - HTML5 Video Player
Version 3.2.0
LGPL v3 LICENSE INFO
This file is part of Video.js. Copyright 2011 Zencoder, Inc.
Video.js is free software: you can redistribute it and/or modify
it under the terms of the GNU Lesser General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
Video.js is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU Lesser General Public License for more details.
You should have received a copy of the GNU Lesser General Public License
along with Video.js. If not, see .
*/
;(function(window,undefined){var document=window.document;document.createElement("video");document.createElement("audio");var VideoJS=function(id,addOptions,ready){var tag;if(typeof id=="string"){if(id.indexOf("#")===0){id=id.slice(1);}
if(_V_.players[id]){return _V_.players[id];}else{tag=_V_.el(id);}}else{tag=id;}
if(!tag||!tag.nodeName){throw new TypeError("The element or ID supplied is not valid. (VideoJS)");}
return tag.player||new _V_.Player(tag,addOptions,ready);},_V_=VideoJS,CDN_VERSION="3.2";VideoJS.players={};VideoJS.options={techOrder:["html5","flash"],html5:{},flash:{swf:"http://vjs.zencdn.net/c/video-js.swf"},width:"auto",height:"auto",defaultVolume:0.00,components:{"posterImage":{},"textTrackDisplay":{},"loadingSpinner":{},"bigPlayButton":{},"controlBar":{}}};if(CDN_VERSION!="GENERATED_CDN_VSN"){_V_.options.flash.swf="http://vjs.zencdn.net/"+CDN_VERSION+"/video-js.swf";}_V_.merge=function(obj1,obj2,safe){if(!obj2){obj2={};};for(var attrname in obj2){if(obj2.hasOwnProperty(attrname)&&(!safe||!obj1.hasOwnProperty(attrname))){obj1[attrname]=obj2[attrname];}}
return obj1;};_V_.extend=function(obj){this.merge(this,obj,true);};_V_.extend({tech:{},controlSets:{},isIE:function(){return!+"\v1";},isFF:function(){return!!_V_.ua.match("Firefox");},isIPad:function(){return navigator.userAgent.match(/iPad/i)!==null;},isIPhone:function(){return navigator.userAgent.match(/iPhone/i)!==null;},isIOS:function(){return VideoJS.isIPhone()||VideoJS.isIPad();},iOSVersion:function(){var match=navigator.userAgent.match(/OS (\d+)_/i);if(match&&match[1]){return match[1];}},isAndroid:function(){return navigator.userAgent.match(/Android.*AppleWebKit/i)!==null;},androidVersion:function(){var match=navigator.userAgent.match(/Android (\d+)\./i);if(match&&match[1]){return match[1];}},testVid:document.createElement("video"),ua:navigator.userAgent,support:{},each:function(arr,fn){if(!arr||arr.length===0){return;}
for(var i=0,j=arr.length;i0||gh>0)?h+":":"";m=(((h||gm>=10)&&m<10)?"0"+m:m)+":";s=(s<10)?"0"+s:s;return h+m+s;},uc:function(string){return string.charAt(0).toUpperCase()+string.slice(1);},getRelativePosition:function(x,relativeElement){return Math.max(0,Math.min(1,(x-_V_.findPosX(relativeElement))/relativeElement.offsetWidth));},getComputedStyleValue:function(element,style){return window.getComputedStyle(element,null).getPropertyValue(style);},trim:function(string){return string.toString().replace(/^\s+/,"").replace(/\s+$/,"");},round:function(num,dec){if(!dec){dec=0;}
return Math.round(num*Math.pow(10,dec))/Math.pow(10,dec);},isEmpty:function(object){for(var prop in object){return false;}
return true;},createTimeRange:function(start,end){return{length:1,start:function(){return start;},end:function(){return end;}};},cache:{},guid:1,expando:"vdata"+(new Date).getTime(),getData:function(elem){var id=elem[_V_.expando];if(!id){id=elem[_V_.expando]=_V_.guid++;_V_.cache[id]={};}
return _V_.cache[id];},removeData:function(elem){var id=elem[_V_.expando];if(!id){return;}
delete _V_.cache[id];try{delete elem[_V_.expando];}catch(e){if(elem.removeAttribute){elem.removeAttribute(_V_.expando);}else{elem[_V_.expando]=null;}}},proxy:function(context,fn,uid){if(!fn.guid){fn.guid=_V_.guid++;}
var ret=function(){return fn.apply(context,arguments);};ret.guid=(uid)?uid+"_"+fn.guid:fn.guid;return ret;},get:function(url,onSuccess,onError){var local=(url.indexOf("file:")==0||(window.location.href.indexOf("file:")==0&&url.indexOf("http:")==-1));if(typeof XMLHttpRequest=="undefined"){XMLHttpRequest=function(){try{return new ActiveXObject("Msxml2.XMLHTTP.6.0");}catch(e){}
try{return new ActiveXObject("Msxml2.XMLHTTP.3.0");}catch(f){}
try{return new ActiveXObject("Msxml2.XMLHTTP");}catch(g){}
throw new Error("This browser does not support XMLHttpRequest.");};}
var request=new XMLHttpRequest();try{request.open("GET",url);}catch(e){_V_.log("VideoJS XMLHttpRequest (open)",e);return false;}
request.onreadystatechange=_V_.proxy(this,function(){if(request.readyState==4){if(request.status==200||local&&request.status==0){onSuccess(request.responseText);}else{if(onError){onError();}}}});try{request.send();}catch(e){_V_.log("VideoJS XMLHttpRequest (send)",e);if(onError){onError(e);}}},setLocalStorage:function(key,value){var localStorage=window.localStorage||false;if(!localStorage){return;}
try{localStorage[key]=value;}catch(e){if(e.code==22||e.code==1014){_V_.log("LocalStorage Full (VideoJS)",e);}else{_V_.log("LocalStorage Error (VideoJS)",e);}}},getAbsoluteURL:function(url){if(!url.match(/^https?:\/\//)){url=_V_.createElement('div',{innerHTML:'x'}).firstChild.href;}
return url;}});_V_.log=function(){_V_.log.history=_V_.log.history||[];_V_.log.history.push(arguments);if(window.console){arguments.callee=arguments.callee.caller;var newarr=[].slice.call(arguments);(typeof console.log==='object'?_V_.log.apply.call(console.log,console,newarr):console.log.apply(console,newarr));}};(function(b){function c(){}for(var d="assert,count,debug,dir,dirxml,error,exception,group,groupCollapsed,groupEnd,info,log,timeStamp,profile,profileEnd,time,timeEnd,trace,warn".split(","),a;a=d.pop();){b[a]=b[a]||c}})((function(){try
{console.log();return window.console;}catch(err){return window.console={};}})());if("getBoundingClientRect"in document.documentElement){_V_.findPosX=function(el){var box;try{box=el.getBoundingClientRect();}catch(e){}
if(!box){return 0;}
var docEl=document.documentElement,body=document.body,clientLeft=docEl.clientLeft||body.clientLeft||0,scrollLeft=window.pageXOffset||body.scrollLeft,left=box.left+scrollLeft-clientLeft;return left;};}else{_V_.findPosX=function(el){var curleft=el.offsetLeft;while(el=obj.offsetParent){if(el.className.indexOf("video-js")==-1){}else{}
curleft+=el.offsetLeft;}
return curleft;};}
(function(){var initializing=false,fnTest=/xyz/.test(function(){xyz;})?/\b_super\b/:/.*/;_V_.Class=function(){};_V_.Class.extend=function(prop){var _super=this.prototype;initializing=true;var prototype=new this();initializing=false;for(var name in prop){prototype[name]=typeof prop[name]=="function"&&typeof _super[name]=="function"&&fnTest.test(prop[name])?(function(name,fn){return function(){var tmp=this._super;this._super=_super[name];var ret=fn.apply(this,arguments);this._super=tmp;return ret;};})(name,prop[name]):prop[name];}
function Class(){if(!initializing&&this.init){return this.init.apply(this,arguments);}else if(!initializing){return arguments.callee.prototype.init()}}
Class.prototype=prototype;Class.constructor=Class;Class.extend=arguments.callee;return Class;};})();_V_.Component=_V_.Class.extend({init:function(player,options){this.player=player;options=this.options=_V_.merge(this.options||{},options);if(options.el){this.el=options.el;}else{this.el=this.createElement();}
this.initComponents();},destroy:function(){},createElement:function(type,attrs){return _V_.createElement(type||"div",attrs);},buildCSSClass:function(){return"";},initComponents:function(){var options=this.options;if(options&&options.components){this.eachProp(options.components,function(name,opts){var tempAdd=this.proxy(function(){this[name]=this.addComponent(name,opts);});if(opts.loadEvent){this.one(opts.loadEvent,tempAdd);}else{tempAdd();}});}},addComponent:function(name,options){var component,componentClass;if(typeof name=="string"){options=options||{};componentClass=options.componentClass||_V_.uc(name);component=new _V_[componentClass](this.player||this,options);}else{component=name;}
this.el.appendChild(component.el);return component;},removeComponent:function(component){this.el.removeChild(component.el);},show:function(){this.el.style.display="block";},hide:function(){this.el.style.display="none";},fadeIn:function(){this.removeClass("vjs-fade-out");this.addClass("vjs-fade-in");},fadeOut:function(){this.removeClass("vjs-fade-in");this.addClass("vjs-fade-out");},lockShowing:function(){var style=this.el.style;style.display="block";style.opacity=1;style.visiblity="visible";},unlockShowing:function(){var style=this.el.style;style.display="";style.opacity="";style.visiblity="";},addClass:function(classToAdd){_V_.addClass(this.el,classToAdd);},removeClass:function(classToRemove){_V_.removeClass(this.el,classToRemove);},addEvent:function(type,fn,uid){return _V_.addEvent(this.el,type,_V_.proxy(this,fn));},removeEvent:function(type,fn){return _V_.removeEvent(this.el,type,fn);},triggerEvent:function(type,e){return _V_.triggerEvent(this.el,type,e);},one:function(type,fn){_V_.one(this.el,type,_V_.proxy(this,fn));},ready:function(fn){if(!fn)return this;if(this.isReady){fn.call(this);}else{if(this.readyQueue===undefined){this.readyQueue=[];}
this.readyQueue.push(fn);}
return this;},triggerReady:function(){this.isReady=true;if(this.readyQueue&&this.readyQueue.length>0){this.each(this.readyQueue,function(fn){fn.call(this);});this.readyQueue=[];this.triggerEvent("ready");}},each:function(arr,fn){_V_.each.call(this,arr,fn);},eachProp:function(obj,fn){_V_.eachProp.call(this,obj,fn);},extend:function(obj){_V_.merge(this,obj);},proxy:function(fn,uid){return _V_.proxy(this,fn,uid);}});_V_.Control=_V_.Component.extend({buildCSSClass:function(){return"vjs-control "+this._super();}});_V_.ControlBar=_V_.Component.extend({options:{loadEvent:"play",components:{"playToggle":{},"fullscreenToggle":{},"currentTimeDisplay":{},"timeDivider":{},"durationDisplay":{},"remainingTimeDisplay":{},"progressControl":{},"volumeControl":{},"muteToggle":{}}},init:function(player,options){this._super(player,options);player.addEvent("play",this.proxy(function(){this.fadeIn();this.player.addEvent("mouseover",this.proxy(this.fadeIn));this.player.addEvent("mouseout",this.proxy(this.fadeOut));}));},createElement:function(){return _V_.createElement("div",{className:"vjs-controls"});},fadeIn:function(){this._super();this.player.triggerEvent("controlsvisible");},fadeOut:function(){this._super();this.player.triggerEvent("controlshidden");},lockShowing:function(){this.el.style.opacity="1";}});_V_.Button=_V_.Control.extend({init:function(player,options){this._super(player,options);this.addEvent("click",this.onClick);this.addEvent("focus",this.onFocus);this.addEvent("blur",this.onBlur);},createElement:function(type,attrs){attrs=_V_.merge({className:this.buildCSSClass(),innerHTML:'