| Server IP : 54.36.91.62 / Your IP : 216.73.217.112 Web Server : Apache System : Linux webm013.cluster127.gra.hosting.ovh.net 5.15.206-ovh-vps-grsec-zfs-classid #1 SMP Fri May 15 02:41:25 UTC 2026 x86_64 User : coopiak ( 151928) PHP Version : 8.3.23 Disable Function : _dyuweyrj4,_dyuweyrj4r,dl MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : OFF | Pkexec : OFF Directory : /home/coopiak/amisdesseniors-fr/nice/media/plg_system_nrframework/js/widgets/video/ |
Upload File : |
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_FacebookVideo_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(){var t=this.initFacebookVideo.bind(this);this.maybeLoadFbRoot(),this.maybeLoadAPIScript(t)},o.initFacebookVideo=function(){var o;this.addFacebookVideo(),"object"==typeof FB&&(FB.XFBML.parse((o=this).video),FB.Event.subscribe("xfbml.ready",function(t){var e=o.video.id+"_"+o.video.querySelector(".tf-video-embed").dataset.videoId;"video"===t.type&&e===t.id&&(o.player=t.instance)}))},o.pause=function(){this.player&&this.player.pause()},o.maybeLoadFbRoot=function(){var t;document.getElementById("fb-root")||((t=document.createElement("div")).id="fb-root",document.body.appendChild(t))},o.maybeLoadAPIScript=function(t){var e;document.querySelector(".tf-fb-sdk-api-script")?t&&t():((e=document.createElement("script")).className="tf-fb-sdk-api-script",e.id="tf-fb-sdk-api-script",e.async=!0,e.src="https://connect.facebook.net/en_US/sdk.js#xfbml=1&version=v3.2",t&&(e.onload=t),(t=document.getElementsByTagName("script")[0]).parentNode.insertBefore(e,t))},o.addFacebookVideo=function(){var t='\n\t\t\t<div\n\t\t\t\tclass="fb-video"\n\t\t\t\tid="'+this.video.id+"_"+this.dataset.videoId+'"\n\t\t\t\tdata-href="'+this.dataset.videoId+'"\n\t\t\t\tdata-allowfullscreen="'+this.dataset.videoFs+'"\n\t\t\t\tdata-autoplay="'+this.dataset.videoAutoplay+'"\n\t\t\t\tdata-width="'+this.dataset.videoWidth+'"\n\t\t\t\tdata-show-text="'+this.dataset.videoShowText+'"\n\t\t\t\tdata-show-captions="'+this.dataset.videoShowCaptions+'"\n\t\t\t\tdata-lazy="false"\n\t\t\t\t>\n\t\t\t</div>\n\t\t';this.videoElement.innerHTML=t},t}(TF_Video);