PageSourceSearch

https://www.stiridesibiu.ro/static/js/reactPlayerDailyMotion.3efb3ceb.chunk.js

js stiridesibiu.ro collected 2026-09-24 23:46:11 UTC 2,729 bytes, 2 lines download raw bytes

1(globalThis.webpackChunkssb_react||=[]).push([[328],{5145(e,t,r){var a,o=r(5225).default,s=r(3083).default,n=Object.create,i=Object.defineProperty,l=Object.getOwnPropertyDescriptor,p=Object.getOwnPropertyNames,u=Object.getPrototypeOf,h=Object.prototype.hasOwnProperty,c=(e,t,r,a)=>{if(t&&"object"===typeof t||"function"===typeof t)for(let o of p(t))h.call(e,o)||o===r||i(e,o,{get:()=>t[o],enumerable:!(a=l(t,o))||a.enumerable});return e},d=(e,t,r)=>(((e,t,r)=>{t in e?i(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r})(e,"symbol"!==typeof t?t+"":t,r),r),y={};((e,t)=>{for(var r in t)i(e,r,{get:t[r],enumerable:!0})})(y,{default:()=>b}),e.exports=(a=y,c(i({},"__esModule",{value:!0}),a));var m=((e,t,r)=>(r=null!=e?n(u(e)):{},c(!t&&e&&e.__esModule?r:i(r,"default",{value:e,enumerable:!0}),e)))(r(5043)),f=r(2206),g=r(1520);class b extends m.Component{constructor(){super(...arguments),d(this,"callPlayer",f.callPlayer),d(this,"onDurationChange",()=>{const e=this.getDuration();this.props.onDuration(e)}),d(this,"mute",()=>{this.callPlayer("setMuted",!0)}),d(this,"unmute",()=>{this.callPlayer("setMuted",!1)}),d(this,"ref",e=>{this.container=e})}componentDidMount(){this.props.onMount&&this.props.onMount(this)}load(e){const t=this.props,r=t.controls,a=t.config,n=t.onError,i=t.playing,l=e.match(g.MATCH_URL_DAILYMOTION),p=s(l,2)[1];this.player?this.player.load(p,{start:(0,f.parseStartTime)(e),autoplay:i}):(0,f.getSDK)("https://api.dmcdn.net/all.js","DM","dmAsyncInit",e=>e.player).then(t=>{if(!this.container)return;const s=t.player;this.player=new s(this.container,{width:"100%",height:"100%",video:p,params:o({controls:r,autoplay:this.props.playing,mute:this.props.muted,start:(0,f.parseStartTime)(e),origin:window.location.origin},a.params),events:{apiready:this.props.onReady,seeked:()=>this.props.onSeek(this.player.currentTime),video_end:this.props.onEnded,durationchange:this.onDurationChange,pause:this.props.onPause,playing:this.props.onPlay,waiting:this.props.onBuffer,error:e=>n(e)}})},n)}play(){this.callPlayer("play")}pause(){this.callPlayer("pause")}stop(){}seekTo(e){let t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];this.callPlayer("seek",e),t||this.pause()}setVolume(e){this.callPlayer("setVolume",e)}getDuration(){return this.player.duration||null}getCurrentTime(){return this.player.currentTime}getSecondsLoaded(){return this.player.bufferedTime}render(){const e={width:"100%",height:"100%",display:this.props.display};return m.default.createElement("div",{style:e},m.default.createElement("div",{ref:this.ref}))}}d(b,"displayName","DailyMotion"),d(b,"canPlay",g.canPlay.dailymotion),d(b,"loopOnEnded",!0)}}]);
2//# sourceMappingURL=reactPlayerDailyMotion.3efb3ceb.chunk.js.map

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.