function _inheritsLoose(t,e){t.prototype=Object.create(e.prototype),_setPrototypeOf(t.prototype.constructor=t,e)}function _setPrototypeOf(t,e){return(_setPrototypeOf=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,e){return t.__proto__=e,t})(t,e)}var TF_SelfHostedVideo_Video=function(e){function t(t){t=e.call(this,t)||this;return t.player=null,t}_inheritsLoose(t,e);var o=t.prototype;return o.init=function(){this.maybeLoadVideo()},o.pause=function(){this.player&&this.player.pause()},o.maybeLoadVideo=function(){this.player=this.videoElement.querySelector("video");var t=this.player.querySelector("source");t.src=t.dataset.src,this.player.load()},t}(TF_Video);

