PageSourceSearch

https://plus.rtl.de/tornado-engines-cbbd236bacc48f1c.bundle.js

js rtl.de collected 2026-09-24 08:27:00 UTC 2,165 bytes, 2 lines download raw bytes

1"use strict";(globalThis.__LOADABLE_LOADED_CHUNKS__||=[]).push([[248],{83197(r,e,t){t.d(e,{TrailerEngine:()=>i});var s=t(11553),a=t.n(s);class i{errorHandler;shaka;ref;onErrorListener=r=>this.onError(r);constructor({errorHandler:r}){this.errorHandler=r,a().Player.isBrowserSupported()&&(this.shaka=new(a().Player),this.shaka.addEventListener("error",this.onErrorListener))}async init(r,e){this.ref=r;try{return await(this.shaka?.attach(r.current)),e&&await(this.shaka?.load(e)),r.current?.addEventListener("volumechange",this.handleVolumeEvent),Promise.resolve()}catch(r){return this.errorHandler(r),Promise.reject(r)}}play=async()=>{try{if(await(this.ref?.current?.play()),this.shaka?.getTextTracks()&&this.shaka?.getTextTracks().length>0&&this.ref?.current?.muted){const r=this.shaka?.getTextTracks()[0];await(this.shaka?.selectTextTrack(r)),await(this.shaka?.setTextTrackVisibility(!0))}}catch(r){if(!r||"NotAllowedError"!==r.name||!this.ref?.current||this.ref.current.muted)throw this.release(),this.errorHandler(r),r;this.ref.current.muted=!0,this.errorHandler(r),await this.play()}};pause=()=>{this.ref?.current?.pause()};isPlaying=()=>!!this.ref?.current&&this.ref.current.currentTime>0&&!this.ref.current.paused&&!this.ref.current.ended&&this.ref.current.readyState>this.ref.current.HAVE_CURRENT_DATA;release=()=>{this.ref?.current?.removeEventListener("volumechange",this.handleVolumeEvent),this.shaka?.removeEventListener("error",this.onErrorListener),this.shaka?.destroy(),this.shaka=void 0};handleVolumeEvent=()=>{if(this.shaka?.getTextTracks()&&this.shaka?.getTextTracks().length>0)if(this.ref?.current?.muted){const r=this.shaka?.getTextTracks()[0];this.shaka?.selectTextTrack(r),this.shaka?.setTextTrackVisibility(!0)}else this.shaka?.setTextTrackVisibility(!1)};onError=r=>{if(this.errorHandler?.(r),r instanceof a().util.Error)switch(r.category){case a().util.Error.Category.MEDIA:case a().util.Error.Category.MANIFEST:this.shaka?.destroy(),this.shaka=void 0;break;default:r.severity===a().util.Error.Severity.CRITICAL&&(this.shaka?.destroy(),this.shaka=void 0)}}}}}]);
2//# sourceMappingURL=sourcemaps/tornado-engines-cbbd236bacc48f1c.bundle.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.