PageSourceSearch

https://www.silobasel.com/resources/vendor/hajtech/silverstripe-vi…/dist/javascript/video.js?m=1756814163

js silobasel.com collected 2026-10-02 16:19:00 UTC 4,989 bytes, 1 lines download raw bytes

1(()=>{"use strict";var e,t,o,r,n={},i={};function l(e){var t=i[e];if(void 0!==t)return t.exports;var o=i[e]={exports:{}};return n[e].call(o.exports,o,o.exports,l),o.exports}function a(e){return e===window?document.documentElement.clientWidth:e.offsetWidth}function s(e){return e===window?document.documentElement.clientHeight:e.offsetHeight}function c(e,t,o){let r=s(t)/a(t);o&&(r=function(e,t){const o=window.innerWidth;let r=e.offsetHeight/e.offsetWidth;return t.forEach((t=>{t.breakpoint<=o&&(r=t.ratio?t.ratio:e.offsetHeight/e.offsetWidth)})),r}(t,o));let n=s(e)/a(e);if(r>n){const t=r/n*100;e.style.width=`${t}%`}else e.style.width="100%";const i=(a(t)-a(e))/2,l=(s(t)-s(e))/2;e.style.transform=`translate(${i}px, ${l}px)`}l.m=n,t=Object.getPrototypeOf?e=>Object.getPrototypeOf(e):e=>e.__proto__,l.t=function(o,r){if(1&r&&(o=this(o)),8&r)return o;if("object"==typeof o&&o){if(4&r&&o.__esModule)return o;if(16&r&&"function"==typeof o.then)return o}var n=Object.create(null);l.r(n);var i={};e=e||[null,t({}),t([]),t(t)];for(var a=2&r&&o;"object"==typeof a&&!~e.indexOf(a);a=t(a))Object.getOwnPropertyNames(a).forEach((e=>i[e]=()=>o[e]));return i.default=()=>o,l.d(n,i),n},l.d=(e,t)=>{for(var o in t)l.o(t,o)&&!l.o(e,o)&&Object.defineProperty(e,o,{enumerable:!0,get:t[o]})},l.f={},l.e=e=>Promise.all(Object.keys(l.f).reduce(((t,o)=>(l.f[o](e,t),t)),[])),l.u=e=>"javascript/plyrjs-070215e04d00070415d4.chunk.js",l.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"==typeof window)return window}}(),l.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),o={},r="silverstripe4-videofield:",l.l=(e,t,n,i)=>{if(o[e])o[e].push(t);else{var a,s;if(void 0!==n)for(var c=document.getElementsByTagName("script"),d=0;d<c.length;d++){var u=c[d];if(u.getAttribute("src")==e||u.getAttribute("data-webpack")==r+n){a=u;break}}a||(s=!0,(a=document.createElement("script")).charset="utf-8",a.timeout=120,l.nc&&a.setAttribute("nonce",l.nc),a.setAttribute("data-webpack",r+n),a.src=e),o[e]=[t];var f=(t,r)=>{a.onerror=a.onload=null,clearTimeout(p);var n=o[e];if(delete o[e],a.parentNode&&a.parentNode.removeChild(a),n&&n.forEach((e=>e(r))),t)return t(r)},p=setTimeout(f.bind(null,void 0,{type:"timeout",target:a}),12e4);a.onerror=f.bind(null,a.onerror),a.onload=f.bind(null,a.onload),s&&document.head.appendChild(a)}},l.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},l.p="/resources/vendor/hajtech/silverstripe-videofield/client/dist/",(()=>{var e={418:0};l.f.j=(t,o)=>{var r=l.o(e,t)?e[t]:void 0;if(0!==r)if(r)o.push(r[2]);else{var n=new Promise(((o,n)=>r=e[t]=[o,n]));o.push(r[2]=n);var i=l.p+l.u(t),a=new Error;l.l(i,(o=>{if(l.o(e,t)&&(0!==(r=e[t])&&(e[t]=void 0),r)){var n=o&&("load"===o.type?"missing":o.type),i=o&&o.target&&o.target.src;a.message="Loading chunk "+t+" failed.\n("+n+": "+i+")",a.name="ChunkLoadError",a.type=n,a.request=i,r[1](a)}}),"chunk-"+t,t)}};var t=(t,o)=>{var r,n,[i,a,s]=o,c=0;if(i.some((t=>0!==e[t]))){for(r in a)l.o(a,r)&&(l.m[r]=a[r]);if(s)s(l)}for(t&&t(o);c<i.length;c++)n=i[c],l.o(e,n)&&e[n]&&e[n][0](),e[i[c]]=0},o=self.webpackChunksilverstripe4_videofield=self.webpackChunksilverstripe4_videofield||[];o.forEach(t.bind(null,0)),o.push=t.bind(null,o.push.bind(o))})();const d={autoplay:!1,clickToPlay:!0,touchToPlay:!0,muted:!1,volume:1,loop:{active:!0},controls:["play"],settings:[],keyboard:{focused:!1,global:!1},ratio:"16:9",fullscreen:{enabled:!0},youtube:{noCookie:!1,rel:0,showinfo:0,iv_load_policy:3,modestbranding:1},vimeo:{background:!1,byline:!1,portrait:!1,title:!1,speed:!0,transparent:!1}};function u(e,t,o,r){const n=JSON.parse(t.getAttribute("data-jsplayer-config")),i=Object.assign({},d,{},n);i.youtube.origin=window.location.origin;const l=new e(r,i),a=t.parentElement;l.on("ready",(e=>{!function(e,t=!1,o=!1){t||(t=window,o=!1),window.addEventListener("resize",(()=>{window.setTimeout((()=>{c(e,t,o)}),100)})),c(e,t,o)}(o,a),1==i.autoplay&&l.play()})),i.touchToPlay&&r.addEventListener("touchstart",(e=>{l.togglePlay()}))}window.document.addEventListener("DOMContentLoaded",(function(e={}){const t=Object.assign({},{selector:document.querySelectorAll(".js-player__container")},e).selector;t.length>0&&(!function(e="resources/vendor/hajtech/silverstripe-videofield/client/dist/styles/video.css"){const t=document.getElementsByTagName("head")[0],o=document.createElement("link");o.href=e,o.rel="stylesheet",o.type="text/css",t.appendChild(o)}(),async function(){return await l.e(651).then(l.t.bind(l,443,23))}().then((e=>{const o=e.default;Array.from(t).forEach((e=>{const t=e.querySelector(".js-player__holder"),r=t.querySelector(".js-player");r&&u(o,e,t,r)})),document.addEventListener("lightboxopen",(e=>{const t=e.detail.container;if(t){const e=t.querySelector(".js-player__holder"),r=t.querySelector(".js-player-lightbox");e&&r&&u(o,t,e,r)}}))})))}))})();

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.