/**
* Kaltura HTML5 Library v2.0.0  
* http://html5video.org/kaltura-player/docs/
* 
* This is free software released under the GPL2 see README more info 
* http://html5video.org/kaltura-player/docs/readme
* 
* Copyright 2014 Kaltura Inc.
*/
window['MWEMBED_VERSION'] = '2.0.0';
window['SCRIPT_LOADER_URL'] = 'http://cdnapi.kaltura.com/html5/html5lib/v2.0.0/load.php';
(function(){"use strict";if(window.kWidget){return;}var kWidget={startTime:{},loadTime:{},readyWidgets:{},readyCallbacks:[],destroyedWidgets:{},perWidgetCallback:{},readyCallbackPerWidget:{},listenerList:{},userAgentPlayerRules:{},alreadyAddedThumbRules:false,iframeAutoEmbedCache:{},setup:function(){var _this=this;mw.setConfig('version',MWEMBED_VERSION);this.checkEnvironment();this.overrideFlashEmbedMethods();this.proxyJsCallbackready();this.domReady(function(){_this.domIsReady=true;_this.proxyJsCallbackready();});this.domReady(function(){_this.rewriteObjectTags();});},checkEnvironment:function(){if(document.URL.indexOf('forceMobileHTML5')!==-1&&!mw.getConfig('disableForceMobileHTML5')){mw.setConfig('forceMobileHTML5',true);}if(document.URL.indexOf('debugKalturaPlayer')!==-1){mw.setConfig('debug',true);}var ua=navigator.userAgent;var ieMatch=ua.match(/MSIE\s([0-9]+)/);if((ieMatch&&parseInt(ieMatch[1])<9)||document.URL.indexOf('forceFlash')!==-1){mw.setConfig(
'Kaltura.ForceFlashOnDesktop',true);}if(ua.indexOf('BlackBerry')!=-1){mw.setConfig('EmbedPlayer.DisableVideoTagSupport',true);mw.setConfig('EmbedPlayer.NotPlayableDownloadLink',true);}if(ua.indexOf('kalturaNativeCordovaPlayer')!=-1){mw.setConfig('EmbedPlayer.ForceNativeComponent',true);if(!mw.getConfig('EmbedPlayer.IsIframeServer')){var cordovaPath;var cordovaKWidgetPath;if(this.isAndroid()){cordovaPath="/modules/EmbedPlayer/binPlayers/cordova/android/cordova.js";}else{cordovaPath="/modules/EmbedPlayer/binPlayers/cordova/ios/cordova.js";}cordovaKWidgetPath="/kWidget/cordova.kWidget.js";document.write('<script src="'+this.getPath()+cordovaPath+'"></scr'+'ipt>');document.write('<script src="'+this.getPath()+cordovaKWidgetPath+'"></scr'+'ipt>');}}if(/(iPhone|iPod|iPad)/i.test(ua)){if(/OS [2-4]_\d(_\d)? like Mac OS X/i.test(ua)||(/CPU like Mac OS X/i.test(ua))){mw.setConfig('Kaltura.UseAppleAdaptive',false);}}if(!mw.getConfig('EmbedPlayer.IsIframeServer')){mw.setConfig(
'EmbedPlayer.IframeParentUrl',document.URL);mw.setConfig('EmbedPlayer.IframeParentTitle',document.title);mw.setConfig('EmbedPlayer.IframeParentReferrer',document.referrer);if((/iphone|ipod|ipad.*os 5/gi).test(navigator.appVersion)){window.onpageshow=function(evt){if(evt.persisted){document.body.style.display="none";location.reload();}};}}},proxiedJsCallback:null,waitForLibraryChecks:true,jsReadyCalledForIds:[],proxyJsCallbackready:function(){var _this=this;var jsCallbackProxy=function(widgetId){if(_this.waitForLibraryChecks){_this.jsReadyCalledForIds.push(widgetId);return;}_this.jsCallbackReady(widgetId);};if(!this.proxiedJsCallback){this.proxiedJsCallback=window['jsCallbackReady']||true;window['jsCallbackReady']=jsCallbackProxy}if(window['jsCallbackReady'].toString()!=jsCallbackProxy.toString()){this.proxiedJsCallback=window['jsCallbackReady'];window['jsCallbackReady']=jsCallbackProxy}},jsCallbackReady:function(widgetId){var _this=this;_this.log("jsCallbackReady for "+widgetId);if(
this.destroyedWidgets[widgetId]){return;}var player=document.getElementById(widgetId);if(!player){this.log("Error:: jsCallbackReady called on invalid player Id:"+widgetId);return;}this.extendJsListener(player);var kdpVersion=player.evaluate('{playerStatusProxy.kdpVersion}');if(mw.versionIsAtLeast('v3.7.0',kdpVersion)){player.kBind("kdpReady",function(){_this.loadTime[widgetId]=((new Date().getTime()-_this.startTime[widgetId])/1000.0).toFixed(2);player.setKDPAttribute("playerStatusProxy","loadTime",_this.loadTime[widgetId]);_this.log("Player ("+widgetId+"):"+_this.loadTime[widgetId]);});}if(!mw.getConfig('EmbedPlayer.IsIframeServer')){document.onclick=function(){player.sendNotification('onFocusOutOfIframe');};}if(typeof this.proxiedJsCallback=='function'){this.proxiedJsCallback(widgetId);}for(var i=0;i<this.readyCallbacks.length;i++){this.readyCallbacks[i](widgetId);}this.readyWidgets[widgetId]=true;},playerModeChecksDone:function(){this.waitForLibraryChecks=false;for(var i=0;i<this.
jsReadyCalledForIds.length;i++){var widgetId=this.jsReadyCalledForIds[i];this.jsCallbackReady(widgetId);}this.jsReadyCalledForIds=[];},embed:function(targetId,settings){var _this=this;if(typeof targetId==='object'){settings=targetId;if(!settings.targetId){this.log('Error: Missing target element Id');}targetId=settings.targetId;}if(!settings.flashvars){settings.flashvars={};}this.startTime[targetId]=new Date().getTime();if(!settings.flashvars){settings.flashvars={};}if(!settings.wid){this.log("Error: kWidget.embed missing wid");return;}var uiconf_id=settings.uiconf_id;var confFile=settings.flashvars.confFilePath;if(!uiconf_id&&!confFile){this.log("Error: kWidget.embed missing uiconf_id or confFile");return;}var elm=document.getElementById(targetId);if(!elm){this.log("Error: kWidget.embed could not find target: "+targetId);return false;}if(elm.getAttribute('name')=='kaltura_player_iframe_no_rewrite'){return;}elm.innerHTML='';function checkSizeOveride(dim){if(settings[dim]){if(parseInt(
settings[dim])==settings[dim]){settings[dim]+='px';}elm.style[dim]=settings[dim];}}checkSizeOveride('width');checkSizeOveride('height');if(this.destroyedWidgets[targetId]){delete(this.destroyedWidgets[targetId]);}if(mw.getConfig('Kaltura.ForceIframeEmbed')===true){this.outputIframeWithoutApi(targetId,settings);return;}if(settings.readyCallback){var adCallback=!this.perWidgetCallback[targetId];this.perWidgetCallback[targetId]=settings.readyCallback;if(adCallback){this.addReadyCallback(function(videoId){if(videoId==targetId&&_this.perWidgetCallback[videoId]){_this.perWidgetCallback[videoId](videoId);}});}}this.proxyJsCallbackready();settings.isHTML5=this.isUiConfIdHTML5(uiconf_id);var doEmbedAction=function(){if(uiconf_id&&_this.userAgentPlayerRules&&_this.userAgentPlayerRules[uiconf_id]){var playerAction=_this.checkUserAgentPlayerRules(_this.userAgentPlayerRules[uiconf_id]);switch(playerAction.mode){case'flash':if(elm.nodeName.toLowerCase()=='object'){return;}break;case'leadWithHTML5':
settings.isHTML5=_this.supportsHTML5();break;case'forceMsg':var msg=playerAction.val;if(elm&&elm.parentNode){var divTarget=document.createElement("div");divTarget.innerHTML=unescape(msg);elm.parentNode.replaceChild(divTarget,elm);}return;break;}}if(mw.getConfig("EmbedPlayer.ForceNativeComponent")){_this.outputCordovaPlayer(targetId,settings);}else if(settings.isHTML5){_this.outputHTML5Iframe(targetId,settings);}else{_this.outputFlashObject(targetId,settings);}}
var playerList=[{'kEmbedSettings':settings}];this.loadUiConfJs(playerList,function(){_this.proxyJsCallbackready();doEmbedAction();});},outputCordovaPlayer:function(targetId,settings){var _this=this;if(cordova&&cordova.kWidget){cordova.kWidget.embed(targetId,settings);}else{setTimeout(function(){_this.outputCordovaPlayer(targetId,settings);},500)}},addThumbCssRules:function(){if(this.alreadyAddedThumbRules){return;}this.alreadyAddedThumbRules=true;var style=document.createElement('STYLE');style.type='text/css';var imagePath=this.getPath()+'/modules/MwEmbedSupport/skins/common/images/';var cssText='.kWidgetCentered {max-height: 100%; '+'max-width: 100%; '+'position: absolute; '+'top: 0; left: 0; right: 0; bottom: 0; '+'margin: auto; '+'} '+"\n"+'.kWidgetPlayBtn { '+'cursor:pointer;'+'height: 53px;'+'width: 70px;'+'top: 50%; left: 50%; margin-top: -26.5px; margin-left: -35px; '+'background: url(\''+imagePath+'player_big_play_button.png\');'+'z-index: 1;'+'} '+"\n"+
'.kWidgetPlayBtn:hover{ '+'background: url(\''+imagePath+'player_big_play_button_hover.png\');"'+'} ';if(this.isIE()){style.styleSheet.cssText=cssText;}else{style.innerHTML=cssText;}document.getElementsByTagName('HEAD')[0].appendChild(style);},getComputedSize:function(elm,dim){var a=navigator.userAgent;if((a.indexOf("msie")!=-1)&&(a.indexOf("opera")==-1)){return document.getElementById(theElt)['offset'+dim[0].toUpperCase()+dim.substr(1)];}else{return parseInt(document.defaultView.getComputedStyle(elm,"").getPropertyValue(dim));}},thumbEmbed:function(targetId,settings){var _this=this;if(typeof targetId==='object'){settings=targetId;if(!settings.targetId){this.log('Error: Missing target element Id');}targetId=settings.targetId;}else{settings.targetId=targetId;}if(!settings.flashvars){settings.flashvars={};}this.addThumbCssRules();var elm=document.getElementById(targetId);if(!elm){this.log("Error could not find target id, for thumbEmbed");}elm.innerHTML=''+
'<div style="position: relative; width: 100%; height: 100%;">'+'<img class="kWidgetCentered" src="'+this.getKalturaThumbUrl(settings)+'" >'+'<div class="kWidgetCentered kWidgetPlayBtn" '+'id="'+targetId+'_playBtn"'+'></div></div>';var playBtn=document.getElementById(targetId+'_playBtn');this.addEvent(playBtn,'click',function(){if(settings.readyCallback){var orgEmbedCallback=settings.readyCallback;}settings.readyCallback=function(playerId){var kdp=document.getElementById(playerId);kdp.kBind('mediaReady',function(){kdp.sendNotification('doPlay');});if(typeof orgEmbedCallback=='function'){orgEmbedCallback(playerId);}}
settings.captureClickEventForiOS=true;kWidget.embed(settings);});if(settings.thumbReadyCallback){settings.thumbReadyCallback(targetId);}},destroy:function(target){if(typeof target=='string'){target=document.getElementById(target);}if(!target){this.log("Error destory called without valid target");return;}var targetId=target.id;var targetCss=target.style.cssText;var targetClass=target.className;var destoryId=target.getAttribute('id');for(var id in this.readyWidgets){if(id==destoryId){delete(this.readyWidgets[id]);}}this.destroyedWidgets[destoryId]=true;var newNode=document.createElement("div");newNode.style.cssText=targetCss;newNode.id=targetId;newNode.className=targetClass;target.parentNode.replaceChild(newNode,target);},embedFromObjects:function(rewriteObjects){for(var i=0;i<rewriteObjects.length;i++){var settings=rewriteObjects[i].kEmbedSettings;settings.width=rewriteObjects[i].width;settings.height=rewriteObjects[i].height;this.embed(rewriteObjects[i].id,rewriteObjects[i].
kEmbedSettings);}},extendJsListener:function(player){var _this=this;player.kBind=function(eventName,callback){var callbackIndex=0;var globalCBName='';var _scope=this;if(typeof eventName=='string'){var eventData=eventName.split('.',2);var eventNamespace=(eventData[1])?eventData[1]:'kWidget';eventName=eventData[0];}if(typeof callback=='string'){globalCBName=callback;}else if(typeof callback=='function'){var generateGlobalCBName=function(){globalCBName='kWidget_'+eventName+'_cb'+callbackIndex;if(window[globalCBName]){callbackIndex++;generateGlobalCBName();}};generateGlobalCBName();window[globalCBName]=function(){var args=Array.prototype.slice.call(arguments,0);if(mw.getConfig('debug')){setTimeout(function(){callback.apply(_scope,args);},0);}else{callback.apply(_scope,args);}};}else{kWidget.log("Error: kWidget : bad callback type: "+callback);return;}if(!_this.listenerList[eventNamespace]){_this.listenerList[eventNamespace]={}}if(!_this.listenerList[eventNamespace][eventName]){_this.
listenerList[eventNamespace][eventName]=globalCBName;}player.addJsListener(eventName,globalCBName);return player;}
player.kUnbind=function(eventName,callbackName){if(typeof eventName=='string'){var eventData=eventName.split('.',2);var eventNamespace=eventData[1];eventName=eventData[0];if(eventNamespace){for(var listenerItem in _this.listenerList[eventNamespace]){if(!eventName){player.removeJsListener(listenerItem,_this.listenerList[eventNamespace][listenerItem]);}else{if(listenerItem==eventName){player.removeJsListener(listenerItem,_this.listenerList[eventNamespace][listenerItem]);delete _this.listenerList[eventNamespace][listenerItem];}}}_this.listenerList[eventNamespace]=null;}else{var isCallback=(typeof callbackName=='string');if(isCallback){player.removeJsListener(eventName,callbackName);}for(var eventNamespace in _this.listenerList){for(var listenerItem in _this.listenerList[eventNamespace]){if(listenerItem==eventName){if(!isCallback){player.removeJsListener(eventName,_this.listenerList[eventNamespace][listenerItem]);}delete _this.listenerList[eventNamespace][listenerItem];}}}}}return player;}
},outputFlashObject:function(targetId,settings){var elm=document.getElementById(targetId);if(!elm&&!elm.parentNode){kWidget.log("Error embed target missing");return;}if(!settings.src){var swfUrl=mw.getConfig('Kaltura.ServiceUrl')+'/index.php/kwidget'+'/wid/'+settings.wid+'/uiconf_id/'+settings.uiconf_id;if(settings.entry_id){swfUrl+='/entry_id/'+settings.entry_id;}if(settings.cache_st){swfUrl+='/cache_st/'+settings.cache_st;}settings['src']=swfUrl;}settings['id']=elm.id;elm.setAttribute('id',elm.id+'_container');var spanTarget=document.createElement("span");if(!settings.flashvars){settings.flashvars={};}if(settings.flashvars['jsCallbackReadyFunc']){kWidget.log("Error: Setting jsCallbackReadyFunc is not compatible with kWidget embed");}if(mw.getConfig('debug',true)){settings.flashvars['debug']=true;}var flashvarValue=this.flashVarsToString(settings.flashvars);var defaultParamSet={'allowFullScreen':'true','allowNetworking':'all','allowScriptAccess':'always','bgcolor':'#000000'};var output
='<object style="'+elm.style.cssText.replace(/^\s+|\s+$/g,'')+';display:block;" '+' class="'+elm.className+'" '+' id="'+targetId+'"'+' name="'+targetId+'"';output+=' data="'+settings['src']+'" type="application/x-shockwave-flash"';if(window.ActiveXObject){output+=' classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"';}output+='>';output+='<param name="movie" value="'+settings['src']+'" />';output+='<param name="flashvars" value="'+flashvarValue+'" />';if(settings['params']){for(var key in settings['params']){if(defaultParamSet[key]){defaultParamSet[key]=settings['params'][key];}else{output+='<param name="'+key+'" value="'+settings['params'][key]+'" />';}}}for(var key in defaultParamSet){if(defaultParamSet[key]){output+='<param name="'+key+'" value="'+defaultParamSet[key]+'" />';}}output+="</object>";var outputElemnt=function(){elm.parentNode.replaceChild(spanTarget,elm);spanTarget.innerHTML=output;}
if(window.console&&(window.console.firebug||window.console.exception)){console.log('Warning firebug + firefox and dynamic flash kdp embed causes lockups in firefox'+', ( delaying embed )');this.domReady(function(){setTimeout(function(){outputElemnt();},2000);});}else{if(navigator.userAgent.indexOf("MSIE")!=-1){setTimeout(function(){outputElemnt();},0);}else{outputElemnt();}}},outputHTML5Iframe:function(targetId,settings){var _this=this;var widgetElm=document.getElementById(targetId);var iframeId=widgetElm.id+'_ifp';var iframeCssText='border:0px; max-width: 100%; max-height: 100%; width:100%;height:100%;';var iframe=document.createElement("iframe");iframe.id=iframeId;iframe.scrolling="no";iframe.name=iframeId;iframe.className='mwEmbedKalturaIframe';iframe.setAttribute('role','applicaton');iframe.setAttribute('aria-labelledby','Player '+targetId);iframe.setAttribute('aria-describedby','The Kaltura Dynamic Video Player');iframe.allowfullscreen='yes';iframe.style.cssText=iframeCssText;var
iframeProxy=document.createElement("div");iframeProxy.id=widgetElm.id;iframeProxy.name=widgetElm.name;var moreClass=widgetElm.className?' '+widgetElm.className:'';iframeProxy.className='kWidgetIframeContainer'+moreClass;iframeProxy.style.cssText=widgetElm.style.cssText+';overflow: hidden';iframeProxy.appendChild(iframe);widgetElm.parentNode.replaceChild(iframeProxy,widgetElm);if(settings.captureClickEventForiOS&&(this.isIOS()||this.isAndroid())){this.captureClickWrapedIframeUpdate(targetId,settings,iframe);return;}var cbName=this.getIframeCbName(targetId);window[cbName]=function(iframeData){var newDoc=iframe.contentWindow.document;newDoc.open();newDoc.write(iframeData.content);newDoc.close();window[cbName]=null;};if(this.iframeAutoEmbedCache[targetId]){window[cbName](this.iframeAutoEmbedCache[targetId]);}else{_this.appendScriptUrl(this.getIframeUrl()+'?'+this.getIframeRequest(widgetElm,settings)+'&callback='+cbName);}},getIframeCbName:function(iframeId){var _this=this;var inx=0;var
baseCbName='mwi_'+iframeId.replace(/[^0-9a-zA-Z]/g,'');var cbName=baseCbName+inx;while(window[cbName]){_this.log("Warning: iframe callback already defined: "+cbName);inx++;cbName=baseCbName+inx;}return cbName;},captureClickWrapedIframeUpdate:function(targetId,settings,iframeElm){var _this=this;var widgetElm=document.getElementById(targetId);var newDoc=iframeElm.contentDocument;newDoc.open();var vidSrc=location.protocol+'//www.kaltura.com/p/243342/sp/24334200/playManifest/entryId/1_vp5cng42/flavorId/1_6wf0o9n7/format/url/protocol/http/a.mp4';newDoc.write('<html>'+'<head></head>'+'<body>'+'<div class="mwPlayerContainer"  style="width: 100%; height: 100%">'+'<div class="videoHolder">'+'<video class="persistentNativePlayer" '+'id="'+targetId+'" '+'kwidgetid="'+settings.wid+'" '+'kentryid="'+settings.entry_id+'" '+'kuiconfid="'+settings.uiconf_id+'" '+'src="'+vidSrc+'" '+'style="width:100%;height:100%" '+'>'+'</video>'+'</div>'+'</div>'+'<script>document.getElementById(\''+targetId+
'\').play();</script>'+'<div id="scriptsHolder"></div>'+'</body>'+'</html>');newDoc.close();var cbName=this.getIframeCbName(targetId);window[cbName]=function(iframeParts){var head=iframeElm.contentDocument.getElementsByTagName("head")[0]||iframeElm.documentElement;head.innerHTML=iframeParts.rawHead;iframeElm.contentDocument.getElementById("scriptsHolder").innerHTML=iframeParts.rawScripts;var nodeName=function(elem,name){return elem.nodeName&&elem.nodeName.toUpperCase()===name.toUpperCase();}
var evalScript=function(elem){var data=(elem.text||elem.textContent||elem.innerHTML||"");var head=iframeElm.contentDocument.getElementsByTagName("head")[0]||iframeElm.documentElement;var script=iframeElm.contentDocument.createElement("script");script.type="text/javascript";script.appendChild(document.createTextNode(data));head.insertBefore(script,head.firstChild);if(elem.parentNode){elem.parentNode.removeChild(elem);}}
var scripts=[];var headElm=head.childNodes;var ret=iframeElm.contentDocument.getElementById("scriptsHolder").childNodes;for(var i=0;ret[i];i++){if(scripts&&nodeName(ret[i],"script")&&(!ret[i].type||ret[i].type.toLowerCase()==="text/javascript")){scripts.push(ret[i].parentNode?ret[i].parentNode.removeChild(ret[i]):ret[i]);}}for(var script in scripts){evalScript(scripts[script]);}}
_this.appendScriptUrl(this.getIframeUrl()+'?'+this.getIframeRequest(widgetElm,settings)+'&callback='+cbName+'&parts=1');},getIframeRequest:function(elm,settings){var iframeRequest=this.embedSettingsToUrl(settings);iframeRequest+='&playerId='+elm.id
if(mw.getConfig('debug')){iframeRequest+='&debug=true';}if(mw.getConfig('Kaltura.KWidgetPsPath')){iframeRequest+='&pskwidgetpath='+mw.getConfig('Kaltura.KWidgetPsPath');}if(mw.getConfig('Kaltura.AllowIframeRemoteService')&&(mw.getConfig("Kaltura.ServiceUrl").indexOf('kaltura.com')===-1&&mw.getConfig("Kaltura.ServiceUrl").indexOf('kaltura.org')===-1)){iframeRequest+=kWidget.serviceConfigToUrl();}if(mw.getConfig('Kaltura.NoApiCache')){iframeRequest+='&nocache=true';}if(this.isUiConfIdHTML5(settings.uiconf_id)){iframeRequest+='&forceMobileHTML5=true';}iframeRequest+='&urid='+MWEMBED_VERSION;return iframeRequest;},getIframeUrl:function(){var path=this.getPath();if(mw.getConfig('Kaltura.ForceIframeEmbed')===true){path=path.replace('localhost','127.0.0.1');}return path+'mwEmbedFrame.php';},getPath:function(){return SCRIPT_LOADER_URL.replace('load.php','');},outputIframeWithoutApi:function(targetId,settings){var targetEl=document.getElementById(targetId);var iframeSrc=this.getIframeUrl()+'?'+
this.getIframeRequest(targetEl,settings)+'&iframeembed=true';var targetNode=document.getElementById(targetId);var parentNode=targetNode.parentNode;var iframe=document.createElement('iframe');iframe.src=iframeSrc;iframe.id=targetId;iframe.width=(settings.width)?settings.width.replace(/px/,''):'100%';iframe.height=(settings.height)?settings.height.replace(/px/,''):'100%';iframe.className=targetNode.className?' '+targetNode.className:'';iframe.style.cssText=targetNode.style.cssText;iframe.style.border='0px';iframe.style.overflow='hidden';parentNode.replaceChild(iframe,targetNode);},addReadyCallback:function(readyCallback){for(var widgetId in this.readyWidgets){if(document.getElementById(widgetId)){readyCallback(widgetId);}}this.readyCallbacks.push(readyCallback);this.proxyJsCallbackready();},rewriteObjectTags:function(){var playerList=this.getKalutaObjectList();var _this=this;if(this.isMissingUiConfJs(playerList)){this.loadUiConfJs(playerList,function(){_this.rewriteObjectTags();})
return;}var serviceUrl=mw.getConfig('Kaltura.ServiceUrl');if(!mw.getConfig('Kaltura.AllowIframeRemoteService')){if(!serviceUrl||serviceUrl.indexOf('kaltura.com')===-1){mw.setConfig('Kaltura.IframeRewrite',false);mw.setConfig('Kaltura.UseManifestUrls',false);}}if(this.isHTML5FallForward()&&playerList.length){this.embedFromObjects(playerList);return;}if(!this.supportsFlash()&&!this.supportsHTML5()&&!mw.getConfig('Kaltura.ForceFlashOnDesktop')){this.embedFromObjects(playerList);return;}this.playerModeChecksDone();},uiConfScriptLoadList:{},inLoaderUiConfJsDone:false,inLoaderUiConfJsCallbackSet:[],inLoaderUiConfJsCallback:function(){this.inLoaderUiConfJsDone=true;while(this.inLoaderUiConfJsCallbackSet.length){this.inLoaderUiConfJsCallbackSet.shift()();}},isMissingUiConfJs:function(playerList){if(this.inLoaderUiConfJsDone==false){return true;}if(playerList.length==0||!mw.getConfig('Kaltura.EnableEmbedUiConfJs')||mw.getConfig('EmbedPlayer.IsIframeServer')){return false;}for(var i=0;i<
playerList.length;i++){var settings=playerList[i].kEmbedSettings;if(!this.uiConfScriptLoadList[settings.uiconf_id]){return true;}}return false;},uiConfScriptLoadListCallbacks:{},loadUiConfJs:function(playerList,doneCallback){var _this=this;var callback=function(){if(_this.inLoaderUiConfJsDone){doneCallback()}else{_this.inLoaderUiConfJsCallbackSet.push(doneCallback);}return;}
var baseUiConfJsUrl=this.getPath()+'services.php?service=uiconfJs';if(mw.getConfig('Kaltura.KWidgetPsPath')){baseUiConfJsUrl+='&pskwidgetpath='+mw.getConfig('Kaltura.KWidgetPsPath');}if(!this.isMissingUiConfJs(playerList)){callback();return;}var foundPlayerMissingUiConfJs=false;for(var i=0;i<playerList.length;i++){(function(settings){if(_this.uiConfScriptLoadList[settings.uiconf_id]){return;}foundPlayerMissingUiConfJs=true;var cbName='kUiConfJs_'+i+'_'+settings.uiconf_id;if(!_this.uiConfScriptLoadListCallbacks[cbName]){_this.uiConfScriptLoadListCallbacks[cbName]=[callback];window[cbName]=function(){_this.uiConfScriptLoadList[settings.uiconf_id]=true;for(var inx in _this.uiConfScriptLoadListCallbacks[cbName]){if(typeof _this.uiConfScriptLoadListCallbacks[cbName][inx]=='function'){_this.uiConfScriptLoadListCallbacks[cbName][inx]();}};};_this.appendScriptUrl(baseUiConfJsUrl+_this.embedSettingsToUrl(settings)+'&callback='+cbName);}else{_this.uiConfScriptLoadListCallbacks[cbName].push(
callback);}})(playerList[i].kEmbedSettings);}if(!foundPlayerMissingUiConfJs){callback();return;}},log:function(msg){if(typeof mw!='undefined'&&!mw.getConfig('debug')){return;}if(typeof console!='undefined'&&console.log){console.log("kWidget: "+msg);}},supportsHTML5:function(){if(mw.getConfig('EmbedPlayer.DisableVideoTagSupport')){return false;}var dummyvid=document.createElement("video");if(dummyvid.canPlayType){return true;}return false;},supportsHTMLPlayerUI:function(){return this.supportsHTML5()||(this.isIE8()&&this.supportsFlash());},supportsFlash:function(){if(mw.getConfig('EmbedPlayer.DisableHTML5FlashFallback')){return false;}var version=this.getFlashVersion().split(',').shift();if(version<10){return false;}else{return true;}},getFlashVersion:function(){if(navigator.plugins&&navigator.plugins.length){try{if(navigator.mimeTypes["application/x-shockwave-flash"].enabledPlugin){return(navigator.plugins["Shockwave Flash 2.0"]||navigator.plugins["Shockwave Flash"]).description.replace
(/\D+/g,",").match(/^,?(.+),?$/)[1];}}catch(e){}}try{try{if(typeof ActiveXObject!='undefined'){var axo=new ActiveXObject('ShockwaveFlash.ShockwaveFlash.6');try{axo.AllowScriptAccess='always';}catch(e){return'6,0,0';}}}catch(e){}return new ActiveXObject('ShockwaveFlash.ShockwaveFlash').GetVariable('$version').replace(/\D+/g,',').match(/^,?(.+),?$/)[1];}catch(e){}return'0,0,0';},isIOS:function(){return((navigator.userAgent.indexOf('iPhone')!=-1)||(navigator.userAgent.indexOf('iPod')!=-1)||(navigator.userAgent.indexOf('iPad')!=-1));},isIE:function(){return/\bMSIE\b/.test(navigator.userAgent);},isIE8:function(){return(/msie 8/.test(navigator.userAgent.toLowerCase()));},isAndroid:function(){return(navigator.userAgent.indexOf('Android ')!=-1);},isWindowsDevice:function(){var appVer=navigator.appVersion;return((appVer.indexOf("Win")!=-1&&(navigator.appVersion.indexOf("Phone")!=-1||navigator.appVersion.indexOf("CE")!=-1)));},isMobileDevice:function(){return(this.isIOS()||this.isAndroid()||this
.isWindowsDevice()||mw.getConfig("EmbedPlayer.ForceNativeComponent"));},isUiConfIdHTML5:function(uiconf_id){var isHTML5=this.isHTML5FallForward();if(this.userAgentPlayerRules&&this.userAgentPlayerRules[uiconf_id]){var playerAction=this.checkUserAgentPlayerRules(this.userAgentPlayerRules[uiconf_id]);if(playerAction.mode=='leadWithHTML5'){isHTML5=this.supportsHTMLPlayerUI();}}return isHTML5;},isHTML5FallForward:function(){if(this.isIOS()||mw.getConfig('forceMobileHTML5')){return true;}if((mw.getConfig('KalturaSupport.LeadWithHTML5')||mw.getConfig('Kaltura.LeadWithHTML5'))&&this.supportsHTMLPlayerUI()){return true;}if(this.isAndroid()){if(mw.getConfig('EmbedPlayer.UseFlashOnAndroid')&&kWidget.supportsFlash()){return false;}else{return true;}}if(kWidget.supportsFlash()){return false;}if(mw.getConfig('Kaltura.ForceFlashOnIE10')){var ua=navigator.userAgent;var ie10Match=ua.match(/MSIE\s10/);if(ie10Match){return false;}}if(mw.getConfig('Kaltura.ForceFlashOnDesktop')){return false;}if(kWidget.
supportsHTML5()){return true;}if(mw.getConfig('Kaltura.IframeRewrite')){return true;}return false;},getKalturaThumbUrl:function(settings){var sizeParam='';if(settings.width!='100%'&&settings.width){sizeParam+='/width/'+parseInt(settings.width);}if(settings.height!='100%'&&settings.height){sizeParam+='/height/'+parseInt(settings.height);}if(!settings.height&&!settings.width){sizeParam+='/height/480';}var vidParams='';if(settings.vid_sec){vidParams+='/vid_sec/'+settings.vid_sec;}if(settings.vid_slices){vidParams+='/vid_slices/'+settings.vid_slices;}var flashVars={};if(settings.ks){flashVars['ks']=settings.ks;}if(settings.flashvars&&settings.flashvars.ks){flashVars['ks']=settings.flashvars.ks;}if(settings.flashvars&&settings.flashvars.referenceId){flashVars['referenceId']=settings.flashvars.referenceId;}if(settings.p&&!settings.partner_id){settings.partner_id=settings.p;}if(!settings.partner_id&&settings.wid){settings.partner_id=settings.wid.replace('_','');}var entryId=(settings.entry_id
)?'/entry_id/'+settings.entry_id:'';return this.getPath()+'modules/KalturaSupport/thumbnail.php'+'/p/'+settings.partner_id+'/uiconf_id/'+settings.uiconf_id+entryId+sizeParam+vidParams+'?'+this.flashVarsToUrl(flashVars);},getEmbedSettings:function(swfUrl,flashvars){var embedSettings={};if(typeof flashvars=='string'){flashvars=this.flashVars2Object(flashvars);}if(!flashvars){flashvars={};}if(!swfUrl){return{};}var trim=function(str){return str.replace(/^\s+|\s+$/g,"");}
embedSettings.flashvars=flashvars;var dataUrlParts=swfUrl.split('/');var prevUrlPart=null;while(dataUrlParts.length){var curUrlPart=dataUrlParts.pop();switch(curUrlPart){case'p':embedSettings.wid='_'+prevUrlPart;embedSettings.p=prevUrlPart;break;case'wid':embedSettings.wid=prevUrlPart;embedSettings.p=prevUrlPart.replace(/_/,'');break;case'entry_id':embedSettings.entry_id=prevUrlPart;break;case'uiconf_id':case'ui_conf_id':embedSettings.uiconf_id=prevUrlPart;break;case'cache_st':embedSettings.cache_st=prevUrlPart;break;}prevUrlPart=trim(curUrlPart);}for(var key in flashvars){var val=flashvars[key];key=key.toLowerCase();if(key=='entryid'){embedSettings.entry_id=val;}if(key=='uiconfid'){embedSettings.uiconf_id=val;}if(key=='widgetid'||key=='widget_id'){embedSettings.wid=val;}if(key=='partnerid'||key=='partner_id'){embedSettings.wid='_'+val;embedSettings.p=val;}if(key=='referenceid'){embedSettings.reference_id=val;}}if(!embedSettings.cache_st){embedSettings.cache_st=1;}return embedSettings;
},flashVars2Object:function(flashvarsString){var flashVarsSet=(flashvarsString)?flashvarsString.split('&'):[];var flashvars={};for(var i=0;i<flashVarsSet.length;i++){var currentVar=flashVarsSet[i].split('=');if(currentVar[0]&&currentVar[1]){flashvars[currentVar[0]]=currentVar[1];}}return flashvars;},flashVarsToString:function(flashVarsObject){var params='';for(var i in flashVarsObject){if(typeof flashVarsObject[i]=='object'){for(var j in flashVarsObject[i]){params+='&'+''+encodeURIComponent(i)+'.'+encodeURIComponent(j)+'='+encodeURIComponent(flashVarsObject[i][j]);}}else{params+='&'+''+encodeURIComponent(i)+'='+encodeURIComponent(flashVarsObject[i]);}}return params;},flashVarsToUrl:function(flashVarsObject){var params='';for(var i in flashVarsObject){var curVal=typeof flashVarsObject[i]=='object'?JSON.stringify(flashVarsObject[i]):flashVarsObject[i]
params+='&'+'flashvars['+encodeURIComponent(i)+']='+encodeURIComponent(curVal);}return params;},pageHasAudioOrVideoTags:function(){if(mw.getConfig('EmbedPlayer.RewriteSelector')===false||mw.getConfig('EmbedPlayer.RewriteSelector')==''){return false;}if(document.getElementsByTagName('video').length!=0||document.getElementsByTagName('audio').length!=0){return true;}return false;},getKalutaObjectList:function(){var _this=this;var kalturaPlayerList=[];var objectList=document.getElementsByTagName('object');if(!objectList.length&&document.getElementById('kaltura_player')){objectList=[document.getElementById('kaltura_player')];}var tryAddKalturaEmbed=function(url,flashvars){if(!url.match(/(kwidget|kdp)/ig)){return false;}var settings=_this.getEmbedSettings(url,flashvars);if(settings&&settings.uiconf_id&&settings.wid){objectList[i].kEmbedSettings=settings;kalturaPlayerList.push(objectList[i]);return true;}return false;};for(var i=0;i<objectList.length;i++){if(!objectList[i]){continue;}var
swfUrl='';var flashvars={};var paramTags=objectList[i].getElementsByTagName('param');for(var j=0;j<paramTags.length;j++){var pName=paramTags[j].getAttribute('name').toLowerCase();var pVal=paramTags[j].getAttribute('value');if(pName=='data'||pName=='src'||pName=='movie'){swfUrl=pVal;}if(pName=='flashvars'){flashvars=this.flashVars2Object(pVal);}}if(tryAddKalturaEmbed(swfUrl,flashvars)){continue;}if(objectList[i].getAttribute('data')){if(tryAddKalturaEmbed(objectList[i].getAttribute('data'),flashvars)){continue;}}}return kalturaPlayerList;},jQueryLoadCheck:function(callback){if(!window.jQuery||!mw.versionIsAtLeast("1.7.2",window.jQuery.fn.jquery)){if(window.jQuery){window.clientPagejQuery=window.jQuery.noConflict();window.$=window.clientPagejQuery;}this.appendScriptUrl(this.getPath()+'resources/jquery/jquery.min.js',function(){window.kalturaJQuery=window.jQuery.noConflict();if(window.clientPagejQuery){window.jQuery=window.$=window.clientPagejQuery;}callback(window.kalturaJQuery,window.
kalturaJQuery);});}else{window.kalturaJQuery=window.jQuery;callback(window.jQuery,window.jQuery);}},extend:function(obj){var argSet=Array.prototype.slice.call(arguments,1);for(var i=0;i<argSet.length;i++){var source=argSet[i];if(source){for(var prop in source){if(source[prop].constructor===Object){if(!obj[prop]||obj[prop].constructor===Object){obj[prop]=obj[prop]||{};this.extend(obj[prop],source[prop]);}else{obj[prop]=source[prop];}}else{obj[prop]=source[prop];}}}};return obj;},param:function(obj){var o='';var and='';for(var i in obj){o+=and+i+'='+encodeURIComponent(obj[i]);and='&';}return o;},appendScriptUrls:function(urls,callback){kWidget.log("appendScriptUrls");var _this=this;var loadCount=0;if(urls.length==0){if(callback)callback();return;}for(var i=0;i<urls.length;i++){(function(inx){_this.appendScriptUrl(urls[inx],function(){loadCount++;if(loadCount==urls.length){if(callback)callback();}})})(i);}},appendScriptUrl:function(url,callback,docContext){if(!docContext){docContext=
window.document;}var head=docContext.getElementsByTagName("head")[0]||docContext.documentElement;var script=docContext.createElement("script");script.src=url;var done=false;script.onload=script.onreadystatechange=function(){if(!done&&(!this.readyState||this.readyState==="loaded"||this.readyState==="complete")){done=true;if(typeof callback=='function'){callback();}script.onload=script.onreadystatechange=null;if(head&&script.parentNode){head.removeChild(script);}}};head.insertBefore(script,head.firstChild);},appendCssUrl:function(url,context){context=context||document;var head=context.getElementsByTagName("head")[0];var cssNode=context.createElement('link');cssNode.setAttribute("rel","stylesheet");cssNode.setAttribute("type","text/css");cssNode.setAttribute("href",url);head.appendChild(cssNode);},serviceConfigToUrl:function(){var serviceVars=['ServiceUrl','CdnUrl','ServiceBase','UseManifestUrls'];var urlParam='';for(var i=0;i<serviceVars.length;i++){if(mw.getConfig('Kaltura.'+serviceVars
[i])!==null){urlParam+='&'+serviceVars[i]+'='+encodeURIComponent(mw.getConfig('Kaltura.'+serviceVars[i]));}}return urlParam;},addEvent:function(obj,type,fn,useCapture){if(obj.attachEvent){obj['e'+type+fn]=fn;obj[type+fn]=function(){obj['e'+type+fn](window.event);}
obj.attachEvent('on'+type,obj[type+fn]);}else{obj.addEventListener(type,fn,!!useCapture);}},removeEvent:function(obj,type,fn){if(obj.detachEvent){obj.detachEvent('on'+type,obj[type+fn]);obj[type+fn]=null;}else{obj.removeEventListener(type,fn,false);}},isEmptyObject:function(obj){var name;for(name in obj){return false;}return true;},embedSettingsToUrl:function(settings){var url='';var kalturaAttributeList=['uiconf_id','entry_id','wid','p','cache_st'];for(var attrKey in settings){for(var i=0;i<kalturaAttributeList.length;i++){if(kalturaAttributeList[i]==attrKey){url+='&'+attrKey+'='+encodeURIComponent(settings[attrKey]);}}}url+=this.flashVarsToUrl(settings.flashvars);return url;},overrideFlashEmbedMethods:function(){var _this=this;var doEmbedSettingsWrite=function(settings,replaceTargetId,widthStr,heightStr){if(widthStr){settings.width=widthStr;}if(heightStr){settings.height=heightStr;}kWidget.embed(replaceTargetId,settings);};if(window['flashembed']&&!window['originalFlashembed']){
window['originalFlashembed']=window['flashembed'];window['flashembed']=function(targetId,attributes,flashvars){_this.domReady(function(){var kEmbedSettings=kWidget.getEmbedSettings(attributes.src,flashvars);if(kEmbedSettings.uiconf_id&&(kWidget.isHTML5FallForward()||!kWidget.supportsFlash())){document.getElementById(targetId).innerHTML='<div style="width:100%;height:100%" id="'+attributes.id+'"></div>';doEmbedSettingsWrite(kEmbedSettings,attributes.id,attributes.width,attributes.height);}else{return originalFlashembed(targetId,attributes,flashvars);}});};var flashembedStaticMethods=['asString','getHTML','getVersion','isSupported'];for(var i=0;i<flashembedStaticMethods.length;i++){window['flashembed'][flashembedStaticMethods[i]]=originalFlashembed}}if(window['SWFObject']&&!window['SWFObject'].prototype['originalWrite']){window['SWFObject'].prototype['originalWrite']=window['SWFObject'].prototype.write;window['SWFObject'].prototype['write']=function(targetId){var swfObj=this;_this.
domReady(function(){var kEmbedSettings=kWidget.getEmbedSettings(swfObj.attributes.swf,swfObj.params.flashVars);if(kEmbedSettings.uiconf_id&&(kWidget.isHTML5FallForward()||!kWidget.supportsFlash())){doEmbedSettingsWrite(kEmbedSettings,targetId,swfObj.attributes.width,swfObj.attributes.height);}else{swfObj.originalWrite(targetId);}});};}if(window['swfobject']&&!window['swfobject']['originalEmbedSWF']){window['swfobject']['originalEmbedSWF']=window['swfobject']['embedSWF'];window['swfobject']['embedSWF']=function(swfUrlStr,replaceElemIdStr,widthStr,heightStr,swfVersionStr,xiSwfUrlStr,flashvarsObj,parObj,attObj,callbackFn){_this.domReady(function(){var kEmbedSettings=kWidget.getEmbedSettings(swfUrlStr,flashvarsObj);if(kEmbedSettings.uiconf_id&&(kWidget.isHTML5FallForward()||!kWidget.supportsFlash())){doEmbedSettingsWrite(kEmbedSettings,replaceElemIdStr,widthStr,heightStr);}else{window['swfobject']['originalEmbedSWF'](swfUrlStr,replaceElemIdStr,widthStr,heightStr,swfVersionStr,xiSwfUrlStr,
flashvarsObj,parObj,attObj,callbackFn);}});};}}};window.KWidget=kWidget;window.kWidget=kWidget;})();if(!this.JSON){this.JSON={};}(function(){function f(n){return n<10?'0'+n:n;}if(typeof Date.prototype.toJSON!=='function'){Date.prototype.toJSON=function(key){return isFinite(this.valueOf())?this.getUTCFullYear()+'-'+f(this.getUTCMonth()+1)+'-'+f(this.getUTCDate())+'T'+f(this.getUTCHours())+':'+f(this.getUTCMinutes())+':'+f(this.getUTCSeconds())+'Z':null;};String.prototype.toJSON=Number.prototype.toJSON=Boolean.prototype.toJSON=function(key){return this.valueOf();};}var cx=/[\u0000\u00ad\u0600-\u0604\u070f\u17b4\u17b5\u200c-\u200f\u2028-\u202f\u2060-\u206f\ufeff\ufff0-\uffff]/g,escapable=/[\\\"\x00-\x1f\x7f-\x9f\u00ad\u0600-\u0604\u070f\u17b4\u17b5\u200c-\u200f\u2028-\u202f\u2060-\u206f\ufeff\ufff0-\uffff]/g,gap,indent,meta={'\b':'\\b','\t':'\\t','\n':'\\n','\f':'\\f','\r':'\\r','"':'\\"','\\':'\\\\'},rep;function quote(string){escapable.lastIndex=0;return escapable.test(string)?'"'+
string.replace(escapable,function(a){var c=meta[a];return typeof c==='string'?c:'\\u'+('0000'+a.charCodeAt(0).toString(16)).slice(-4);})+'"':'"'+string+'"';}function str(key,holder){var i,k,v,length,mind=gap,partial,value=holder[key];if(value&&typeof value==='object'&&typeof value.toJSON==='function'){value=value.toJSON(key);}if(typeof rep==='function'){value=rep.call(holder,key,value);}switch(typeof value){case'string':return quote(value);case'number':return isFinite(value)?String(value):'null';case'boolean':case'null':return String(value);case'object':if(!value){return'null';}gap+=indent;partial=[];if(Object.prototype.toString.apply(value)==='[object Array]'){length=value.length;for(i=0;i<length;i+=1){partial[i]=str(i,value)||'null';}v=partial.length===0?'[]':gap?'[\n'+gap+partial.join(',\n'+gap)+'\n'+mind+']':'['+partial.join(',')+']';gap=mind;return v;}if(rep&&typeof rep==='object'){length=rep.length;for(i=0;i<length;i+=1){k=rep[i];if(typeof k==='string'){v=str(k,value);if(v){
partial.push(quote(k)+(gap?': ':':')+v);}}}}else{for(k in value){if(Object.hasOwnProperty.call(value,k)){v=str(k,value);if(v){partial.push(quote(k)+(gap?': ':':')+v);}}}}v=partial.length===0?'{}':gap?'{\n'+gap+partial.join(',\n'+gap)+'\n'+mind+'}':'{'+partial.join(',')+'}';gap=mind;return v;}}if(typeof JSON.stringify!=='function'){JSON.stringify=function(value,replacer,space){var i;gap='';indent='';if(typeof space==='number'){for(i=0;i<space;i+=1){indent+=' ';}}else if(typeof space==='string'){indent=space;}rep=replacer;if(replacer&&typeof replacer!=='function'&&(typeof replacer!=='object'||typeof replacer.length!=='number')){throw new Error('JSON.stringify');}return str('',{'':value});};}if(typeof JSON.parse!=='function'){JSON.parse=function(text,reviver){var j;function walk(holder,key){var k,v,value=holder[key];if(value&&typeof value==='object'){for(k in value){if(Object.hasOwnProperty.call(value,k)){v=walk(value,k);if(v!==undefined){value[k]=v;}else{delete value[k];}}}}return reviver
.call(holder,key,value);}cx.lastIndex=0;if(cx.test(text)){text=text.replace(cx,function(a){return'\\u'+('0000'+a.charCodeAt(0).toString(16)).slice(-4);});}if(/^[\],:{}\s]*$/.test(text.replace(/\\(?:["\\\/bfnrt]|u[0-9a-fA-F]{4})/g,'@').replace(/"[^"\\\n\r]*"|true|false|null|-?\d+(?:\.\d*)?(?:[eE][+\-]?\d+)?/g,']').replace(/(?:^|:|,)(?:\s*\[)+/g,''))){j=eval('('+text+')');return typeof reviver==='function'?walk({'':j},''):j;}throw new SyntaxError('JSON.parse');};}}());(function(mw,kWidget){kWidget.deprecatedGlobals=function(){var globalFunctionMap={'kIsIOS':'isIOS','kSupportsHTML5':'supportsHTML5','kGetFlashVersion':'getFlashVersion','kSupportsFlash':'supportsFlash','kalturaIframeEmbed':'embed','kOutputFlashObject':'outputFlashObject','kIsHTML5FallForward':'isHTML5FallForward','kIframeWithoutApi':'outputIframeWithoutApi','kDirectDownloadFallback':'outputDirectDownload','kGetKalturaEmbedSettings':'getEmbedSetting','kGetKalturaPlayerList':'getKalutaObjectList','kCheckAddScript':
'rewriteObjectTags','kAddScript':'loadHTML5Lib','kPageHasAudioOrVideoTags':'pageHasAudioOrVideoTags','kLoadJsRequestSet':'loadRequestSet','kOverideJsFlashEmbed':'overrideFlashEmbedMethods','kDoIframeRewriteList':'embedFromObjects','kEmbedSettingsToUrl':'embedSettingsToUrl','kGetAdditionalTargetCss':'getAdditionalTargetCss','kAppendCssUrl':'appendCssUrl','kAppendScriptUrl':'appendScriptUrl','kFlashVars2Object':'flashVars2Object','kFlashVarsToUrl':'flashVarsToUrl','kFlashVarsToString':'flashVarsToString','kServiceConfigToUrl':'serviceConfigToUrl','kRunMwDomReady':'rewriteObjectTags','restoreKalturaKDPCallback':false}
for(var gName in globalFunctionMap){(function(gName){window[gName]=function(){if(globalFunctionMap[gName]===false){kWidget.log(gName+' is deprecated. This method no longer serves any purpose.');return;}kWidget.log(gName+' is deprecated. Please use kWidget.'+globalFunctionMap[gName]);var args=Array.prototype.slice.call(arguments,0);if(typeof kWidget[globalFunctionMap[gName]]!='function'){kWidget.log("Error kWidget missing method: "+globalFunctionMap[gName]);return;}return kWidget[globalFunctionMap[gName]].apply(kWidget,args);}})(gName);}}
kWidget.deprecatedGlobals();})(window.mw,window.kWidget);(function(kWidget){var DomReady=window.DomReady={};var userAgent=navigator.userAgent.toLowerCase();var browser={version:(userAgent.match(/.+(?:rv|it|ra|ie)[\/: ]([\d.]+)/)||[])[1],safari:/webkit/.test(userAgent),opera:/opera/.test(userAgent),msie:(/msie/.test(userAgent))&&(!/opera/.test(userAgent)),mozilla:(/mozilla/.test(userAgent))&&(!/(compatible|webkit)/.test(userAgent))};var readyBound=false;var isReady=false;var readyList=[];function domReady(){if(!isReady){isReady=true;if(readyList){for(var fn=0;fn<readyList.length;fn++){readyList[fn].call(window,[]);}readyList=[];}}};function addLoadEvent(func){var oldonload=window.onload;if(typeof window.onload!='function'){window.onload=func;}else{window.onload=function(){if(oldonload){oldonload();}func();}}};function bindReady(){if(readyBound){return;}readyBound=true;if(document.addEventListener&&!browser.opera){document.addEventListener("DOMContentLoaded",domReady,false);}if(browser.
msie&&window==top)(function(){if(isReady)return;try{document.documentElement.doScroll("left");}catch(error){setTimeout(arguments.callee,0);return;}domReady();})();if(browser.opera){document.addEventListener("DOMContentLoaded",function(){if(isReady)return;for(var i=0;i<document.styleSheets.length;i++)if(document.styleSheets[i].disabled){setTimeout(arguments.callee,0);return;}domReady();},false);}if(browser.safari){var numStyles;(function(){if(isReady)return;if(document.readyState!="loaded"&&document.readyState!="complete"){setTimeout(arguments.callee,0);return;}if(numStyles===undefined){var links=document.getElementsByTagName("link");for(var i=0;i<links.length;i++){if(links[i].getAttribute('rel')=='stylesheet'){numStyles++;}}var styles=document.getElementsByTagName("style");numStyles+=styles.length;}if(document.styleSheets.length!=numStyles){setTimeout(arguments.callee,0);return;}domReady();})();}addLoadEvent(domReady);};DomReady.ready=function(fn,args){bindReady();if(isReady||
/loaded|complete/.test(document.readyState)){fn.call(window,[]);}else{readyList.push(function(){return fn.call(window,[]);});}};bindReady();kWidget.domReady=DomReady.ready;})(window.kWidget);var logIfInIframe=(typeof preMwEmbedConfig!='undefined'&&preMwEmbedConfig['EmbedPlayer.IsIframeServer'])?' ( iframe ) ':'';kWidget.log('Kaltura HTML5 Version: '+MWEMBED_VERSION+logIfInIframe);if(!window['mw']){window['mw']={};}if(!window['preMwEmbedReady']){window.preMwEmbedReady=[];}if(!window['preMwEmbedConfig']){window.preMwEmbedConfig={};}if(!mw.setConfig){mw.setConfig=function(set,value){var valueQueue={};if(typeof value!='undefined'){window.preMwEmbedConfig[set]=value;}else if(typeof set=='object'){for(var i in set){window.preMwEmbedConfig[i]=set[i];}}};}if(!mw.getConfig){mw.getConfig=function(key,defaultValue){if(typeof window.preMwEmbedConfig[key]=='undefined'){if(typeof defaultValue!='undefined'){return defaultValue;}return null;}else{return window.preMwEmbedConfig[key];}};}if(!mw.
versionIsAtLeast){mw.versionIsAtLeast=function(minVersion,clientVersion){if(typeof clientVersion=='undefined'){clientVersion=window.MWEMBED_VERSION;}minVersion=minVersion.replace(/[^\d.-]/g,'');clientVersion=clientVersion.replace(/[^\d.-]/g,'');var minVersionParts=minVersion.split('.');var clientVersionParts=clientVersion.split('.');for(var i=0;i<minVersionParts.length;i++){if(parseInt(clientVersionParts[i])>parseInt(minVersionParts[i])){return true;}if(parseInt(clientVersionParts[i])<parseInt(minVersionParts[i])){return false;}}return true;};}if(!mw.ready){mw.ready=function(fn){window.preMwEmbedReady.push(fn);};}mw.getKalturaThumbUrl=function(entry){kWidget.log('mw.getKalturaThumbUrl is deprecated. Please use kWidget.getKalturaThumbUrl');return kWidget.getKalturaThumbUrl(entry);};kWidget.getUserAgentPlayerRulesMsg=function(ruleSet){return kWidget.checkUserAgentPlayerRules(ruleSet,true);};kWidget.checkUserAgentPlayerRules=function(ruleSet,getMsg){var ua=(mw.getConfig(
'KalturaSupport_ForceUserAgent'))?mw.getConfig('KalturaSupport_ForceUserAgent'):navigator.userAgent;var flashMode={mode:'flash',val:true};if(!ruleSet.rules){return flashMode;}var getAction=function(inx){if(ruleSet.actions&&ruleSet.actions[inx]){return ruleSet.actions[inx];}return flashMode;};for(var i in ruleSet.rules){var rule=ruleSet.rules[i];if(rule.match){if(ua.indexOf(rule.match)!==-1)return getAction(i);}else if(rule.regMatch){var regString=rule.regMatch.replace(/(^\/)|(\/$)/g,'');if(new RegExp(regString).test(ua)){return getAction(i);}}}return flashMode;};(function(kWidget){kWidget.seconds2npt=function(sec,show_ms){if(isNaN(sec)){kWidget.log("Warning: mediawiki.UtilitiesTime, trying to get npt time on NaN:"+sec);return'0:00:00';}var tm=kWidget.seconds2Measurements(sec);if(show_ms){tm.seconds=Math.round(tm.seconds*1000)/1000;}else{tm.seconds=Math.round(tm.seconds);}if(tm.seconds<10){tm.seconds='0'+tm.seconds;}if(tm.hours==0){hoursStr='';}else{if(tm.minutes<10)tm.minutes='0'+tm.
minutes;hoursStr=tm.hours+":";}return hoursStr+tm.minutes+":"+tm.seconds;};kWidget.npt2seconds=function(nptString){if(!nptString){return 0;}nptString=nptString.replace(/npt:|s/g,'');var hour=0;var min=0;var sec=0;var times=nptString.split(':');if(times.length==3){sec=times[2];min=times[1];hour=times[0];}else if(times.length==2){sec=times[1];min=times[0];}else{sec=times[0];}sec=sec.replace(/,\s?/,'.');return parseInt(hour*3600)+parseInt(min*60)+parseFloat(sec);};kWidget.seconds2Measurements=function(sec){var tm={};tm.days=Math.floor(sec/(3600*24));tm.hours=Math.floor(Math.round(sec)/3600);tm.minutes=Math.floor((Math.round(sec)/60)%60);tm.seconds=Math.round(sec)%60;return tm;};kWidget.getSliceCount=function(duration){if(duration<60){return Math.round(duration)+1;}if(duration<120){return Math.round(duration/1.5)+1;}if(duration<240){return Math.round(duration/2)+1;}return 200;};kWidget.getThumbSpriteOffset=function(thumbWidth,time,duration,forceSliceCount){var sliceIndex=kWidget.
getSliceIndexForTime(time,duration,forceSliceCount);return-(sliceIndex*thumbWidth)+'px 0px';};kWidget.getSliceIndexForTime=function(time,duration,forceSliceCount){var sliceCount=forceSliceCount||this.getSliceCount(duration);var perc=time/duration;var sliceIndex=Math.ceil(sliceCount*perc);return sliceIndex;};})(window.kWidget);(function(kWidget){"use strict"
if(!kWidget){kWidget=window.kWidget={};}kWidget.api=function(options){return this.init(options);};kWidget.api.prototype={ks:null,type:'auto',baseParam:{'apiVersion':'3.1','expiry':'86400','clientTag':'kwidget:v'+window['MWEMBED_VERSION'],'format':9,'ignoreNull':1},init:function(options){for(var i in options){this[i]=options[i];}if(!this.serviceUrl){this.serviceUrl=mw.getConfig('Kaltura.ServiceUrl');}if(!this.serviceBase){this.serviceBase=mw.getConfig('Kaltura.ServiceBase');}if(!this.statsServiceUrl){this.statsServiceUrl=mw.getConfig('Kaltura.StatsServiceUrl');}if(typeof this.disableCache=='undefined'){this.disableCache=mw.getConfig('Kaltura.NoApiCache');}},setKs:function(ks){this.ks=ks;},getKs:function(){return this.ks;},doRequest:function(requestObject,callback){var _this=this;var param={};if(this.disableCache===true){param['nocache']='true';}for(var i in this.baseParam){if(typeof param[i]=='undefined'){param[i]=this.baseParam[i];}};if(requestObject['service']!='user'){kWidget.extend(
param,this.handleKsServiceRequest(requestObject));}else{kWidget.extend(param,requestObject);}param['kalsig']=this.hashCode(kWidget.param(param));var serviceType=param['service'];delete param['service'];var handleDataResult=function(data){if(data.length==2&&param['1:service']=='session'){data=data[1];}if(callback){callback(data);callback=null;}}
try{param['format']=1;this.xhrRequest(_this.getApiUrl(serviceType),param,function(data){handleDataResult(data);});}catch(e){param['format']=9;var requestURL=_this.getApiUrl(serviceType)+'&'+kWidget.param(param);var globalCBName='kapi_'+Math.abs(_this.hashCode(kWidget.param(param)));if(window[globalCBName]){this.callbackIndex++;globalCBName=globalCBName+this.callbackIndex;}window[globalCBName]=function(data){handleDataResult(data);window[globalCBName]=undefined;try{delete window[globalCBName];}catch(e){}}
requestURL+='&callback='+globalCBName;kWidget.appendScriptUrl(requestURL);}},xhrRequest:function(url,param,callback){var requestMethod=this.type=="auto"?((kWidget.param(param).length>2000)?'xhrPost':'xhrGet'):((this.type=="GET")?'xhrGet':'xhrPost');this[requestMethod](url,param,callback);},xhrGet:function(url,param,callback){var xmlhttp=new XMLHttpRequest();xmlhttp.onreadystatechange=function(){if(xmlhttp.readyState==4&&xmlhttp.status==200){callback(JSON.parse(xmlhttp.responseText));}}
xmlhttp.open("GET",url+'&'+kWidget.param(param),true);xmlhttp.send();},xhrPost:function(url,param,callback){var xmlhttp=new XMLHttpRequest();xmlhttp.onreadystatechange=function(){if(xmlhttp.readyState==4&&xmlhttp.status==200){callback(JSON.parse(xmlhttp.responseText));}}
xmlhttp.open("POST",url,true);xmlhttp.setRequestHeader("Content-type","application/x-www-form-urlencoded");xmlhttp.send(kWidget.param(param));},handleKsServiceRequest:function(requestObject){var param={};if(requestObject['ks']){this.ks=requestObject['ks'];}if(!requestObject.length&&!this.getKs()){requestObject=[requestObject];}if(requestObject.length){param['service']='multirequest';param['action']='null';var mulitRequestIndex=1;if(!this.getKs()){param[mulitRequestIndex+':service']='session';param[mulitRequestIndex+':action']='startWidgetSession';param[mulitRequestIndex+':widgetId']=this.wid;mulitRequestIndex=2;}for(var i=0;i<requestObject.length;i++){var requestInx=mulitRequestIndex+i;param[requestInx+':ks']=(this.getKs())?this.getKs():'{1:result:ks}';for(var paramKey in requestObject[i]){if(typeof requestObject[i][paramKey]=='object'){for(var subParamKey in requestObject[i][paramKey]){param[requestInx+':'+paramKey+':'+subParamKey]=requestObject[i][paramKey][subParamKey];}}else{param[
requestInx+':'+paramKey]=requestObject[i][paramKey];}}}}else{param=requestObject;param['ks']=this.getKs();}return param;},getApiUrl:function(serviceType){var serviceUrl=this.serviceUrl;if(serviceType&&serviceType=='stats'&&this.statsServiceUrl){serviceUrl=this.statsServiceUrl}return serviceUrl+this.serviceBase+serviceType;},hashCode:function(str){var hash=0;if(str.length==0)return hash;for(var i=0;i<str.length;i++){var currentChar=str.charCodeAt(i);hash=((hash<<5)-hash)+currentChar;hash=hash&hash;}return hash;}}})(window.kWidget);mw.setConfig('debug', false );
mw.setConfig('Mw.XmlProxyUrl', 'http://cdnapi.kaltura.com/html5/html5lib/v2.0.0/simplePhpXMLProxy.php' );
mw.setConfig('Kaltura.UseManifestUrls', true );
mw.setConfig('Kaltura.Protocol', 'http' );
mw.setConfig('Kaltura.ServiceUrl', 'http://cdnapi.kaltura.com' );
mw.setConfig('Kaltura.ServiceBase', '/api_v3/index.php?service=' );
mw.setConfig('Kaltura.CdnUrl', 'http://cdnbakmi.kaltura.com' );
mw.setConfig('Kaltura.StatsServiceUrl', 'http://stats.kaltura.com' );
mw.setConfig('Kaltura.IframeRewrite', true );
mw.setConfig('EmbedPlayer.EnableIpadHTMLControls', true );
mw.setConfig('EmbedPlayer.UseFlashOnAndroid', true );
mw.setConfig('Kaltura.LoadScriptForVideoTags', true );
mw.setConfig('Kaltura.AllowIframeRemoteService', true );
mw.setConfig('Kaltura.UseAppleAdaptive', true );
mw.setConfig('Kaltura.EnableEmbedUiConfJs', false );
mw.setConfig('Kaltura.PageGoogleAalytics', false );
mw.setConfig('Kaltura.UserLanguage', [] );
kWidget.appendScriptUrls([],function(){window.kWidget.inLoaderUiConfJsCallback();})
kWidget.uiConfScriptLoadList['20958352']=1;
kWidget.setup();
kWidget.iframeAutoEmbedCache[ 'kaltura_player_1368363816' ] = {"content":"<!DOCTYPE html>\n<html>\n<head>\n\t<script type=\"text\/javascript\"> \/*@cc_on@if(@_jscript_version<9){'video audio source track'.replace(\/\\w+\/g,function(n){document.createElement(n)})}@end@*\/ <\/script>\n\t\t\t<meta http-equiv=\"Content-Type\" content=\"text\/html; charset=utf-8\" \/>\n\t<title>Kaltura Embed Player iFrame<\/title>\n\t<style type=\"text\/css\">\n\t\thtml,body,video {\n\t\t\twidth: 100%;\n\t\t\theight: 100%;\n\t\t\tpadding: 0;\n\t\t\tmargin: 0;\n\t\t}\n\t\tbody {\n\t\t\tfont: normal 13px helvetica, arial, sans-serif;\n\t\t\tbackground: #000;\n\t\t\tcolor: #fff;\n\t\t\toverflow: hidden;\n\t\t}\n\t\t\n\t\tdiv,video {\n\t\t\tmargin: 0;\n\t\t\tpadding: 0;\n\t\t}\n\t\t.mwPlayerContainer { width: 100%; height: 100%; }\n\t\t#error {\n\t\t\tposition: absolute;\n\t\t\ttop: 37%;\n\t\t\tleft: 10%;\n\t\t\tmargin: 0;\n\t\t\twidth: 80%;\n\t\t\tborder: 1px solid #eee;\n\t\t\t-webkit-border-radius: 4px;\n\t\t\t-moz-border-radius: 4px;\n\t\t\tborder-radius: 4px;\n\t\t\ttext-align: center;\n\t\t\tbackground: #fff;\n\t\t\tpadding-bottom: 10px;\n\t\t\tcolor: #000;\n\t\t}\n\t\t\n\t\t#error h2 {\n\t\t\tfont-size: 14px;\n\t\t}\n\t<\/style>\t<\/head>\n<body>\n\t\t<script type=\"text\/javascript\">\n\t\t\t\/\/ Add the library version:\n\t\t\twindow['MWEMBED_VERSION'] = '2.0.0';\n\t\t\t\/\/ In same page iframe mode the script loading happens inline and not all the settings get set in time\n\t\t\t\/\/ its critical that at least EmbedPlayer.IsIframeServer is set early on. \n\t\t\twindow.preMwEmbedConfig = {};\n\t\t\twindow.preMwEmbedConfig['EmbedPlayer.IsIframeServer'] = true;\n\t\t\t\/\/ in iframe context we explitly rewrite the embed player target once payload is ready:\n\t\t\twindow.preMwEmbedConfig['EmbedPlayer.RewriteSelector'] = null;\n\t\t\t\/\/ Check if we can refrence kWidget from the parent context ( else include mwEmbedLoader.php locally )\n\t\t\t\/\/ TODO this could be optimized. We only need a subset of ~kWidget~ included. \n\t\t\t\/\/ but remote embeding ( no parent kWidget ) is not a very common use case to optimize for at this point in \n\t\t\t\/\/ time.\n\t\t\ttry {\n\t\t\t\tif( window['parent'] && window['parent']['kWidget'] ){\n\t\t\t\t\t\/\/ import kWidget and mw into the current context:\n\t\t\t\t\twindow['kWidget'] = window['parent']['kWidget']; \n\t\t\t\t} else {\n\t\t\t\t\t\/\/ include kWiget script if not already avaliable\n\t\t\t\t\tdocument.write('<script src=\"http:\/\/cdnapi.kaltura.com\/html5\/html5lib\/v2.0.0\/mwEmbedLoader.php?&wid=_1343731&uiconf_id=20958352&p=1343731&cache_st=1368363816&iframeServer=true\"><\/scr' + 'ipt>' );\n\t\t\t\t}\n\t\t\t} catch( e ) {\n\t\t\t\t\/\/ include kWiget script if not already avaliable\n\t\t\t\tdocument.write( '<script src=\"http:\/\/cdnapi.kaltura.com\/html5\/html5lib\/v2.0.0\/mwEmbedLoader.php?&wid=_1343731&uiconf_id=20958352&p=1343731&cache_st=1368363816&iframeServer=true\"><\/scr' + 'ipt>' );\n\t\t\t}\n\t\t<\/script>\n\t\t<!-- kaltura ui cong js logic should be loaded at the loader level-->\n\t\t<!-- Output any iframe based packaged data -->\n\t\t<script type=\"text\/javascript\">\n\t\t\t\/\/ Initialize the iframe with associated setup\n\t\t\twindow.kalturaIframePackageData = {\"playerConfig\":{\"uiConfId\":\"20958352\",\"widgetId\":\"_1343731\",\"entryId\":\"1_l4plwih3\",\"plugins\":{\"topBarContainer\":[],\"controlBarContainer\":[],\"scrubber\":[],\"largePlayBtn\":[],\"playHead\":[],\"playPauseBtn\":[],\"volumeControl\":[],\"durationLabel\":[],\"currentTimeLabel\":[],\"keyboardShortcuts\":[],\"fullScreenBtn\":[],\"strings\":{\"ENTRY_CONVERTING\":\"Entry is processing, please try again in a few minutes.\"},\"download\":{\"plugin\":true,\"width\":\"0%\",\"height\":\"0%\",\"includeInLayout\":false,\"loadingPolicy\":\"noWait\"},\"statistics\":{\"plugin\":true,\"width\":\"0%\",\"height\":\"0%\",\"includeInLayout\":false},\"kalturaShare\":{\"plugin\":true,\"uiconfId\":8700151,\"width\":\"100%\",\"height\":\"100%\",\"via\":\"\",\"pubid\":\"\"}},\"vars\":{\"imageDefaultDuration\":2,\"autoPlay\":false,\"autoMute\":false,\"ks\":\"djJ8MTM0MzczMXwccAGWboPOJgg7_hHf0gJ8nok_klWUj-vOIv-Z5mBqWkpVauomFNpfcUKmByeoxVGqRcgeuBKgyVwfhDKKiWMpEXhOW1yljuCnMiyWxwZXRw==\"},\"pluginIds\":[\"mediaProxy\",\"strings\",\"kalturaMix\",\"download\",\"statistics\",\"kalturaShare\"],\"layout\":{\"skin\":\"kdark\"}},\"enviornmentConfig\":{\"imageDefaultDuration\":2,\"autoPlay\":false,\"autoMute\":false,\"ks\":\"djJ8MTM0MzczMXwccAGWboPOJgg7_hHf0gJ8nok_klWUj-vOIv-Z5mBqWkpVauomFNpfcUKmByeoxVGqRcgeuBKgyVwfhDKKiWMpEXhOW1yljuCnMiyWxwZXRw==\"},\"playerId\":\"kaltura_player_1368363816\",\"skinResources\":[{\"type\":\"css\",\"src\":\"http:\\\/\\\/cdnapi.kaltura.com\\\/html5\\\/html5lib\\\/v2.0.0\\\/skins\\\/kdark\\\/css\\\/layout.css\"},{\"type\":\"css\",\"src\":\"http:\\\/\\\/cdnapi.kaltura.com\\\/html5\\\/html5lib\\\/v2.0.0\\\/skins\\\/kdark\\\/css\\\/icons.css\"}],\"entryResult\":{\"meta\":{\"mediaType\":1,\"conversionQuality\":4061471,\"sourceType\":\"6\",\"searchProviderType\":null,\"searchProviderId\":null,\"creditUserName\":null,\"creditUrl\":null,\"mediaDate\":null,\"dataUrl\":\"http:\\\/\\\/cdnapi.kaltura.com\\\/p\\\/1343731\\\/sp\\\/134373100\\\/playManifest\\\/entryId\\\/1_l4plwih3\\\/format\\\/url\\\/protocol\\\/http\",\"flavorParamsIds\":\"0,301991,487041,487061\",\"plays\":35,\"views\":177,\"width\":320,\"height\":240,\"duration\":3906,\"msDuration\":3906040,\"durationType\":null,\"id\":\"1_l4plwih3\",\"name\":\"From dictionary user to amateur lexicographer: Possibilities of on-line searches\",\"description\":\"From online dictionaries to Wikipedia: the World Wide Web presents a domain where words are invented, refined and defined on an immediate and ongoing basis. What is the future of printed dictionaries and professional lexicographers when the world is increasingly turning to online dictionaries created and maintained by the users themselves?\\nThis lecture is a part of the\\u0152\\u00e6Look it up yourself!\\u0152\\u00e6A History of the Dictionary\\u0152\\u00e6series, which celebrates the tercentenary of the birth of Samuel Johnson.\\nOther lectures in this 'Monday's at One' series include:\\n\\u0152\\u00e6\\u0152\\u00e6\\u0152\\u00e6Dr Johnson, I presume?\\n\\u0152\\u00e6\\u0152\\u00e6\\u0152\\u00e6The Meaning of Everything: The history of the Oxford English Dictionary\\n\\u0152\\u00e6\\u0152\\u00e6\\u0152\\u00e6After 150 Years: The topicality of Roget's Thesaurus\",\"partnerId\":1343731,\"userId\":\"gresham.kaltura@gmail.com\",\"tags\":null,\"adminTags\":null,\"categories\":\"January,2009,Unusual>Lexicography,Unusual\",\"categoriesIds\":\"11165441,11748021,13503252,13502772\",\"status\":2,\"moderationStatus\":6,\"moderationCount\":0,\"type\":1,\"createdAt\":1366835541,\"updatedAt\":1376407272,\"rank\":0,\"totalRank\":0,\"votes\":0,\"groupId\":null,\"partnerData\":\"2374\",\"downloadUrl\":\"http:\\\/\\\/cdnbakmi.kaltura.com\\\/p\\\/1343731\\\/sp\\\/134373100\\\/raw\\\/entry_id\\\/1_l4plwih3\\\/version\\\/0\",\"searchText\":\"_PAR_ONLY_ _1343731_ _MEDIA_TYPE_1|  From dictionary user to amateur lexicographer: Possibilities of on-line searches From online dictionaries to Wikipedia: the World Wide Web presents a domain where words are invented, refined and defined on an immediate and ongoing basis. What is the future of printed dictionaries and professional lexicographers when the world is increasingly turning to online dictionaries created and maintained by the users themselves?This lecture is a part of the\\u0152\\u00e6Look it up yourself!\\u0152\\u00e6A History of the Dictionary\\u0152\\u00e6series, which celebrates the tercentenary of the birth of Samuel Johnson.Other lectures in this Mondays at One series include:\\u0152\\u00e6\\u0152\\u00e6\\u0152\\u00e6Dr Johnson, I presume?\\u0152\\u00e6\\u0152\\u00e6\\u0152\\u00e6The Meaning of Everything: The history of the Oxford English Dictionary\\u0152\\u00e6\\u0152\\u00e6\\u0152\\u00e6After 150 Years: The topicality of Rogets Thesaurus \",\"licenseType\":-1,\"version\":0,\"thumbnailUrl\":\"http:\\\/\\\/cdnbakmi.kaltura.com\\\/p\\\/1343731\\\/sp\\\/134373100\\\/thumbnail\\\/entry_id\\\/1_l4plwih3\\\/version\\\/100000\",\"accessControlId\":1255101,\"startDate\":null,\"endDate\":null,\"referenceId\":null,\"replacingEntryId\":null,\"replacedEntryId\":null,\"replacementStatus\":0,\"partnerSortValue\":0,\"conversionProfileId\":4061471,\"rootEntryId\":\"1_l4plwih3\",\"operationAttributes\":[],\"lastPlayedAt\":1410162302,\"creatorId\":\"gresham.kaltura@gmail.com\",\"redirectEntryId\":null,\"entitledUsersEdit\":\"\",\"entitledUsersPublish\":\"\"},\"contextData\":{\"isSiteRestricted\":false,\"isCountryRestricted\":false,\"isSessionRestricted\":false,\"isIpAddressRestricted\":false,\"isUserAgentRestricted\":false,\"previewLength\":-1,\"isScheduledNow\":true,\"isAdmin\":false,\"streamerType\":\"hdnetwork\",\"mediaProtocol\":\"http\",\"storageProfilesXML\":null,\"accessControlMessages\":[],\"accessControlActions\":[],\"flavorAssets\":[{\"flavorParamsId\":301991,\"width\":320,\"height\":240,\"bitrate\":323,\"frameRate\":25,\"isOriginal\":false,\"isWeb\":false,\"containerFormat\":\"3gp4\",\"videoCodecId\":\"mpeg-4 visual\",\"status\":2,\"id\":\"1_ouhxwkry\",\"entryId\":\"1_l4plwih3\",\"partnerId\":1343731,\"version\":\"1\",\"size\":153600,\"tags\":\"mobile,mpeg4\",\"fileExt\":\"3gp\",\"createdAt\":1366868946,\"updatedAt\":1366871221,\"deletedAt\":null,\"description\":\"\",\"partnerData\":null,\"partnerDescription\":null,\"actualSourceAssetParamsIds\":null},{\"flavorParamsId\":0,\"width\":320,\"height\":240,\"bitrate\":420,\"frameRate\":25,\"isOriginal\":true,\"isWeb\":true,\"containerFormat\":\"mp42\",\"videoCodecId\":\"avc1\",\"status\":2,\"id\":\"1_iywbr2ce\",\"entryId\":\"1_l4plwih3\",\"partnerId\":1343731,\"version\":\"1\",\"size\":199680,\"tags\":\"web\",\"fileExt\":\"MP4\",\"createdAt\":1366868938,\"updatedAt\":1366868946,\"deletedAt\":null,\"description\":\"\",\"partnerData\":null,\"partnerDescription\":null,\"actualSourceAssetParamsIds\":null},{\"flavorParamsId\":487041,\"width\":320,\"height\":240,\"bitrate\":464,\"frameRate\":25,\"isOriginal\":false,\"isWeb\":true,\"containerFormat\":\"isom\",\"videoCodecId\":\"avc1\",\"status\":2,\"id\":\"1_dnlxheif\",\"entryId\":\"1_l4plwih3\",\"partnerId\":1343731,\"version\":\"1\",\"size\":221184,\"tags\":\"mobile,web,mbr,iphone,iphonenew\",\"fileExt\":\"mp4\",\"createdAt\":1366868946,\"updatedAt\":1366869805,\"deletedAt\":null,\"description\":\"audio warnings: 2106,#Redundant bitrate.\\n\",\"partnerData\":null,\"partnerDescription\":null,\"actualSourceAssetParamsIds\":null},{\"flavorParamsId\":487061,\"width\":320,\"height\":240,\"bitrate\":475,\"frameRate\":25,\"isOriginal\":false,\"isWeb\":true,\"containerFormat\":\"isom\",\"videoCodecId\":\"avc1\",\"status\":2,\"id\":\"1_x2ph6n1f\",\"entryId\":\"1_l4plwih3\",\"partnerId\":1343731,\"version\":\"1\",\"size\":226304,\"tags\":\"mobile,web,mbr,ipad,ipadnew\",\"fileExt\":\"mp4\",\"createdAt\":1366868946,\"updatedAt\":1366870059,\"deletedAt\":null,\"description\":\"video warnings: 2107,403,900#The target flavor bitrate (403) does not comply with the requested bitrate (900).; 2106,#Redundant bitrate.\\naudio warnings: 2106,#Redundant bitrate.\\n\",\"partnerData\":null,\"partnerDescription\":null,\"actualSourceAssetParamsIds\":null}],\"messages\":[],\"actions\":[]},\"entryMeta\":{\"Date\":\"23\\\/03\\\/2009\",\"Speaker\":\"Costas Gabrielatos\",\"Link\":\"http:\\\/\\\/www.gresham.ac.uk\\\/lectures-and-events\\\/from-dictionary-user-to-amateur-lexicographer-possibilities-of-on-line-searches\",\"Nodeid\":\"2374\"},\"entryCuePoints\":{\"objects\":[],\"totalCount\":0}}};\n\n\t\t\tvar isIE8 = \/msie 8\/.test(navigator.userAgent.toLowerCase());\n\t\t<\/script>\n\t\t<script type=\"text\/javascript\">\n\t\t\t<!-- Include the mwEmbedStartup script inline will initialize the resource loader -->\n\t\t\tvar isCompatible=function(){if(navigator.appVersion.indexOf('MSIE')!==-1&&parseFloat(navigator.appVersion.split('MSIE')[1])<6){return false;}return true;};var writeScript=function(scriptUrl){var head=document.getElementsByTagName(\"head\")[0]||document.documentElement;var script=document.createElement(\"script\");script.type='text\/javascript';script.defer='defer';script.src=scriptUrl;head.appendChild(script);}\nvar startUp=function(){mw.config=new mw.Map(null);mw.loader.addSource({\"local\":{\"loadScript\":\"http:\/\/cdnapi.kaltura.com\/html5\/html5lib\/v2.0.0\/load.php\",\"apiScript\":\"\/api\"}});(function(name,version,dependencies,group,source){(function(mw,$){$(mw).bind('SetupInterface',function(event,callback){if($(mw.getConfig('EmbedPlayer.RewriteSelector')).length){$(mw.getConfig('EmbedPlayer.RewriteSelector')).embedPlayer(callback);}else{callback();}});$.fn.embedPlayer=function(readyCallback){var playerSelect;if(this.selector){playerSelect=this.selector;}else{playerSelect=this;}mw.log('jQuery.fn.embedPlayer :: '+playerSelect);var dependencySet=['mw.EmbedPlayer'];var rewriteElementCount=0;$(playerSelect).each(function(index,playerElement){if(!$(playerElement).attr('id')){$(playerElement).attr(\"id\",'mwe_vid'+(index));}var $spinerTarget=$(playerElement).parents('.mwPlayerContainer')\nif(!$spinerTarget.length){$spinerTarget=$(playerElement);}$spinerTarget.getAbsoluteOverlaySpinner().attr('id','loadingSpinner_'+$(playerElement).attr('id'))\n$(mw).trigger('EmbedPlayerUpdateDependencies',[playerElement,dependencySet]);});dependencySet=$.unique(dependencySet);mediaWiki.loader.using(dependencySet,function(){window.gM=mw.jqueryMsg.getMessageFunction({});mw.processEmbedPlayers(playerSelect,readyCallback);},function(e){throw new Error('Error loading EmbedPlayer dependency set: '+e.message);});};})(window.mediaWiki,window.jQuery);})(\"EmbedPlayer.loader\",\"20131110T093306Z\",[],null,\"local\");(function(name,version,dependencies,group,source){(function(mw,$){\"use strict\";$(mw).bind('MwEmbedSupportReady',function(){mw.mergeConfig('EmbedPlayer.Attributes',{'kentryid':null,'kwidgetid':null,'kuiconfid':null,'kPreSeekTime':null,'kalturaPlayerMetaData':null,'kalturaEntryMetaData':null,'kalturaPlaylistData':null,'playerConfig':null,'rawCuePoints':null});mw.mergeConfig('EmbedPlayer.SourceAttributes',['data-flavorid']);});mw.kalturaPluginWrapper=function(callback){$(mw).bind('ProcessEmbedPlayers',callback);};mw.addKalturaConfCheck=function(\ncallback){$(mw).bind('EmbedPlayerNewPlayer',function(event,embedPlayer){$(embedPlayer).bind('Kaltura_CheckConfig',function(event,embedPlayer,checkUiCallback){callback(embedPlayer,checkUiCallback);})});};mw.addKalturaPlugin=function(dependencies,pluginName,initCallback){if(!$.isArray(dependencies)){initCallback=pluginName;pluginName=dependencies;dependencies=null;}mw.addKalturaConfCheck(function(embedPlayer,callback){if(embedPlayer.isPluginEnabled(pluginName)){if($.isArray(dependencies)){mw.load(dependencies,function(){initCallback(embedPlayer,callback);})}else{initCallback(embedPlayer,callback);}}else{callback();}});}\n$(mw).bind('EmbedPlayerUpdateDependencies',function(event,playerElement,dependencySet){if(mw.getConfig('KalturaSupport.DepModuleList')){$.merge(dependencySet,mw.getConfig('KalturaSupport.DepModuleList'));}if($(playerElement).attr('kwidgetid')&&$(playerElement).attr('kuiconfid')){dependencySet.push('mw.KWidgetSupport');}});$(mw).bind('EmbedPlayerNewPlayer',function(event,embedPlayer){if(mw.getConfig('KalturaSupport.PlayerConfig')){embedPlayer.playerConfig=mw.getConfig('KalturaSupport.PlayerConfig');mw.setConfig('KalturaSupport.PlayerConfig',null);}$(mw).trigger('KalturaSupportNewPlayer',[embedPlayer]);});$(mw).bind('EmbedPlayerWaitForMetaCheck',function(even,playerElement){if($(playerElement).attr('kuiconfid')||$(playerElement).attr('kentryid')){playerElement.waitForMeta=false;}});})(window.mw,window.jQuery);})(\"KalturaSupport.loader\",\"20131110T093306Z\",[],null,\"local\");(function(name,version,dependencies,group,source){(function(mw,$){\"use strict\";mw.addKalturaPlugin([\"mw.Subply\"],\n'plymedia',function(embedPlayer,callback){mw.Subply.bindPlayer(embedPlayer);callback();});})(window.mw,jQuery);})(\"Plymedia.loader\",\"20131110T093306Z\",[],null,\"local\");(function(name,version,dependencies,group,source){(function(mw,$){\"use strict\";mw.addKalturaPlugin(['mw.AkamaiMediaAnalytics'],'akamaiMediaAnalytics',function(embedPlayer,callback){embedPlayer.akamaiMediaAnalytics=new mw.AkamaiMediaAnalytics(embedPlayer,callback);});})(window.mw,window.jQuery);})(\"AkamaiAnalytics.loader\",\"20131110T093306Z\",[],null,\"local\");(function(name,version,dependencies,group,source){(function(mw,$){\"use strict\";mw.addKalturaPlugin(['mw.FreeWheel'],'FreeWheel',function(embedPlayer,callback){embedPlayer.freeWheel=new mw.FreeWheelController(embedPlayer,callback);});})(window.mw,window.jQuery);})(\"FreeWheel.loader\",\"20131110T093306Z\",[],null,\"local\");(function(name,version,dependencies,group,source){(function(mw){\"use strict\";mw.addKalturaPlugin([\"mw.Comscore\"],'comscore',function(embedPlayer,callback)\n{new mw.Comscore(embedPlayer,callback);});})(window.mw);})(\"Comscore.loader\",\"20131110T093306Z\",[],null,\"local\");(function(name,version,dependencies,group,source){(function(mw,$){\"use strict\";mw.addKalturaPlugin(['mw.AttracTV'],'AttracTV',function(embedPlayer,callback){if(true){embedPlayer.AttracTV=new mw.AttracTV(embedPlayer,callback);return;}callback();});})(window.mw,jQuery);})(\"AttracTV.loader\",\"20131110T093306Z\",[],null,\"local\");(function(name,version,dependencies,group,source){(function(mw,$){\"use strict\";mw.addKalturaPlugin([\"mw.NielsenCombined\"],'nielsenCombined',function(embedPlayer,callback){new mw.NielsenCombined(embedPlayer,callback);});})(window.mw,window.jQuery);})(\"NielsenCombined.loader\",\"20131110T093306Z\",[],null,\"local\");(function(name,version,dependencies,group,source){(function(mw,$){\"use strict\";$.fn.playlist=function(options,callback){if(!this){mw.log(\"Error: Calling playlist with empty selector \"+this);return;}var _this=this;options['target']=this;mw.load([\n'mw.EmbedPlayer','mw.Playlist'],function(){_this.playlist=new mw.Playlist(options);_this.playlist.drawPlaylist(function(){if(callback){callback(_this.playlist);}});});};})(window.mw,jQuery);})(\"Playlist.loader\",\"20131110T093306Z\",[],null,\"local\");(function(name,version,dependencies,group,source){(function(mw){\"use strict\";mw.addKalturaConfCheck(function(embedPlayer,callback){if(mw.isIOS4()||mw.isIOS3()){callback();return;}if(mw.isAndroid40()&&!mw.isMobileChrome()){callback();return;}if(embedPlayer.isPluginEnabled('doubleClick')||embedPlayer.isPluginEnabled('doubleclick')){var pluginName=(embedPlayer.isPluginEnabled('doubleClick'))?'doubleClick':'doubleclick';mw.load('mw.DoubleClick',function(){new mw.DoubleClick(embedPlayer,callback,pluginName);});}else{callback();}});})(window.mw);})(\"DoubleClick.loader\",\"20131110T093306Z\",[],null,\"local\");(function(name,version,dependencies,group,source){(function(mw,$){\"use strict\";$(mw).bind('EmbedPlayerUpdateMediaPlayers',function(event,\nmediaPlayers){var youTubePlayer=new mw.MediaPlayer('youTube',['video\/youtube'],'YouTube');mediaPlayers.addPlayer(youTubePlayer);mediaPlayers.defaultPlayers['video\/youtube']=['YouTube'];});$(mw).bind('EmbedPlayerNewPlayer',function(event,embedPlayer){$(embedPlayer).bind('KalturaSupport_AddExternalMedia',function(event,entryMeta){switch(entryMeta.externalSourceType){case'YouTube':embedPlayer.mediaElement.tryAddSource($('<soruce>').attr({'src':'http:\/\/www.youtube.com\/watch?'+entryMeta.referenceId,'type':'video\/youtube'}))\nbreak;default:mw.log(\"Error: Unknown external type: \"+entryMeta.externalSourceType);break;}})});})(window.mw,window.jQuery);})(\"ExternalPlayers.loader\",\"20131110T093306Z\",[],null,\"local\");(function(name,version,dependencies,group,source){(function(mw,$){\"use strict\";mw.addKalturaPlugin(['mw.Tremor'],'tremor',function(embedPlayer,callback){embedPlayer.tremor=new mw.Tremor(embedPlayer,callback);});})(window.mw,window.jQuery);})(\"Tremor.loader\",\"20131110T093306Z\",[],null,\"local\");(function(name,version,dependencies,group,source){(function(mw,$){\"use strict\";mw.addKalturaPlugin([\"mw.NielsenVideoCensus\"],'nielsenVideoCensus',function(embedPlayer,callback){new mw.NielsenVideoCensus(embedPlayer,callback);});})(window.mw,window.jQuery);})(\"NielsenVideoCensus.loader\",\"20131110T093306Z\",[],null,\"local\");(function(name,version,dependencies,group,source){(function(mw,$){$(mw).bind('EmbedPlayerUpdateDependencies',function(event,playerElement,classRequest){if(mw.isTimedTextSupported(playerElement)){\nclassRequest=$.merge(classRequest,['mw.TimedText']);}});$(mw).bind('EmbedPlayerNewPlayer',function(event,embedPlayer){if(mw.isTimedTextSupported(embedPlayer)){embedPlayer.timedText=new mw.TimedText(embedPlayer);}});mw.isTimedTextSupported=function(embedPlayer){if(mw.getConfig('TimedText.ShowInterface')=='always'){return true;}if($(embedPlayer).find('track').length!=0){return true;}else{return false;}};})(window.mediaWiki,window.jQuery);})(\"TimedText.loader\",\"20131110T093306Z\",[],null,\"local\");(function(name,version,dependencies,group,source){(function(mw,$){\"use strict\";mw.addKalturaConfCheck(function(embedPlayer,callback){var pluginName=null;pluginName=embedPlayer.isPluginEnabled('omniture')?'omniture':null;if(!pluginName){pluginName=embedPlayer.isPluginEnabled('siteCatalyst15')?'siteCatalyst15':null;}if(pluginName){mw.load('mw.Omniture',function(){new mw.Omniture(embedPlayer,pluginName,callback);});return;}callback();});})(window.mw,window.jQuery);})(\"Omniture.loader\",\n\"20131110T093306Z\",[],null,\"local\");(function(name,version,dependencies,group,source){(function(mw,$){\"use strict\";mw.addKalturaPlugin(['mw.Peer5'],'peer5',function(embedPlayer,callback){var ua=navigator.userAgent;if(\/chrome\/i.test(ua)){var uaArray=ua.split(' ');if(parseInt(uaArray[uaArray.length-2].substr(7).split('.')[0])>25){embedPlayer.peer5=new mw.Peer5(embedPlayer,callback);return;}}callback();});})(window.mw,jQuery);})(\"Peer5.loader\",\"20131110T093306Z\",[],null,\"local\");(function(name,version,dependencies,group,source){(function(mw,$){\"use strict\";mw.addKalturaPlugin(['mw.GoogleAnalytics'],'googleAnalytics',function(embedPlayer,callback){embedPlayer.googleAnalytics=new mw.GoogleAnalytics(embedPlayer,callback);});})(window.mw,window.jQuery);})(\"GoogleAnalytics.loader\",\"20131110T093306Z\",[],null,\"local\");(function(name,version,dependencies,group,source){(function(mw,$){\"use strict\";$(mw).bind('EmbedPlayerNewPlayer',function(event,embedPlayer){embedPlayer.bindHelper(\n'KalturaSupport_DoneWithUiConf',function(){if(mw.addAdTimeline){mw.addAdTimeline(embedPlayer);}});});})(window.mw,jQuery);})(\"AdSupport.loader\",\"20131110T093306Z\",[],null,\"local\");mw.loader.register([[\"startup\",\"1413700955\",[],\"startup\"],[\"jquery\",\"1413700955\",[]],[\"MD5\",\"1413700955\",[]],[\"base64_encode\",\"1413700955\",[\"utf8_encode\"]],[\"utf8_encode\",\"1413700955\",[]],[\"base64_decode\",\"1413700955\",[]],[\"class\",\"1413700955\",[]],[\"matchMedia\",\"1413700955\",[]],[\"jquery.async\",\"1413700955\",[]],[\"jquery.autoEllipsis\",\"1413700955\",[\"jquery.highlightText\"]],[\"jquery.checkboxShiftClick\",\"1413700955\",[]],[\"jquery.client\",\"1413700955\",[]],[\"jquery.collapsibleTabs\",\"1413700955\",[]],[\"jquery.colorUtil\",\"1413700955\",[]],[\"jquery.cookie\",\"1413700955\",[]],[\"jquery.delayedBind\",\"1413700955\",[]],[\"jquery.expandableField\",\"1413700955\",[]],[\"jquery.highlightText\",\"1413700955\",[]],[\"jquery.hoverIntent\",\"1413700955\",[]],[\"jquery.placeholder\",\"1413700955\",[]],[\"jquery.localize\",\"1413700955\",[]],[\n\"jquery.makeCollapsible\",\"1413700955\",[]],[\"jquery.suggestions\",\"1413700955\",[]],[\"jquery.tabIndex\",\"1413700955\",[]],[\"jquery.textSelection\",\"1413700955\",[]],[\"jquery.tipsy\",\"1413700955\",[]],[\"jquery.naturalSize\",\"1413700955\",[]],[\"jquery.ui.core\",\"1413700955\",[\"jquery\"]],[\"jquery.ui.widget\",\"1413700955\",[]],[\"jquery.ui.mouse\",\"1413700955\",[\"jquery.ui.widget\"]],[\"jquery.ui.position\",\"1413700955\",[]],[\"jquery.ui.selectable\",\"1413700955\",[\"jquery.ui.core\",\"jquery.ui.widget\",\"jquery.ui.mouse\"]],[\"jquery.ui.sortable\",\"1413700955\",[\"jquery.ui.core\",\"jquery.ui.widget\",\"jquery.ui.mouse\"]],[\"jquery.ui.tooltip\",\"1413700955\",[\"jquery.ui.core\",\"jquery.ui.widget\",\"jquery.ui.position\"]],[\"jquery.ui.accordion\",\"1413700955\",[\"jquery.ui.core\",\"jquery.ui.widget\"]],[\"jquery.ui.autocomplete\",\"1413700955\",[\"jquery.ui.core\",\"jquery.ui.widget\",\"jquery.ui.position\"]],[\"jquery.ui.datepicker\",\"1413700955\",[\"jquery.ui.core\"]],[\"jquery.ui.progressbar\",\"1413700955\",[\"jquery.ui.core\",\"jquery.ui.widget\"]],[\n\"jquery.ui.slider\",\"1413700955\",[\"jquery.ui.core\",\"jquery.ui.widget\",\"jquery.ui.mouse\"]],[\"jquery.ui.tabs\",\"1413700955\",[\"jquery.ui.core\",\"jquery.ui.widget\"]],[\"jquery.effects.core\",\"1413700955\",[\"jquery\"]],[\"jquery.effects.blind\",\"1413700955\",[\"jquery.effects.core\"]],[\"jquery.effects.bounce\",\"1413700955\",[\"jquery.effects.core\"]],[\"jquery.effects.clip\",\"1413700955\",[\"jquery.effects.core\"]],[\"jquery.effects.drop\",\"1413700955\",[\"jquery.effects.core\"]],[\"jquery.effects.explode\",\"1413700955\",[\"jquery.effects.core\"]],[\"jquery.effects.fold\",\"1413700955\",[\"jquery.effects.core\"]],[\"jquery.effects.highlight\",\"1413700955\",[\"jquery.effects.core\"]],[\"jquery.effects.pulsate\",\"1413700955\",[\"jquery.effects.core\"]],[\"jquery.effects.scale\",\"1413700955\",[\"jquery.effects.core\"]],[\"jquery.effects.shake\",\"1413700955\",[\"jquery.effects.core\"]],[\"jquery.effects.slide\",\"1413700955\",[\"jquery.effects.core\"]],[\"jquery.effects.transfer\",\"1413700955\",[\"jquery.effects.core\"]],[\"mediawiki\",\"1413700955\",[]],[\n\"mediawiki.Uri\",\"1413700955\",[]],[\"mediawiki.kmenu\",\"1413700955\",[]],[\"mediawiki.language\",\"1413700955\",[]],[\"mediawiki.jqueryMsg\",\"1413700955\",[\"mediawiki.util\",\"mediawiki.language\"]],[\"mediawiki.util\",\"1413700955\",[\"jquery.client\",\"jquery.cookie\",\"jquery.messageBox\",\"jquery.mwExtension\"]],[\"mediawiki.util.tmpl\",\"1413700955\",[\"mediawiki.util\"]],[\"jquery.messageBox\",\"1413700955\",[]],[\"jquery.mwExtension\",\"1413700955\",[]],[\"kdark\",\"1413700955\",[\"mw.EmbedPlayer\"]],[\"mw.MediaElement\",\"1413700955\",[]],[\"mw.MediaPlayer\",\"1413700955\",[]],[\"mw.MediaPlayers\",\"1413700955\",[\"mw.MediaPlayer\"]],[\"mw.MediaSource\",\"1413700955\",[\"mw.MwEmbedSupport\"]],[\"mw.EmbedTypes\",\"1413700955\",[\"mw.MediaPlayers\",\"mediawiki.Uri\"]],[\"mw.EmbedPlayer\",\"1413700955\",[\"mediawiki.client\",\"mediawiki.UtilitiesTime\",\"mediawiki.Uri\",\"mediawiki.UtilitiesUrl\",\"mediawiki.jqueryMsg\",\"fullScreenApi\",\"mw.EmbedPlayerNative\",\"mw.EmbedPlayerImageOverlay\",\"mw.EmbedPlayerNativeComponent\",\"mw.MediaElement\",\"mw.MediaPlayers\",\n\"mw.MediaSource\",\"mw.EmbedTypes\",\"jquery.client\",\"jquery.hoverIntent\",\"jquery.cookie\",\"jquery.debouncedresize\",\"jquery.ui.touchPunch\",\"jquery.ui.slider\",\"jquery.ui.tooltip\",\"jquery.naturalSize\"]],[\"mw.PluginManager\",\"1413700955\",[]],[\"mw.EmbedPlayerKplayer\",\"1413700955\",[]],[\"mw.EmbedPlayerGeneric\",\"1413700955\",[]],[\"mw.EmbedPlayerJava\",\"1413700955\",[]],[\"mw.EmbedPlayerNative\",\"1413700955\",[]],[\"mw.EmbedPlayerImageOverlay\",\"1413700955\",[]],[\"mw.EmbedPlayerNativeComponent\",\"1413700955\",[\"nativeBridge\"]],[\"nativeBridge\",\"1413700955\",[]],[\"mw.EmbedPlayerVlc\",\"1413700955\",[]],[\"mw.KalturaIframePlayerSetup\",\"1413700955\",[\"mw.MwEmbedSupport\"]],[\"mw.KWidgetSupport\",\"1413700955\",[\"base64_encode\",\"matchMedia\",\"mw.KApi\",\"mw.KDPMapping\",\"mw.KCuePoints\"]],[\"mw.KBaseScreen\",\"1413700955\",[\"mw.KBaseComponent\"]],[\"mw.KBaseComponent\",\"1413700955\",[\"mw.KBasePlugin\",\"mediawiki.kmenu\"]],[\"mw.KBasePlugin\",\"1413700955\",[\"class\",\"mw.PluginManager\",\"mediawiki.util.tmpl\"]],[\"mw.KCuePoints\",\"1413700955\",[]],[\n\"mw.KTimedText\",\"1413700955\",[]],[\"mw.KAnalytics\",\"1413700955\",[]],[\"mw.PlaylistHandlerKaltura\",\"1413700955\",[\"mw.MwEmbedSupport\"]],[\"mw.KDPMapping\",\"1413700955\",[]],[\"mw.KApi\",\"1413700955\",[\"MD5\"]],[\"mw.KAds\",\"1413700955\",[\"mw.AdTimeline\",\"mw.KAdPlayer\"]],[\"mw.KAdPlayer\",\"1413700955\",[]],[\"keyboardShortcuts\",\"1413700955\",[\"mw.KBasePlugin\"]],[\"controlBarContainer\",\"1413700955\",[\"mw.KBasePlugin\"]],[\"topBarContainer\",\"1413700955\",[\"mw.KBasePlugin\"]],[\"largePlayBtn\",\"1413700955\",[\"mw.KBaseComponent\"]],[\"playPauseBtn\",\"1413700955\",[\"mw.KBaseComponent\"]],[\"fullScreenBtn\",\"1413700955\",[\"mw.KBaseComponent\"]],[\"scrubber\",\"1413700955\",[\"mw.KBaseComponent\"]],[\"volumeControl\",\"1413700955\",[\"mw.KBaseComponent\"]],[\"currentTimeLabel\",\"1413700955\",[\"mw.KBaseComponent\"]],[\"durationLabel\",\"1413700955\",[\"mw.KBaseComponent\"]],[\"sourceSelector\",\"1413700955\",[\"mw.KBaseComponent\"]],[\"logo\",\"1413700955\",[\"mw.KBaseComponent\"]],[\"closedCaptions\",\"1413700955\",[\"mw.KBaseComponent\",\"mw.TextSource\",\n\"mw.Language.names\"]],[\"infoScreen\",\"1413700955\",[\"mw.KBaseScreen\"]],[\"related\",\"1413700955\",[\"mw.KBaseScreen\"]],[\"share\",\"1413700955\",[\"mw.KBaseScreen\"]],[\"pptWidgetPlugin\",\"1413700955\",[]],[\"playlistPlugin\",\"1413700955\",[\"mw.Playlist\",\"mw.PlaylistHandlerKaltura\",\"mw.KLayout\"]],[\"acCheck\",\"1413700955\",[]],[\"acPreview\",\"1413700955\",[]],[\"bumperPlugin\",\"1413700955\",[\"mw.KAds\"]],[\"captureThumbnailPlugin\",\"1413700955\",[\"mw.KBaseComponent\"]],[\"carouselPlugin\",\"1413700955\",[\"jCarouse\"]],[\"likeAPIPlugin\",\"1413700955\",[]],[\"liveStreamPlugin\",\"1413700955\",[]],[\"titleLabel\",\"1413700955\",[\"mw.KBaseComponent\"]],[\"shareSnippet\",\"1413700955\",[]],[\"moderationPlugin\",\"1413700955\",[\"mw.KBaseComponent\"]],[\"downloadPlugin\",\"1413700955\",[\"mw.KBaseComponent\"]],[\"jCarouse\",\"1413700955\",[]],[\"mw.KLayout\",\"1413700955\",[]],[\"restrictUserAgentPlugin\",\"1413700955\",[\"mw.KBasePlugin\"]],[\"segmentScrubberPlugin\",\"1413700955\",[\"mw.KBasePlugin\"]],[\"statisticsPlugin\",\"1413700955\",[\"mw.KAnalytics\"]],[\n\"playbackRateSelectorPlugin\",\"1413700955\",[\"mw.KBaseComponent\"]],[\"watermarkPlugin\",\"1413700955\",[\"mw.KBaseComponent\"]],[\"vastPlugin\",\"1413700955\",[\"mw.KAds\"]],[\"mw.Subply\",\"1413700955\",[]],[\"mw.AkamaiMediaAnalytics\",\"1413700955\",[]],[\"mw.FreeWheel\",\"1413700955\",[\"mw.AdTimeline\"]],[\"mw.Widevine\",\"1413700955\",[\"mw.KBasePlugin\"]],[\"mw.Comscore\",\"1413700955\",[\"mw.EmbedPlayer\",\"mw.ajaxProxy\"]],[\"mw.Kontiki\",\"1413700955\",[\"mw.KBasePlugin\"]],[\"mw.AttracTV\",\"1413700955\",[]],[\"mw.NielsenCombined\",\"1413700955\",[]],[\"mw.Playlist\",\"1413700955\",[\"iScroll\",\"mw.PlaylistHandlerMediaRss\",\"mw.PlaylistLayoutJQueryUi\",\"mw.PlaylistLayoutMobile\",\"mw.ajaxProxy\"]],[\"mw.PlaylistHandlerMediaRss\",\"1413700955\",[]],[\"mw.PlaylistLayoutJQueryUi\",\"1413700955\",[]],[\"mw.PlaylistLayoutMobile\",\"1413700955\",[]],[\"mw.DoubleClick\",\"1413700955\",[\"mw.AdTimeline\"]],[\"mw.EmbedPlayerYouTube\",\"1413700955\",[]],[\"mw.Tremor\",\"1413700955\",[\"mw.AdTimeline\"]],[\"mw.NielsenVideoCensus\",\"1413700955\",[]],[\"mw.TimedText\",\"1413700955\",[\n\"mw.EmbedPlayer\",\"mw.TextSource\",\"mw.Language.names\"]],[\"mw.TextSource\",\"1413700955\",[\"mediawiki.UtilitiesTime\",\"mw.ajaxProxy\"]],[\"mw.Language.names\",\"1413700955\",[]],[\"mw.Omniture\",\"1413700955\",[]],[\"mw.MwEmbedSupport\",\"1413700955\",[\"jquery.triggerQueueCallback\",\"Spinner\",\"jquery.loadingSpinner\",\"jquery.mwEmbedUtil\",\"mw.MwEmbedSupport.style\",\"jquery.color\"]],[\"jquery.color\",\"1413700955\",[]],[\"Spinner\",\"1413700955\",[]],[\"iScroll\",\"1413700955\",[]],[\"jquery.loadingSpinner\",\"1413700955\",[]],[\"mw.MwEmbedSupport.style\",\"1413700955\",[]],[\"mediawiki.UtilitiesTime\",\"1413700955\",[]],[\"mediawiki.client\",\"1413700955\",[]],[\"mediawiki.UtilitiesUrl\",\"1413700955\",[]],[\"mw.ajaxProxy\",\"1413700955\",[]],[\"fullScreenApi\",\"1413700955\",[]],[\"jquery.menu\",\"1413700955\",[]],[\"jquery.ui.touchPunch\",\"1413700955\",[\"jquery.ui.core\",\"jquery.ui.mouse\"]],[\"jquery.triggerQueueCallback\",\"1413700955\",[]],[\"jquery.mwEmbedUtil\",\"1413700955\",[]],[\"jquery.debouncedresize\",\"1413700955\",[]],[\"mw.Peer5\",\"1413700955\",[\n\"mw.AdTimeline\"]],[\"mw.GoogleAnalytics\",\"1413700955\",[]],[\"mw.AdTimeline\",\"1413700955\",[\"mw.BaseAdPlugin\",\"mw.AdLoader\",\"mw.VastAdParser\"]],[\"AdSupport\",\"1413700955\",[\"mw.AdTimeline\"]],[\"mw.BaseAdPlugin\",\"1413700955\",[]],[\"mw.AdLoader\",\"1413700955\",[\"mw.ajaxProxy\"]],[\"mw.VastAdParser\",\"1413700955\",[]]]);mw.config.set({\"wgLoadScript\":\"http:\/\/cdnapi.kaltura.com\/html5\/html5lib\/v2.0.0\/load.php\",\"debug\":false,\"skin\":\"no-theme\",\"wgUserLanguage\":\"en\",\"EmbedPlayer.OverlayControls\":true,\"EmbedPlayer.CodecPreference\":[\"h264\",\"webm\",\"ogg\"],\"EmbedPlayer.DisableVideoTagSupport\":false,\"EmbedPlayer.DisableHTML5FlashFallback\":false,\"EmbedPlayer.DisableJava\":true,\"EmbedPlayer.ReplaceSources\":null,\"EmbedPlayer.EnableFlavorSelector\":true,\"EmbedPlayer.EnableIpadHTMLControls\":true,\"EmbedPlayer.EnableIpadNativeFullscreen\":false,\"EmbedPlayer.iPhoneShowHTMLPlayScreen\":true,\"EmbedPlayer.ForceLargeReplayButton\":false,\"EmbedPlayer.LibraryPage\":\"http:\/\/www.kaltura.org\/project\/HTML5_Video_Media_JavaScript_Library\"\n,\"EmbedPlayer.RewriteSelector\":\"video,audio,playlist\",\"EmbedPlayer.DefaultSize\":\"400x300\",\"EmbedPlayer.ControlsHeight\":31,\"EmbedPlayer.TimeDisplayWidth\":75,\"EmbedPlayer.KalturaAttribution\":true,\"EmbedPlayer.AttributionButton\":{\"title\":\"Kaltura html5 video library\",\"href\":\"http:\/\/www.kaltura.com\",\"class\":\"kaltura-icon\",\"style\":[],\"iconurl\":false},\"EmbedPlayer.EnableRightClick\":true,\"EmbedPlayer.WaitForMeta\":true,\"EmbedPlayer.ShowNativeWarning\":false,\"EmbedPlayer.ShowPlayerAlerts\":true,\"EmbedPlayer.EnableFullscreen\":true,\"EmbedPlayer.EnableTimeDisplay\":true,\"EmbedPlayer.EnableVolumeControl\":true,\"EmbedPlayer.NewWindowFullscreen\":false,\"EmbedPlayer.FullscreenTip\":true,\"EmbedPlayer.DirectFileLinkWarning\":false,\"EmbedPlayer.FirefoxLink\":\"http:\/\/www.mozilla.com\/en-US\/firefox\/upgrade.html?from=mwEmbed\",\"EmbedPlayer.NativeControls\":false,\"EmbedPlayer.NativeControlsMobileSafari\":true,\"EmbedPlayer.FullScreenZIndex\":999998,\"EmbedPlayer.ShareEmbedMode\":\"iframe\",\"EmbedPlayer.DefaultSkin\":\"mvpcf\",\n\"EmbedPlayer.MonitorRate\":250,\"EmbedPlayer.UseFlashOnAndroid\":false,\"EmbedPlayer.EnableURLTimeEncoding\":\"flash\",\"EmbedPLayer.IFramePlayer.DomainWhiteList\":\"*\",\"EmbedPlayer.EnableIframeApi\":true,\"EmbedPlayer.PageDomainIframe\":true,\"EmbedPlayer.NotPlayableDownloadLink\":true,\"EmbedPlayer.BlackPixel\":\"data:image\/png,%89PNG%0D%0A%1A%0A%00%00%00%0DIHDR%00%00%00%01%00%00%00%01%08%02%00%00%00%90wS%DE%00%00%00%01sRGB%00%AE%CE%1C%E9%00%00%00%09pHYs%00%00%0B%13%00%00%0B%13%01%00%9A%9C%18%00%00%00%07tIME%07%DB%0B%0A%17%041%80%9B%E7%F2%00%00%00%19tEXtComment%00Created%20with%20GIMPW%81%0E%17%00%00%00%0CIDAT%08%D7c%60%60%60%00%00%00%04%00%01\\'4\\'%0A%00%00%00%00IEND%AEB%60%82\",\"EmbedPlayer.DefaultImageDuration\":2,\"Kaltura.ServiceUrl\":\"http:\/\/www.kaltura.com\",\"Kaltura.StatsServiceUrl\":\"http:\/\/www.kaltura.com\",\"Kaltura.ServiceBase\":\"\/api_v3\/index.php?service=\",\"Kaltura.CdnUrl\":\"http:\/\/cdnakmi.kaltura.com\",\"Kaltura.NoApiCache\":false,\"Kaltura.UseManifestUrls\":true,\"Kaltura.UseFlavorIdsUrls\":true,\n\"Kaltura.MissingFlavorSources\":[{\"src\":\"http:\/\/www.kaltura.com\/p\/243342\/sp\/24334200\/playManifest\/entryId\/1_g18we0u3\/flavorId\/1_ktavj42z\/format\/url\/protocol\/http\/a.mp4\",\"type\":\"video\/h264\"},{\"src\":\"http:\/\/www.kaltura.com\/p\/243342\/sp\/24334200\/playManifest\/entryId\/1_g18we0u3\/flavorId\/1_gtm9gzz2\/format\/url\/protocol\/http\/a.ogg\",\"type\":\"video\/ogg\"},{\"src\":\"http:\/\/www.kaltura.com\/p\/243342\/sp\/24334200\/playManifest\/entryId\/1_g18we0u3\/flavorId\/1_bqsosjph\/format\/url\/protocol\/http\/a.webm\",\"type\":\"video\/webm\"}],\"Kaltura.BlackVideoSources\":[{\"src\":\"http:\/\/www.kaltura.com\/p\/243342\/sp\/24334200\/playManifest\/entryId\/1_vp5cng42\/flavorId\/1_6wf0o9n7\/format\/url\/protocol\/http\/a.mp4\",\"type\":\"video\/h264\"},{\"src\":\"http:\/\/www.kaltura.com\/p\/243342\/sp\/24334200\/playManifest\/entryId\/1_vp5cng42\/flavorId\/1_oiyfyphl\/format\/url\/protocol\/http\/a.webm\",\"type\":\"video\/webm\"},{\"src\":\"http:\/\/www.kaltura.com\/p\/243342\/sp\/24334200\/playManifest\/entryId\/1_vp5cng42\/flavorId\/1_6yqa4nmd\/format\/url\/protocol\/http\/a.ogg\",\"type\":\n\"video\/ogg\"}],\"Playlist.Layout\":\"vertical\",\"Playlist.Skin\":\"jqueryui\",\"Playlist.PlayerAspect\":\"4:3\",\"Playlist.ItemThumbWidth\":\"60\",\"Playlist.MaxClips\":\"20\",\"Playlist.TitleHeight\":\"20\",\"Playlist.DefaultType\":\"application\/rss+xml\",\"Playlist.TitleLength\":28,\"Playlist.DescriptionLength\":60,\"TimedText.ShowInterface\":\"auto\",\"TimedText.ShowAddTextLink\":false,\"TimedText.ShowRequestTranscript\":false,\"TimedText.NeedsTranscriptCategory\":\"Videos needing subtitles\",\"TimedText.BottomPadding\":10,\"TimedText.BelowVideoBlackBoxHeight\":40,\"AjaxRequestTimeout\":30});};if(isCompatible()){writeScript(\"http:\/\/cdnapi.kaltura.com\/html5\/html5lib\/v2.0.0\/load.php?debug=false\\x26lang=en\\x26modules=jquery%2Cmediawiki%2CSpinner%7Cmw.MwEmbedSupport%7Cjquery.triggerQueueCallback%2CloadingSpinner\\x26only=scripts\\x26skin=no-theme\\x26version=20131110T093306Z\");}delete isCompatible;;\t\t\t\/\/ IE9 has out of order execution, wait for mw:\n\t\t\tvar waitForMwCount = 0;\n\t\t\tvar loadMw = function( callback ) {\n\t\t\t\tvar waitforMw = function( callback ){\n\t\t\t\t\t\/\/ Most borwsers will respect the document.write order \n\t\t\t\t\t\/\/ and directly execute the callback:\n\t\t\t\t\t\/\/ IE9 not so much\n\t\t\t\t\tif( window['mw'] &&  window['mw']['loader'] ){\n\t\t\t\t\t\tcallback();\n\t\t\t\t\t\treturn ;\n\t\t\t\t\t}\n\t\t\t\t\tsetTimeout(function(){\n\t\t\t\t\t\twaitForMwCount++;\n\t\t\t\t\t\tif( waitForMwCount < 2000 ){\n\t\t\t\t\t\t\twaitforMw( callback );\n\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\tif( console ){\n\t\t\t\t\t\t\t\tconsole.log(\"Error in loading mwEmbedLodaer\");\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\t\t\t\t\t}, 5 );\n\t\t\t\t};\n\t\t\t\t\/\/ wait for mw to be ready before issuing the callback:\n\t\t\t\twaitforMw( callback );\n\t\t\t}\n\t\t\t\/\/ For loading iframe side resources that need to be loaded after mw \n\t\t\t\/\/ but before player build out\n\t\t\tvar loadCustomResourceIncludes = function( loadSet, callback ){\n\t\t\t\tcallback = callback || function(){};\n\t\t\t\t\/\/ if an empty set issue callback directly\n\t\t\t\tif( loadSet.length == 0 ){\n\t\t\t\t\tcallback();\n\t\t\t\t\treturn ;\n\t\t\t\t}\n\t\t\t\tvar loadCount = loadSet.length - 1;\n\t\t\t\tvar checkLoadDone = function(){\n\t\t\t\t\tif( loadCount == 0 ){\n\t\t\t\t\t\tcallback();\n\t\t\t\t\t}\n\t\t\t\t\tloadCount--;\n\t\t\t\t};\n\t\t\t\tvar resource;\n\t\t\t\tfor( var i =0 ; i < loadSet.length; i ++ ){\n\t\t\t\t\tresource = loadSet[i];\n\t\t\t\t\tif( resource.type == 'js' ){\n\t\t\t\t\t\t\/\/ use appendScript for clean errors\n\t\t\t\t\t\tkWidget.appendScriptUrl( resource.src, checkLoadDone, document );\n\t\t\t\t\t} else if ( resource.type == 'css' ){\n\t\t\t\t\t\tkWidget.appendCssUrl( resource.src, document );\n\t\t\t\t\t\tcheckLoadDone();\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t};\n\t\t<\/script>\n\t\t\t<div class=\"mwPlayerContainer player-out\">\n\t\t<div class=\"videoHolder\"><div class=\"videoDisplay\"> \n\n\t<video class=\"persistentNativePlayer\" poster=\"data:image\/png,%89PNG%0D%0A%1A%0A%00%00%00%0DIHDR%00%00%00%01%00%00%00%01%08%02%00%00%00%90wS%DE%00%00%00%01sRGB%00%AE%CE%1C%E9%00%00%00%09pHYs%00%00%0B%13%00%00%0B%13%01%00%9A%9C%18%00%00%00%07tIME%07%DB%0B%0A%17%041%80%9B%E7%F2%00%00%00%19tEXtComment%00Created%20with%20GIMPW%81%0E%17%00%00%00%0CIDAT%08%D7c%60%60%60%00%00%00%04%00%01'4'%0A%00%00%00%00IEND%AEB%60%82\" id=\"kaltura_player_1368363816\"  kentryid=\"1_l4plwih3\" kuiconfid=\"20958352\" kwidgetid=\"_1343731\" kpartnerid=\"1343731\"  preload=\"none\" >\n<\/video>\n<\/div><\/div>\t<\/div>\n\t\t\t<script>\n\t\tvar waitForKWidgetCount = 0;\n\t\twaitForKWidget = function( callback ){\n\t\t\twaitForKWidgetCount++;\n\t\t\tif( waitForKWidgetCount > 200 ){\n\t\t\t\tif( console ){\n\t\t\t\t\tconsole.log( \"Error kWidget never ready\" );\n\t\t\t\t}\n\t\t\t\treturn ;\n\t\t\t}\n\t\t\tif( ! window.kWidget ){\n\t\t\t\tsetTimeout(function(){\n\t\t\t\t\twaitForKWidget( callback );\n\t\t\t\t}, 5 );\n\t\t\t\treturn ;\n\t\t\t}\n\t\t\tcallback();\n\t\t}\n\t\twaitForKWidget( function(){\n\t\t\tif( kWidget.isUiConfIdHTML5( '20958352' ) ){\n\t\t\t\tloadMw( function(){\n\t\t\t\t\t\/\/ Load skin resources after other modules loaded\n\t\t\t\t\tif( isIE8 ){\n\t\t\t\t\t\t$( mw ).bind( 'EmbedPlayerNewPlayer', function(){\n\t\t\t\t\t\t\tloadCustomResourceIncludes(kalturaIframePackageData.skinResources);\n\t\t\t\t\t\t});\n\t\t\t\t\t}\n\t\t\t\t\t\n\t\tvar customResources = [];\n\t\t\/\/ IE8 has some issues with RL, so we load skin assets directly\n\t\tif( isIE8 ){\n\t\t\tcustomResources = customResources.concat( kalturaIframePackageData.skinResources );\n\t\t}\n\t\tloadCustomResourceIncludes( customResources, function(){ \n\t\t\t\t\t\/\/ Export our HTML templates\n\t\twindow.kalturaIframePackageData.templates =  {};\n\n\t\tvar moduleList = [\"mw.MwEmbedSupport\",\"mw.KalturaIframePlayerSetup\",\"mw.KWidgetSupport\",\"keyboardShortcuts\",\"controlBarContainer\",\"topBarContainer\",\"largePlayBtn\",\"playPauseBtn\",\"fullScreenBtn\",\"scrubber\",\"volumeControl\",\"currentTimeLabel\",\"durationLabel\",\"acCheck\",\"acPreview\",\"liveStreamPlugin\",\"downloadPlugin\",\"statisticsPlugin\",\"mw.EmbedPlayer\",\"kdark\"];\n\t\tvar skinName = \"kdark\";\n\t\t\/\/ IE8 has some issues with RL so we want to remove the skin\n\t\tif( skinName && isIE8 ) {\n\t\t\tvar itemToDelete = jQuery.inArray(skinName, moduleList);\n\t\t\tif( itemToDelete != -1 )\n\t\t\t\tmoduleList.splice( itemToDelete, 1);\n\t\t}\n\t\tmw.config.set('KalturaSupport.DepModuleList', moduleList);\n\t\tmw.loader.load(moduleList);mw.loader.go();\t\t});\n\t\t\t\t\t\t});\n\t\t\t} else {\n\t\t\t\tvar resourcesList = [];\n\t\t\t\tloadCustomResourceIncludes( resourcesList, function() {\n\t\t\t\t\t\/\/ replace body contents with flash object:\n\t\t\t\t\tvar bodyElement = document.getElementsByTagName('body')[0];\n\t\t\t\t\tbodyElement.innerHTML = '';\n\t\t\t\t\tvar container = document.createElement('div');\n\t\t\t\t\tcontainer.id = window.kalturaIframePackageData.playerId + '_container';\n\t\t\t\t\tcontainer.style.cssText = 'width: 100%; height: 100%;';\n\t\t\t\t\tbodyElement.appendChild(container);\n\t\t\t\t\tvar playerId = window.kalturaIframePackageData.playerId;\n\t\t\t\t\tkWidget.outputFlashObject(playerId + '_container', {\"wid\":\"_1343731\",\"uiconf_id\":\"20958352\",\"flashvars\":{\"ks\":\"djJ8MTM0MzczMXwccAGWboPOJgg7_hHf0gJ8nok_klWUj-vOIv-Z5mBqWkpVauomFNpfcUKmByeoxVGqRcgeuBKgyVwfhDKKiWMpEXhOW1yljuCnMiyWxwZXRw==\",\"referrer\":\"http:\\\/\\\/www.kaltura.com\\\/\"},\"entry_id\":\"1_l4plwih3\",\"params\":{\"wmode\":\"direct\"}});\n\t\t\t\t\t\n\t\t\t\t});\n\t\t\t}\n\t\t});\n\t\t<\/script>\n\t\t<\/body>\n<\/html>\n\t\t"};
if(!document.getElementById('kaltura_player_1368363816')) { document.write( '<div id="kaltura_player_1368363816" style="width:600px;height:368px"></div>' ); } 
kWidget.embed( 'kaltura_player_1368363816', { 
	'wid': '_1343731', 
	'uiconf_id' : '20958352',
	'entry_id': '1_l4plwih3'
});