/*! * mediaelement.js * http://www.mediaelementjs.com/ * * wrapper that mimics native html5 mediaelement (audio and video) * using a variety of technologies (pure javascript, flash, iframe) * * copyright 2010-2017, john dyer (http://j.hn/) * license: mit * */ !function e(t,n,r){function i(o,s){if(!n[o]){if(!t[o]){var c="function"==typeof require&&require;if(!s&&c)return c(o,!0);if(a)return a(o,!0);var u=new error("cannot find module '"+o+"'");throw u.code="module_not_found",u}var l=n[o]={exports:{}};t[o][0].call(l.exports,function(e){var n=t[o][1][e];return i(n||e)},l,l.exports,e,t,n,r)}return n[o].exports}for(var a="function"==typeof require&&require,o=0;o0&&(l=p*t,e.originalnode.autoplay)){o=!1,d=!1;var n=mejs.utils.createevent("play",a);e.dispatchevent(n)}}).catch(function(e){v(e,a)})}),m.on("progress",function(){m.getduration().then(function(t){if((p=t)>0&&(l=p*t,e.originalnode.autoplay)){var n=mejs.utils.createevent("play",a);e.dispatchevent(n);var r=mejs.utils.createevent("playing",a);e.dispatchevent(r)}var i=mejs.utils.createevent("progress",a);e.dispatchevent(i)}).catch(function(e){v(e,a)})}),m.on("timeupdate",function(){m.getcurrenttime().then(function(t){u=t;var n=mejs.utils.createevent("timeupdate",a);e.dispatchevent(n)}).catch(function(e){v(e,a)})}),m.on("play",function(){o=!1,d=!1;var t=mejs.utils.createevent("play",a);e.dispatchevent(t);var n=mejs.utils.createevent("playing",a);e.dispatchevent(n)}),m.on("pause",function(){o=!0,d=!1;var t=mejs.utils.createevent("pause",a);e.dispatchevent(t)}),m.on("ended",function(){o=!1,d=!0;var t=mejs.utils.createevent("ended",a);e.dispatchevent(t)});for(var j=0,b=(g=["rendererready","loadedmetadata","loadeddata","canplay"]).length;j