/** * Kaltura HTML5 Library v2.86.1 * 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 2023 Kaltura Inc. */ window['MWEMBED_VERSION'] = '2.86.1'; window['SCRIPT_LOADER_URL'] = 'https://admin.video.ubc.ca/html5/html5lib/v2.86.1/load.php'; (function($){"use strict";if(window.kWidget){return;}var kWidget={startTime:{},loadTime:{},readyWidgets:{},widgetOriginalSettings:{},readyCallbacks:[],destroyedWidgets:{},perWidgetCallback:{},readyCallbackPerWidget:{},listenerList:{},userAgentPlayerRules:{},alreadyAddedThumbRules:false,iframeAutoEmbedCache:{},iframeUrls:{},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);}if(document.URL.indexOf('forceKPlayer')!==-1){mw.setConfig('EmbedPlayer.ForceKPlayer',true);}var ua=navigator.userAgent;var ieMatch=document. documentMode?['',document.documentMode]: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('