@flowplayer/player 3.35.0 → 3.36.0-rc

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (50) hide show
  1. package/core.js +1 -1
  2. package/default.js +1 -1
  3. package/embed.js +2 -2
  4. package/flowplayer.css +1 -1
  5. package/index.d.ts +0 -6
  6. package/package.json +1 -1
  7. package/plugins/ads.d.ts +7 -8
  8. package/plugins/ads.js +2 -2
  9. package/plugins/airplay.d.ts +0 -6
  10. package/plugins/analytics.d.ts +0 -6
  11. package/plugins/analytics.js +1 -1
  12. package/plugins/asel.d.ts +0 -6
  13. package/plugins/audio.d.ts +0 -6
  14. package/plugins/chapters.d.ts +0 -6
  15. package/plugins/chromecast.d.ts +0 -6
  16. package/plugins/comscore.d.ts +0 -6
  17. package/plugins/consent.d.ts +0 -6
  18. package/plugins/context-menu.d.ts +0 -6
  19. package/plugins/cuepoints.d.ts +0 -6
  20. package/plugins/dash.d.ts +0 -6
  21. package/plugins/drm.d.ts +0 -6
  22. package/plugins/endscreen.d.ts +0 -6
  23. package/plugins/fas.d.ts +0 -6
  24. package/plugins/float-on-scroll.d.ts +0 -6
  25. package/plugins/ga4.d.ts +0 -6
  26. package/plugins/gemius.d.ts +0 -6
  27. package/plugins/google-analytics.d.ts +0 -6
  28. package/plugins/hls.d.ts +0 -6
  29. package/plugins/id3.d.ts +0 -6
  30. package/plugins/iframe.d.ts +0 -6
  31. package/plugins/keyboard.d.ts +0 -6
  32. package/plugins/media-session.d.ts +0 -6
  33. package/plugins/message.d.ts +0 -6
  34. package/plugins/ovp.d.ts +0 -6
  35. package/plugins/playlist.d.ts +0 -6
  36. package/plugins/preview.d.ts +0 -6
  37. package/plugins/qsel.d.ts +0 -6
  38. package/plugins/qul.d.ts +0 -6
  39. package/plugins/rts.d.ts +0 -6
  40. package/plugins/rts.js +3 -3
  41. package/plugins/share.d.ts +0 -6
  42. package/plugins/speed.d.ts +0 -6
  43. package/plugins/ssai.d.ts +0 -6
  44. package/plugins/ssai.js +1 -1
  45. package/plugins/subtitles.d.ts +0 -6
  46. package/plugins/thumbnails.d.ts +0 -6
  47. package/plugins/tizen.d.ts +0 -6
  48. package/plugins/vtsel.d.ts +0 -6
  49. package/plugins/webos.d.ts +0 -6
  50. package/util/loader.d.ts +0 -6
@@ -851,8 +851,6 @@ declare const /**
851
851
  */
852
852
  FULLSCREEN_EXIT = "fullscreenexit";
853
853
 
854
- declare const GRABBING = "is-grabbing";
855
-
856
854
  declare const HAS_POSTER = "has-poster";
857
855
 
858
856
  declare type HasGlobalSrcExtensios<PluginSrcs extends unknown[]> = ArrayToIntersection<PickGlobalSrcExtension<PluginSrcs>>;
@@ -1786,8 +1784,6 @@ declare const RetryMap: {
1786
1784
  readonly OFF: "off";
1787
1785
  };
1788
1786
 
1789
- declare const RTL = "is-rtl";
1790
-
1791
1787
  declare const SampleRate: {
1792
1788
  /**
1793
1789
  * for new features with low adoption rates, or features that are likely to not be used frequently, will include every single instance in the sample.
@@ -1941,11 +1937,9 @@ declare namespace states {
1941
1937
  LOADING,
1942
1938
  STARTING,
1943
1939
  SEEKING,
1944
- GRABBING,
1945
1940
  DISABLED,
1946
1941
  SMALL,
1947
1942
  TINY,
1948
- RTL,
1949
1943
  TV,
1950
1944
  ENDED,
1951
1945
  LIVE_2 as LIVE,
@@ -847,8 +847,6 @@ declare const /**
847
847
  */
848
848
  FULLSCREEN_EXIT = "fullscreenexit";
849
849
 
850
- declare const GRABBING = "is-grabbing";
851
-
852
850
  declare const HAS_POSTER = "has-poster";
853
851
 
854
852
  declare type HasGlobalSrcExtensios<PluginSrcs extends unknown[]> = ArrayToIntersection<PickGlobalSrcExtension<PluginSrcs>>;
@@ -1780,8 +1778,6 @@ declare const RetryMap: {
1780
1778
  readonly OFF: "off";
1781
1779
  };
1782
1780
 
1783
- declare const RTL = "is-rtl";
1784
-
1785
1781
  declare const SampleRate: {
1786
1782
  /**
1787
1783
  * for new features with low adoption rates, or features that are likely to not be used frequently, will include every single instance in the sample.
@@ -1935,11 +1931,9 @@ declare namespace states {
1935
1931
  LOADING,
1936
1932
  STARTING,
1937
1933
  SEEKING,
1938
- GRABBING,
1939
1934
  DISABLED,
1940
1935
  SMALL,
1941
1936
  TINY,
1942
- RTL,
1943
1937
  TV,
1944
1938
  ENDED,
1945
1939
  LIVE_2 as LIVE,
@@ -1 +1 @@
1
- !function(e,t){"object"==typeof exports&&"undefined"!=typeof module?module.exports=t():"function"==typeof define&&define.amd?define(t):((e="undefined"!=typeof globalThis?globalThis:e||self).flowplayer=e.flowplayer||{},e.flowplayer.analytics=t())}(this,function(){"use strict";const e=(...e)=>e.reduce((e,t)=>Object.assign(Object.assign({},e),t),{}),t=(e,t)=>{const r=e.lastIndexOf(t);return~r&&e.splice(r,1),e};class RequestQueue{static of(){return new RequestQueue}static is_empty(e){return 0==e.pending.length}static is_high_water(e){return e.open.length==RequestQueue.MAX_OPEN_REQUESTS}static maybe_spawn_req(e){if(RequestQueue.is_empty(e))return e;if(RequestQueue.is_high_water(e))return e;try{const t=RequestQueue.lpop(e);t&&RequestQueue.request(e,t)}catch(e){}}static increment_failures(e){return e.stats.failures++,e.stats.failures>RequestQueue.MAX_FAILURE_COUNT&&(e.stats.ttl=Date.now()+RequestQueue.REQUEST_TTL_MS),e}static handle_error(e,t){RequestQueue.rm(e,t),RequestQueue.increment_failures(e)}static request(e,[t,r,n]){if(Date.now()<e.stats.ttl)return;const i=new XMLHttpRequest;e.open.push(i),i.timeout=RequestQueue.REQUEST_TIMEOUT_MS,i.ontimeout=function(){RequestQueue.handle_error(e,i)},i.onerror=function(t){RequestQueue.handle_error(e,i)},i.onreadystatechange=function(){i.readyState==XMLHttpRequest.DONE&&RequestQueue.rm(e,i),Math.floor(i.status/100)},i.onload=function(){RequestQueue.rm(e,i),e.stats.failures&&e.stats.failures--},i.open(r,t),i.setRequestHeader("Content-Type","text/plain;charset=UTF-8");try{i.send(JSON.stringify(n))}catch(e){}}static rpush(e,...t){return t.forEach(t=>{e.pending.length>=RequestQueue.MAX_PENDING||(e.pending.push(t),RequestQueue.maybe_spawn_req(e))}),e}static lpop(e){return e.pending.shift()}static rm(e,r){return t(e.open,r),e}constructor(){this.pending=[],this.open=[],this.stats={failures:0,ttl:0}}}RequestQueue.MAX_OPEN_REQUESTS=3,RequestQueue.MAX_PENDING=5,RequestQueue.REQUEST_TIMEOUT_MS=4e3,RequestQueue.REQUEST_TTL_MS=5e3,RequestQueue.MAX_FAILURE_COUNT=3;var r=RequestQueue.of();const n=/:([a-zA-Z_]+)/g;class Log{static prepare(e,t){const r=document.createEvent("Event");return r.initEvent(e,!1,!0),r.ns=e,r.data=t,r}static of(e){return new Log(e)}constructor(e){this.emitter=e}info(e){this.emitter.dispatchEvent(Log.prepare(Log.NAMESPACE.INFO,e))}error(e){this.emitter.dispatchEvent(Log.prepare(Log.NAMESPACE.ERROR,e))}warn(e){this.emitter.dispatchEvent(Log.prepare(Log.NAMESPACE.WARN,e))}}var i;Log.NAMESPACE={INFO:"tracker:info",ERROR:"tracker:err",WARN:"tracker:warn"},function(e){e.POST="POST",e.PUT="PUT",e.GET="GET"}(i||(i={}));class Tracker{static of(e,t){return new Tracker(e,t)}static ensure_required_keys(e,t){return e.required_keys.filter(e=>!(e in t))}static pluck_valid_keys(t,r){return((t,...r)=>Object.keys(t).filter(e=>~r.indexOf(e)).reduce((r,n)=>e(r,{[n]:t[n]}),{}))(r,...t.valid_keys)}static merge_metadata(t,r={}){return t.metadata=Tracker.pluck_valid_keys(t,e(t.metadata,r)),t}static assert_emitter_api(e){if("function"!=typeof(e||{}).addEventListener)throw new Error("Tracker() received an emitter that does not implement the addEventListener method");if("function"!=typeof(e||{}).removeEventListener)throw new Error("Tracker() received an emitter that does not implement the removeEventListener method")}static create_listener(e,t,r){var n;e.listeners.push([t,r]),null===(n=e.emitter)||void 0===n||n.addEventListener(t,r)}constructor(t,i={}){const o=this;if(this.emitter=t,this.url=i.url,this.log=Log.of(this.emitter),this.verb=i.verb,this.metadata=e({},i.metadata||{}),this.rq=i.rq||r,this.events=i.events||[],this.required_keys=i.required_keys||[],this.optional_keys=i.optional_keys||[],this.listeners=[],this.valid_keys=this.required_keys.slice(0).concat(this.optional_keys),Tracker.assert_emitter_api(this.emitter),void 0===Tracker.verb[this.verb])throw new Error(`invalid HTTP verb[${this.verb}] passed`);if("string"!=typeof this.url)throw new Error(`invalid API url[${this.url}] passed`);Tracker.TRACKERS.push(this),o.events.forEach(t=>{Tracker.create_listener(this,t,(r={})=>{var i;if(null===(i=this.emitter)||void 0===i?void 0:i.hasState("consent-no-tracking"))return;const a=e(o.metadata,{event_type:t},r.data||r),s=function(e,t){return e.replace(n,e=>{const r=e.slice(1,e.length);return r in t?t[r].toString():e})}(o.url,a),u=Tracker.pluck_valid_keys(o,a),d=Tracker.ensure_required_keys(o,u);if(d.length)return o.log.error(`Tracker.validate_metadata() failed for\n Event[${t}]\n missing keys: ${d}\n payload:\n ${JSON.stringify(u,null,2)}`);this.rq&&RequestQueue.rpush(this.rq,[s,this.verb,u])})})}destroy(){this.listeners.forEach(([e,t])=>{var r;return null===(r=this.emitter)||void 0===r?void 0:r.removeEventListener(e,t)}),delete this.rq,delete this.emitter,t(Tracker.TRACKERS,this)}put(e={}){return Tracker.merge_metadata(this,e),this}}var o;Tracker.TRACKERS=[],Tracker.QUEUE=r,Tracker.verb=i,function(e){e[e.ADS=2]="ADS",e[e.ANALYTICS=4]="ANALYTICS",e[e.NO_METERING=8]="NO_METERING",e[e.DEVELOPER_PLAN=16]="DEVELOPER_PLAN",e[e.WOWZA_VIDEO=32]="WOWZA_VIDEO"}(o||(o={}));const a=["localhost","127.0.0.1","0.0.0.0","s.codepen.io","cdpn.io","try.flowplayer.com"];function s(e,t){return!!~a.indexOf(e)||e.indexOf(t)===e.length-t.length}s.check_whitelist=function(e){return!!~a.indexOf(e)};function u(e){this.message=e}u.prototype=new Error,u.prototype.name="InvalidCharacterError";var d="undefined"!=typeof window&&window.atob&&window.atob.bind(window)||function(e){var t=String(e).replace(/=+$/,"");if(t.length%4==1)throw new u("'atob' failed: The string to be decoded is not correctly encoded.");for(var r,n,i=0,o=0,a="";n=t.charAt(o++);~n&&(r=i%4?64*r+n:n,i++%4)?a+=String.fromCharCode(255&r>>(-2*i&6)):0)n="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=".indexOf(n);return a};var c=function(e){var t=e.replace(/-/g,"+").replace(/_/g,"/");switch(t.length%4){case 0:break;case 2:t+="==";break;case 3:t+="=";break;default:throw"Illegal base64url string!"}try{return function(e){return decodeURIComponent(d(e).replace(/(.)/g,function(e,t){var r=t.charCodeAt(0).toString(16).toUpperCase();return r.length<2&&(r="0"+r),"%"+r}))}(t)}catch(e){return d(t)}};function l(e){this.message=e}l.prototype=new Error,l.prototype.name="InvalidTokenError";var f=function(e,t){if("string"!=typeof e)throw new l("Invalid token specified");var r=!0===(t=t||{}).header?0:1;try{return JSON.parse(c(e.split(".")[r]))}catch(e){throw new l("Invalid token specified: "+e.message)}};f.InvalidTokenError=l;const p="production";function _(e,t){const r={valid_jwt:!1,raw:"",data:{acl:0},exp:0};let n={c:"{}",exp:0};t=t||{};try{n=f(e),r.valid_jwt=!0}catch(e){}return r.raw=e,r.data=JSON.parse(n.c),r.exp=n.exp,t.require_valid_token&&_.validate(r),r}function h(e){return{grant:e,is_granted:t=>(e&t)===t}}function m(e,t,r){const n=function(e){return Array.isArray(e)?e.slice(0):e.split(".")}(t);for(;n.length;){if(null==e)return r;const t=n.shift();if("string"!=typeof t)return r;e=e[t]}return null==e?r:e}_.validate=function(e){if("string"==typeof e&&(e=_(e)),!e||!e.raw){if(s.check_whitelist(window.location.hostname)||"dev"===p.toString())return!0;throw new Error("No token provided in configuration")}if(!e.valid_jwt)throw new Error("Invalid token provided");const t=window.location.hostname,r=s.bind(null,t);if("dev"!==p.toString()&&e.data.domain&&e.data.domain.length&&!e.data.domain.some(r))throw new Error("Domain not allowed");if("dev"!==p.toString()&&1e3*e.exp-Date.now()<0)throw new Error("Expired token");return!0},_.id=function(e){if(e)return"string"==typeof e&&(e=_(e)),e.data.id},h.of=h,h.from_token=function(e){const t=_(e,{require_valid_token:!0});return h.of(t.data.acl)},h.permissions=o;var v="undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{};var y="ping",k="display",g="view";const w=["sitegroup_id","session_id","media_id","site_id","player_id","video_type"],E=["created","position"],T=["player_version","created","source","category","category_id","autoplay","muted","customer_user_id"];const R=100,q=1e3;function A(e,t){return e.duration/1===e.duration&&Object.assign(t,function(e){const t=e/R;return{segment_duration:t,breakpoints:Array(...Array(R)).map(function(e,r){return Math.floor(r*t*q)/q})}}(e.duration))}function S(e,t,r){if(!t.segment_duration&&!A(e,t))return;const n=function(e,t,r){const n=t.last_idx,i=r?99:O(e,t);return t.last_idx=i,i<=n?[]:t.breakpoints.slice(n,99==i?100:i).map(function(e){return t.breakpoints.indexOf(e)})}(e,t,r);0!=n.length&&e.emit(y,{position:n})}function O(e,t){return Math.min(Math.floor(e.currentTime/t.segment_duration),99)}function b(){try{const e=window.location!==window.parent.location?document.referrer:document.location.href;return"string"==typeof e&&e.slice(0,200)}catch(e){return!1}}var N;const Q="vod",x="live",L=[k,y,g];function I(e,t,r){switch(null==t?void 0:t.kind){case"live":return function(e,t){const r=Date.now();r-t.last_tracked_ts<6e4||(t.last_tracked_ts=r,++t.ticks,e.emit(y,{position:60*t.ticks}))}(e,t);case"vod":return S(e,t,"boolean"==typeof r&&r)}}function M(e){const t=e.ads;return void 0!==t&&(void 0!==t.schedule&&("function"==typeof t.hasPreroll&&(t.currentRequests?t.currentRequests:!!t.adPlaying||!(!t.hasPreroll()||0!=t.nextIndex))))}const P=((N=class Analytics{init(e,t,r){if(!h.from_token(e.token||"").is_granted(h.permissions.ANALYTICS))return;if(r.analytics)return;const n=r.analytics={ticker:void 0,last_media_id:"",ended:!1,played:!1},i={locked:void 0,ttl:6e3,task:()=>{I(r,n.ticker)}};const o={session_id:r.deviceId(),autoplay:r.autoplay,muted:r.muted,player_id:e.player_id,customer_user_id:e.customer_user_id,player_version:"3.35.0"},a=Tracker.of(r,{verb:Tracker.verb.POST,url:"https://ptm.flowplayer.com/:video_type/:sitegroup_id/:event_type",events:L,required_keys:w,optional_keys:T.concat(E).slice(0),metadata:o});r.on("reap",function(){a&&a.destroy()}),r.on("config",function(t){if(!a)return;const i=m(t,"data.metadata",{});if(!i.media_id&&i.stream_target_id&&(i.media_id=i.stream_target_id),!i.media_id)return n.last_media_id="";if(n.last_media_id===i.media_id)return;n.played=!1,n.last_media_id=i.media_id;const o=m(e,"analytics",{});a.put(i),a.put(o);const s=m(e,"metadata.live_start_time",e.live)?x:Q;a.put({video_type:s,source:e.source||b()||""}),n.ticker=e.live?{ticks:0,last_tracked_ts:Date.now(),kind:"live"}:{last_idx:0,segment_duration:0,breakpoints:[],kind:"vod"},n.ended=!1,r.emit(k)});let s=0;r.on("playing",function(){if(!a)return;if(s||n.played||!n.last_media_id)return;a.put({muted:r.muted});const e=M(r);if(e)return s=Promise.resolve(e).then(function(){n.played=!0,r.emit(g),s=0}).catch(function(){s=0});n.played=!0,r.emit(g)}),r.on("timeupdate",function(){var t;a&&(s||M(r)||n.ended||!n.last_media_id||(!e.live&&r.currentTime+.25>=r.duration&&I(r,n.ticker,!0),(t=i).locked||(t.locked=setTimeout(function(){return t.task(),function(e){return e.locked=void 0,e}(t)},t.ttl))))}),r.on("seeked",function(){a&&n.last_media_id&&n.ticker&&"vod"==n.ticker.kind&&function(e,t){A(e,t),t.last_idx=O(e,t)}(r,n.ticker)}),r.on("ended",function(){a&&n.last_media_id&&function(e,t){t.ended||(t.ended=!0,I(e,t.ticker))}(r,n)})}}).pluginName="analytics",N),C=function(e,t){if("object"==typeof exports&&"undefined"!=typeof module)return t;if(null===document.currentScript)return t;"flowplayer"in e||(e.flowplayer={extensions:[]});const r=e.flowplayer;return"function"==typeof r?(r(t),t):(Array.isArray(r.extensions)||(r.extensions=[]),~r.extensions.indexOf(t)||r.extensions.push(t),t)}("undefined"!=typeof window?window:void 0!==v?v:{},P);return C});
1
+ !function(e,t){"object"==typeof exports&&"undefined"!=typeof module?module.exports=t():"function"==typeof define&&define.amd?define(t):((e="undefined"!=typeof globalThis?globalThis:e||self).flowplayer=e.flowplayer||{},e.flowplayer.analytics=t())}(this,function(){"use strict";const e=(...e)=>e.reduce((e,t)=>Object.assign(Object.assign({},e),t),{}),t=(e,t)=>{const r=e.lastIndexOf(t);return~r&&e.splice(r,1),e};class RequestQueue{static of(){return new RequestQueue}static is_empty(e){return 0==e.pending.length}static is_high_water(e){return e.open.length==RequestQueue.MAX_OPEN_REQUESTS}static maybe_spawn_req(e){if(RequestQueue.is_empty(e))return e;if(RequestQueue.is_high_water(e))return e;try{const t=RequestQueue.lpop(e);t&&RequestQueue.request(e,t)}catch(e){}}static increment_failures(e){return e.stats.failures++,e.stats.failures>RequestQueue.MAX_FAILURE_COUNT&&(e.stats.ttl=Date.now()+RequestQueue.REQUEST_TTL_MS),e}static handle_error(e,t){RequestQueue.rm(e,t),RequestQueue.increment_failures(e)}static request(e,[t,r,n]){if(Date.now()<e.stats.ttl)return;const i=new XMLHttpRequest;e.open.push(i),i.timeout=RequestQueue.REQUEST_TIMEOUT_MS,i.ontimeout=function(){RequestQueue.handle_error(e,i)},i.onerror=function(t){RequestQueue.handle_error(e,i)},i.onreadystatechange=function(){i.readyState==XMLHttpRequest.DONE&&RequestQueue.rm(e,i),Math.floor(i.status/100)},i.onload=function(){RequestQueue.rm(e,i),e.stats.failures&&e.stats.failures--},i.open(r,t),i.setRequestHeader("Content-Type","text/plain;charset=UTF-8");try{i.send(JSON.stringify(n))}catch(e){}}static rpush(e,...t){return t.forEach(t=>{e.pending.length>=RequestQueue.MAX_PENDING||(e.pending.push(t),RequestQueue.maybe_spawn_req(e))}),e}static lpop(e){return e.pending.shift()}static rm(e,r){return t(e.open,r),e}constructor(){this.pending=[],this.open=[],this.stats={failures:0,ttl:0}}}RequestQueue.MAX_OPEN_REQUESTS=3,RequestQueue.MAX_PENDING=5,RequestQueue.REQUEST_TIMEOUT_MS=4e3,RequestQueue.REQUEST_TTL_MS=5e3,RequestQueue.MAX_FAILURE_COUNT=3;var r=RequestQueue.of();const n=/:([a-zA-Z_]+)/g;class Log{static prepare(e,t){const r=document.createEvent("Event");return r.initEvent(e,!1,!0),r.ns=e,r.data=t,r}static of(e){return new Log(e)}constructor(e){this.emitter=e}info(e){this.emitter.dispatchEvent(Log.prepare(Log.NAMESPACE.INFO,e))}error(e){this.emitter.dispatchEvent(Log.prepare(Log.NAMESPACE.ERROR,e))}warn(e){this.emitter.dispatchEvent(Log.prepare(Log.NAMESPACE.WARN,e))}}var i;Log.NAMESPACE={INFO:"tracker:info",ERROR:"tracker:err",WARN:"tracker:warn"},function(e){e.POST="POST",e.PUT="PUT",e.GET="GET"}(i||(i={}));class Tracker{static of(e,t){return new Tracker(e,t)}static ensure_required_keys(e,t){return e.required_keys.filter(e=>!(e in t))}static pluck_valid_keys(t,r){return((t,...r)=>Object.keys(t).filter(e=>~r.indexOf(e)).reduce((r,n)=>e(r,{[n]:t[n]}),{}))(r,...t.valid_keys)}static merge_metadata(t,r={}){return t.metadata=Tracker.pluck_valid_keys(t,e(t.metadata,r)),t}static assert_emitter_api(e){if("function"!=typeof(e||{}).addEventListener)throw new Error("Tracker() received an emitter that does not implement the addEventListener method");if("function"!=typeof(e||{}).removeEventListener)throw new Error("Tracker() received an emitter that does not implement the removeEventListener method")}static create_listener(e,t,r){var n;e.listeners.push([t,r]),null===(n=e.emitter)||void 0===n||n.addEventListener(t,r)}constructor(t,i={}){const o=this;if(this.emitter=t,this.url=i.url,this.log=Log.of(this.emitter),this.verb=i.verb,this.metadata=e({},i.metadata||{}),this.rq=i.rq||r,this.events=i.events||[],this.required_keys=i.required_keys||[],this.optional_keys=i.optional_keys||[],this.listeners=[],this.valid_keys=this.required_keys.slice(0).concat(this.optional_keys),Tracker.assert_emitter_api(this.emitter),void 0===Tracker.verb[this.verb])throw new Error(`invalid HTTP verb[${this.verb}] passed`);if("string"!=typeof this.url)throw new Error(`invalid API url[${this.url}] passed`);Tracker.TRACKERS.push(this),o.events.forEach(t=>{Tracker.create_listener(this,t,(r={})=>{var i;if(null===(i=this.emitter)||void 0===i?void 0:i.hasState("consent-no-tracking"))return;const a=e(o.metadata,{event_type:t},r.data||r),s=function(e,t){return e.replace(n,e=>{const r=e.slice(1,e.length);return r in t?t[r].toString():e})}(o.url,a),u=Tracker.pluck_valid_keys(o,a),d=Tracker.ensure_required_keys(o,u);if(d.length)return o.log.error(`Tracker.validate_metadata() failed for\n Event[${t}]\n missing keys: ${d}\n payload:\n ${JSON.stringify(u,null,2)}`);this.rq&&RequestQueue.rpush(this.rq,[s,this.verb,u])})})}destroy(){this.listeners.forEach(([e,t])=>{var r;return null===(r=this.emitter)||void 0===r?void 0:r.removeEventListener(e,t)}),delete this.rq,delete this.emitter,t(Tracker.TRACKERS,this)}put(e={}){return Tracker.merge_metadata(this,e),this}}var o;Tracker.TRACKERS=[],Tracker.QUEUE=r,Tracker.verb=i,function(e){e[e.ADS=2]="ADS",e[e.ANALYTICS=4]="ANALYTICS",e[e.NO_METERING=8]="NO_METERING",e[e.DEVELOPER_PLAN=16]="DEVELOPER_PLAN",e[e.WOWZA_VIDEO=32]="WOWZA_VIDEO"}(o||(o={}));const a=["localhost","127.0.0.1","0.0.0.0","s.codepen.io","cdpn.io","try.flowplayer.com"];function s(e,t){return!!~a.indexOf(e)||e.indexOf(t)===e.length-t.length}s.check_whitelist=function(e){return!!~a.indexOf(e)};function u(e){this.message=e}u.prototype=new Error,u.prototype.name="InvalidCharacterError";var d="undefined"!=typeof window&&window.atob&&window.atob.bind(window)||function(e){var t=String(e).replace(/=+$/,"");if(t.length%4==1)throw new u("'atob' failed: The string to be decoded is not correctly encoded.");for(var r,n,i=0,o=0,a="";n=t.charAt(o++);~n&&(r=i%4?64*r+n:n,i++%4)?a+=String.fromCharCode(255&r>>(-2*i&6)):0)n="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=".indexOf(n);return a};var c=function(e){var t=e.replace(/-/g,"+").replace(/_/g,"/");switch(t.length%4){case 0:break;case 2:t+="==";break;case 3:t+="=";break;default:throw"Illegal base64url string!"}try{return function(e){return decodeURIComponent(d(e).replace(/(.)/g,function(e,t){var r=t.charCodeAt(0).toString(16).toUpperCase();return r.length<2&&(r="0"+r),"%"+r}))}(t)}catch(e){return d(t)}};function l(e){this.message=e}l.prototype=new Error,l.prototype.name="InvalidTokenError";var f=function(e,t){if("string"!=typeof e)throw new l("Invalid token specified");var r=!0===(t=t||{}).header?0:1;try{return JSON.parse(c(e.split(".")[r]))}catch(e){throw new l("Invalid token specified: "+e.message)}};f.InvalidTokenError=l;const p="production";function _(e,t){const r={valid_jwt:!1,raw:"",data:{acl:0},exp:0};let n={c:"{}",exp:0};t=t||{};try{n=f(e),r.valid_jwt=!0}catch(e){}return r.raw=e,r.data=JSON.parse(n.c),r.exp=n.exp,t.require_valid_token&&_.validate(r),r}function h(e){return{grant:e,is_granted:t=>(e&t)===t}}function m(e,t,r){const n=function(e){return Array.isArray(e)?e.slice(0):e.split(".")}(t);for(;n.length;){if(null==e)return r;const t=n.shift();if("string"!=typeof t)return r;e=e[t]}return null==e?r:e}_.validate=function(e){if("string"==typeof e&&(e=_(e)),!e||!e.raw){if(s.check_whitelist(window.location.hostname)||"dev"===p.toString())return!0;throw new Error("No token provided in configuration")}if(!e.valid_jwt)throw new Error("Invalid token provided");const t=window.location.hostname,r=s.bind(null,t);if("dev"!==p.toString()&&e.data.domain&&e.data.domain.length&&!e.data.domain.some(r))throw new Error("Domain not allowed");if("dev"!==p.toString()&&1e3*e.exp-Date.now()<0)throw new Error("Expired token");return!0},_.id=function(e){if(e)return"string"==typeof e&&(e=_(e)),e.data.id},h.of=h,h.from_token=function(e){const t=_(e,{require_valid_token:!0});return h.of(t.data.acl)},h.permissions=o;var v="undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{};var y="ping",k="display",g="view";const w=["sitegroup_id","session_id","media_id","site_id","player_id","video_type"],E=["created","position"],T=["player_version","created","source","category","category_id","autoplay","muted","customer_user_id"];const R="is-seeking";const q=100,A=1e3;function S(e,t){return e.duration/1===e.duration&&Object.assign(t,function(e){const t=e/q;return{segment_duration:t,breakpoints:Array(...Array(q)).map(function(e,r){return Math.floor(r*t*A)/A})}}(e.duration))}function O(e,t,r){if(!t.segment_duration&&!S(e,t))return;const n=function(e,t,r){const n=t.last_idx,i=r?99:b(e,t);return t.last_idx=i,i<=n?[]:t.breakpoints.slice(n,99==i?100:i).map(function(e){return t.breakpoints.indexOf(e)})}(e,t,r);0!=n.length&&e.emit(y,{position:n})}function b(e,t){return Math.min(Math.floor(e.currentTime/t.segment_duration),99)}function N(){try{const e=window.location!==window.parent.location?document.referrer:document.location.href;return"string"==typeof e&&e.slice(0,200)}catch(e){return!1}}var Q;const x="vod",L="live",I=[k,y,g];function M(e,t,r){switch(null==t?void 0:t.kind){case"live":return function(e,t){const r=Date.now();r-t.last_tracked_ts<6e4||(t.last_tracked_ts=r,++t.ticks,e.emit(y,{position:60*t.ticks}))}(e,t);case"vod":return O(e,t,"boolean"==typeof r&&r)}}function P(e){const t=e.ads;return void 0!==t&&(void 0!==t.schedule&&("function"==typeof t.hasPreroll&&(t.currentRequests?t.currentRequests:!!t.adPlaying||!(!t.hasPreroll()||0!=t.nextIndex))))}const C=((Q=class Analytics{init(e,t,r){if(!h.from_token(e.token||"").is_granted(h.permissions.ANALYTICS))return;if(r.analytics)return;const n=r.analytics={ticker:void 0,last_media_id:"",ended:!1,played:!1},i={locked:void 0,ttl:6e3,task:()=>{r.hasState(R)||M(r,n.ticker)}};const o={session_id:r.deviceId(),autoplay:r.autoplay,muted:r.muted,player_id:e.player_id,customer_user_id:e.customer_user_id,player_version:"3.36.0-rc"},a=Tracker.of(r,{verb:Tracker.verb.POST,url:"https://ptm.flowplayer.com/:video_type/:sitegroup_id/:event_type",events:I,required_keys:w,optional_keys:T.concat(E).slice(0),metadata:o});r.on("reap",function(){a&&a.destroy()}),r.on("config",function(t){if(!a)return;const i=m(t,"data.metadata",{});if(!i.media_id&&i.stream_target_id&&(i.media_id=i.stream_target_id),!i.media_id)return n.last_media_id="";if(n.last_media_id===i.media_id)return;n.played=!1,n.last_media_id=i.media_id;const o=m(e,"analytics",{});a.put(i),a.put(o);const s=m(e,"metadata.live_start_time",e.live)?L:x;a.put({video_type:s,source:e.source||N()||""}),n.ticker=e.live?{ticks:0,last_tracked_ts:Date.now(),kind:"live"}:{last_idx:0,segment_duration:0,breakpoints:[],kind:"vod"},n.ended=!1,r.emit(k)});let s=0;r.on("playing",function(){if(!a)return;if(s||n.played||!n.last_media_id)return;a.put({muted:r.muted});const e=P(r);if(e)return s=Promise.resolve(e).then(function(){n.played=!0,r.emit(g),s=0}).catch(function(){s=0});n.played=!0,r.emit(g)}),r.on("timeupdate",function(){var t;a&&(s||P(r)||n.ended||!n.last_media_id||r.hasState(R)||(!e.live&&r.currentTime+.25>=r.duration&&M(r,n.ticker,!0),(t=i).locked||(t.locked=setTimeout(function(){return t.task(),function(e){return e.locked=void 0,e}(t)},t.ttl))))}),r.on("seeked",function(){a&&n.last_media_id&&n.ticker&&"vod"==n.ticker.kind&&function(e,t){S(e,t),t.last_idx=b(e,t)}(r,n.ticker)}),r.on("timeline/gesture/start",function(){M(r,n.ticker)}),r.on("ended",function(){a&&n.last_media_id&&function(e,t){t.ended||(t.ended=!0,M(e,t.ticker))}(r,n)})}}).pluginName="analytics",Q),U=function(e,t){if("object"==typeof exports&&"undefined"!=typeof module)return t;if(null===document.currentScript)return t;"flowplayer"in e||(e.flowplayer={extensions:[]});const r=e.flowplayer;return"function"==typeof r?(r(t),t):(Array.isArray(r.extensions)||(r.extensions=[]),~r.extensions.indexOf(t)||r.extensions.push(t),t)}("undefined"!=typeof window?window:void 0!==v?v:{},C);return U});
package/plugins/asel.d.ts CHANGED
@@ -964,8 +964,6 @@ declare const /**
964
964
  */
965
965
  FULLSCREEN_EXIT = "fullscreenexit";
966
966
 
967
- declare const GRABBING = "is-grabbing";
968
-
969
967
  declare const HAS_POSTER = "has-poster";
970
968
 
971
969
  declare type HasGlobalSrcExtensios<PluginSrcs extends unknown[]> = ArrayToIntersection<PickGlobalSrcExtension<PluginSrcs>>;
@@ -1897,8 +1895,6 @@ declare const RetryMap: {
1897
1895
  readonly OFF: "off";
1898
1896
  };
1899
1897
 
1900
- declare const RTL = "is-rtl";
1901
-
1902
1898
  declare const SampleRate: {
1903
1899
  /**
1904
1900
  * for new features with low adoption rates, or features that are likely to not be used frequently, will include every single instance in the sample.
@@ -2062,11 +2058,9 @@ declare namespace states {
2062
2058
  LOADING,
2063
2059
  STARTING,
2064
2060
  SEEKING,
2065
- GRABBING,
2066
2061
  DISABLED,
2067
2062
  SMALL,
2068
2063
  TINY,
2069
- RTL,
2070
2064
  TV,
2071
2065
  ENDED,
2072
2066
  LIVE_2 as LIVE,
@@ -847,8 +847,6 @@ declare const /**
847
847
  */
848
848
  FULLSCREEN_EXIT = "fullscreenexit";
849
849
 
850
- declare const GRABBING = "is-grabbing";
851
-
852
850
  declare const HAS_POSTER = "has-poster";
853
851
 
854
852
  declare type HasGlobalSrcExtensios<PluginSrcs extends unknown[]> = ArrayToIntersection<PickGlobalSrcExtension<PluginSrcs>>;
@@ -1780,8 +1778,6 @@ declare const RetryMap: {
1780
1778
  readonly OFF: "off";
1781
1779
  };
1782
1780
 
1783
- declare const RTL = "is-rtl";
1784
-
1785
1781
  declare const SampleRate: {
1786
1782
  /**
1787
1783
  * for new features with low adoption rates, or features that are likely to not be used frequently, will include every single instance in the sample.
@@ -1935,11 +1931,9 @@ declare namespace states {
1935
1931
  LOADING,
1936
1932
  STARTING,
1937
1933
  SEEKING,
1938
- GRABBING,
1939
1934
  DISABLED,
1940
1935
  SMALL,
1941
1936
  TINY,
1942
- RTL,
1943
1937
  TV,
1944
1938
  ENDED,
1945
1939
  LIVE_2 as LIVE,
@@ -856,8 +856,6 @@ declare const /**
856
856
  */
857
857
  FULLSCREEN_EXIT = "fullscreenexit";
858
858
 
859
- declare const GRABBING = "is-grabbing";
860
-
861
859
  declare const HAS_POSTER = "has-poster";
862
860
 
863
861
  declare type HasGlobalSrcExtensios<PluginSrcs extends unknown[]> = ArrayToIntersection<PickGlobalSrcExtension<PluginSrcs>>;
@@ -1789,8 +1787,6 @@ declare const RetryMap: {
1789
1787
  readonly OFF: "off";
1790
1788
  };
1791
1789
 
1792
- declare const RTL = "is-rtl";
1793
-
1794
1790
  declare const SampleRate: {
1795
1791
  /**
1796
1792
  * for new features with low adoption rates, or features that are likely to not be used frequently, will include every single instance in the sample.
@@ -1944,11 +1940,9 @@ declare namespace states {
1944
1940
  LOADING,
1945
1941
  STARTING,
1946
1942
  SEEKING,
1947
- GRABBING,
1948
1943
  DISABLED,
1949
1944
  SMALL,
1950
1945
  TINY,
1951
- RTL,
1952
1946
  TV,
1953
1947
  ENDED,
1954
1948
  LIVE_2 as LIVE,
@@ -910,8 +910,6 @@ declare const /**
910
910
  */
911
911
  FULLSCREEN_EXIT = "fullscreenexit";
912
912
 
913
- declare const GRABBING = "is-grabbing";
914
-
915
913
  declare const HAS_POSTER = "has-poster";
916
914
 
917
915
  declare type HasGlobalSrcExtensios<PluginSrcs extends unknown[]> = ArrayToIntersection<PickGlobalSrcExtension<PluginSrcs>>;
@@ -1845,8 +1843,6 @@ declare const RetryMap: {
1845
1843
  readonly OFF: "off";
1846
1844
  };
1847
1845
 
1848
- declare const RTL = "is-rtl";
1849
-
1850
1846
  declare const SampleRate: {
1851
1847
  /**
1852
1848
  * for new features with low adoption rates, or features that are likely to not be used frequently, will include every single instance in the sample.
@@ -2005,11 +2001,9 @@ declare namespace states {
2005
2001
  LOADING,
2006
2002
  STARTING,
2007
2003
  SEEKING,
2008
- GRABBING,
2009
2004
  DISABLED,
2010
2005
  SMALL,
2011
2006
  TINY,
2012
- RTL,
2013
2007
  TV,
2014
2008
  ENDED,
2015
2009
  LIVE_2 as LIVE,
@@ -847,8 +847,6 @@ declare const /**
847
847
  */
848
848
  FULLSCREEN_EXIT = "fullscreenexit";
849
849
 
850
- declare const GRABBING = "is-grabbing";
851
-
852
850
  declare const HAS_POSTER = "has-poster";
853
851
 
854
852
  declare type HasGlobalSrcExtensios<PluginSrcs extends unknown[]> = ArrayToIntersection<PickGlobalSrcExtension<PluginSrcs>>;
@@ -1780,8 +1778,6 @@ declare const RetryMap: {
1780
1778
  readonly OFF: "off";
1781
1779
  };
1782
1780
 
1783
- declare const RTL = "is-rtl";
1784
-
1785
1781
  declare const SampleRate: {
1786
1782
  /**
1787
1783
  * for new features with low adoption rates, or features that are likely to not be used frequently, will include every single instance in the sample.
@@ -1935,11 +1931,9 @@ declare namespace states {
1935
1931
  LOADING,
1936
1932
  STARTING,
1937
1933
  SEEKING,
1938
- GRABBING,
1939
1934
  DISABLED,
1940
1935
  SMALL,
1941
1936
  TINY,
1942
- RTL,
1943
1937
  TV,
1944
1938
  ENDED,
1945
1939
  LIVE_2 as LIVE,
@@ -873,8 +873,6 @@ declare const /**
873
873
  */
874
874
  FULLSCREEN_EXIT = "fullscreenexit";
875
875
 
876
- declare const GRABBING = "is-grabbing";
877
-
878
876
  declare const HAS_POSTER = "has-poster";
879
877
 
880
878
  declare type HasGlobalSrcExtensios<PluginSrcs extends unknown[]> = ArrayToIntersection<PickGlobalSrcExtension<PluginSrcs>>;
@@ -1806,8 +1804,6 @@ declare const RetryMap: {
1806
1804
  readonly OFF: "off";
1807
1805
  };
1808
1806
 
1809
- declare const RTL = "is-rtl";
1810
-
1811
1807
  declare const SampleRate: {
1812
1808
  /**
1813
1809
  * for new features with low adoption rates, or features that are likely to not be used frequently, will include every single instance in the sample.
@@ -1961,11 +1957,9 @@ declare namespace states {
1961
1957
  LOADING,
1962
1958
  STARTING,
1963
1959
  SEEKING,
1964
- GRABBING,
1965
1960
  DISABLED,
1966
1961
  SMALL,
1967
1962
  TINY,
1968
- RTL,
1969
1963
  TV,
1970
1964
  ENDED,
1971
1965
  LIVE_2 as LIVE,
@@ -854,8 +854,6 @@ declare const /**
854
854
  */
855
855
  FULLSCREEN_EXIT = "fullscreenexit";
856
856
 
857
- declare const GRABBING = "is-grabbing";
858
-
859
857
  declare const HAS_POSTER = "has-poster";
860
858
 
861
859
  declare type HasGlobalSrcExtensios<PluginSrcs extends unknown[]> = ArrayToIntersection<PickGlobalSrcExtension<PluginSrcs>>;
@@ -1794,8 +1792,6 @@ declare const RetryMap: {
1794
1792
  readonly OFF: "off";
1795
1793
  };
1796
1794
 
1797
- declare const RTL = "is-rtl";
1798
-
1799
1795
  declare const SampleRate: {
1800
1796
  /**
1801
1797
  * for new features with low adoption rates, or features that are likely to not be used frequently, will include every single instance in the sample.
@@ -1949,11 +1945,9 @@ declare namespace states {
1949
1945
  LOADING,
1950
1946
  STARTING,
1951
1947
  SEEKING,
1952
- GRABBING,
1953
1948
  DISABLED,
1954
1949
  SMALL,
1955
1950
  TINY,
1956
- RTL,
1957
1951
  TV,
1958
1952
  ENDED,
1959
1953
  LIVE_2 as LIVE,
@@ -971,8 +971,6 @@ declare const /**
971
971
  */
972
972
  FULLSCREEN_EXIT = "fullscreenexit";
973
973
 
974
- declare const GRABBING = "is-grabbing";
975
-
976
974
  declare const HAS_POSTER = "has-poster";
977
975
 
978
976
  declare type HasGlobalSrcExtensios<PluginSrcs extends unknown[]> = ArrayToIntersection<PickGlobalSrcExtension<PluginSrcs>>;
@@ -1904,8 +1902,6 @@ declare const RetryMap: {
1904
1902
  readonly OFF: "off";
1905
1903
  };
1906
1904
 
1907
- declare const RTL = "is-rtl";
1908
-
1909
1905
  declare const SampleRate: {
1910
1906
  /**
1911
1907
  * for new features with low adoption rates, or features that are likely to not be used frequently, will include every single instance in the sample.
@@ -2059,11 +2055,9 @@ declare namespace states {
2059
2055
  LOADING,
2060
2056
  STARTING,
2061
2057
  SEEKING,
2062
- GRABBING,
2063
2058
  DISABLED,
2064
2059
  SMALL,
2065
2060
  TINY,
2066
- RTL,
2067
2061
  TV,
2068
2062
  ENDED,
2069
2063
  LIVE_2 as LIVE,
package/plugins/dash.d.ts CHANGED
@@ -918,8 +918,6 @@ declare const /**
918
918
  */
919
919
  FULLSCREEN_EXIT = "fullscreenexit";
920
920
 
921
- declare const GRABBING = "is-grabbing";
922
-
923
921
  declare const HAS_POSTER = "has-poster";
924
922
 
925
923
  declare type HasGlobalSrcExtensios<PluginSrcs extends unknown[]> = ArrayToIntersection<PickGlobalSrcExtension<PluginSrcs>>;
@@ -1853,8 +1851,6 @@ declare const RetryMap: {
1853
1851
  readonly OFF: "off";
1854
1852
  };
1855
1853
 
1856
- declare const RTL = "is-rtl";
1857
-
1858
1854
  declare const SampleRate: {
1859
1855
  /**
1860
1856
  * for new features with low adoption rates, or features that are likely to not be used frequently, will include every single instance in the sample.
@@ -2008,11 +2004,9 @@ declare namespace states {
2008
2004
  LOADING,
2009
2005
  STARTING,
2010
2006
  SEEKING,
2011
- GRABBING,
2012
2007
  DISABLED,
2013
2008
  SMALL,
2014
2009
  TINY,
2015
- RTL,
2016
2010
  TV,
2017
2011
  ENDED,
2018
2012
  LIVE_2 as LIVE,
package/plugins/drm.d.ts CHANGED
@@ -948,8 +948,6 @@ declare const /**
948
948
  */
949
949
  FULLSCREEN_EXIT = "fullscreenexit";
950
950
 
951
- declare const GRABBING = "is-grabbing";
952
-
953
951
  declare const HAS_POSTER = "has-poster";
954
952
 
955
953
  declare type HasGlobalSrcExtensios<PluginSrcs extends unknown[]> = ArrayToIntersection<PickGlobalSrcExtension<PluginSrcs>>;
@@ -1898,8 +1896,6 @@ declare const RetryMap: {
1898
1896
  readonly OFF: "off";
1899
1897
  };
1900
1898
 
1901
- declare const RTL = "is-rtl";
1902
-
1903
1899
  declare const SampleRate: {
1904
1900
  /**
1905
1901
  * for new features with low adoption rates, or features that are likely to not be used frequently, will include every single instance in the sample.
@@ -2053,11 +2049,9 @@ declare namespace states {
2053
2049
  LOADING,
2054
2050
  STARTING,
2055
2051
  SEEKING,
2056
- GRABBING,
2057
2052
  DISABLED,
2058
2053
  SMALL,
2059
2054
  TINY,
2060
- RTL,
2061
2055
  TV,
2062
2056
  ENDED,
2063
2057
  LIVE_2 as LIVE,
@@ -854,8 +854,6 @@ declare const /**
854
854
  */
855
855
  FULLSCREEN_EXIT = "fullscreenexit";
856
856
 
857
- declare const GRABBING = "is-grabbing";
858
-
859
857
  declare const HAS_POSTER = "has-poster";
860
858
 
861
859
  declare type HasGlobalSrcExtensios<PluginSrcs extends unknown[]> = ArrayToIntersection<PickGlobalSrcExtension<PluginSrcs>>;
@@ -1799,8 +1797,6 @@ declare const RetryMap: {
1799
1797
  readonly OFF: "off";
1800
1798
  };
1801
1799
 
1802
- declare const RTL = "is-rtl";
1803
-
1804
1800
  declare const SampleRate: {
1805
1801
  /**
1806
1802
  * for new features with low adoption rates, or features that are likely to not be used frequently, will include every single instance in the sample.
@@ -1954,11 +1950,9 @@ declare namespace states {
1954
1950
  LOADING,
1955
1951
  STARTING,
1956
1952
  SEEKING,
1957
- GRABBING,
1958
1953
  DISABLED,
1959
1954
  SMALL,
1960
1955
  TINY,
1961
- RTL,
1962
1956
  TV,
1963
1957
  ENDED,
1964
1958
  LIVE_2 as LIVE,
package/plugins/fas.d.ts CHANGED
@@ -901,8 +901,6 @@ declare const /**
901
901
  */
902
902
  FULLSCREEN_EXIT = "fullscreenexit";
903
903
 
904
- declare const GRABBING = "is-grabbing";
905
-
906
904
  declare const HAS_POSTER = "has-poster";
907
905
 
908
906
  declare type HasGlobalSrcExtensios<PluginSrcs extends unknown[]> = ArrayToIntersection<PickGlobalSrcExtension<PluginSrcs>>;
@@ -1834,8 +1832,6 @@ declare const RetryMap: {
1834
1832
  readonly OFF: "off";
1835
1833
  };
1836
1834
 
1837
- declare const RTL = "is-rtl";
1838
-
1839
1835
  declare const SampleRate: {
1840
1836
  /**
1841
1837
  * for new features with low adoption rates, or features that are likely to not be used frequently, will include every single instance in the sample.
@@ -1989,11 +1985,9 @@ declare namespace states {
1989
1985
  LOADING,
1990
1986
  STARTING,
1991
1987
  SEEKING,
1992
- GRABBING,
1993
1988
  DISABLED,
1994
1989
  SMALL,
1995
1990
  TINY,
1996
- RTL,
1997
1991
  TV,
1998
1992
  ENDED,
1999
1993
  LIVE_2 as LIVE,
@@ -925,8 +925,6 @@ declare const /**
925
925
  */
926
926
  FULLSCREEN_EXIT = "fullscreenexit";
927
927
 
928
- declare const GRABBING = "is-grabbing";
929
-
930
928
  declare const HAS_POSTER = "has-poster";
931
929
 
932
930
  declare type HasGlobalSrcExtensios<PluginSrcs extends unknown[]> = ArrayToIntersection<PickGlobalSrcExtension<PluginSrcs>>;
@@ -1868,8 +1866,6 @@ declare const RetryMap: {
1868
1866
  readonly OFF: "off";
1869
1867
  };
1870
1868
 
1871
- declare const RTL = "is-rtl";
1872
-
1873
1869
  declare const SampleRate: {
1874
1870
  /**
1875
1871
  * for new features with low adoption rates, or features that are likely to not be used frequently, will include every single instance in the sample.
@@ -2023,11 +2019,9 @@ declare namespace states {
2023
2019
  LOADING,
2024
2020
  STARTING,
2025
2021
  SEEKING,
2026
- GRABBING,
2027
2022
  DISABLED,
2028
2023
  SMALL,
2029
2024
  TINY,
2030
- RTL,
2031
2025
  TV,
2032
2026
  ENDED,
2033
2027
  LIVE_2 as LIVE,
package/plugins/ga4.d.ts CHANGED
@@ -847,8 +847,6 @@ FULLSCREEN_EXIT = "fullscreenexit";
847
847
  declare const GoogleAnalytics4: PluginCtor<NoInfer<Config>, NoInfer<Player>>;
848
848
  export default GoogleAnalytics4;
849
849
 
850
- declare const GRABBING = "is-grabbing";
851
-
852
850
  declare const HAS_POSTER = "has-poster";
853
851
 
854
852
  declare type HasGlobalSrcExtensios<PluginSrcs extends unknown[]> = ArrayToIntersection<PickGlobalSrcExtension<PluginSrcs>>;
@@ -1780,8 +1778,6 @@ declare const RetryMap: {
1780
1778
  readonly OFF: "off";
1781
1779
  };
1782
1780
 
1783
- declare const RTL = "is-rtl";
1784
-
1785
1781
  declare const SampleRate: {
1786
1782
  /**
1787
1783
  * for new features with low adoption rates, or features that are likely to not be used frequently, will include every single instance in the sample.
@@ -1935,11 +1931,9 @@ declare namespace states {
1935
1931
  LOADING,
1936
1932
  STARTING,
1937
1933
  SEEKING,
1938
- GRABBING,
1939
1934
  DISABLED,
1940
1935
  SMALL,
1941
1936
  TINY,
1942
- RTL,
1943
1937
  TV,
1944
1938
  ENDED,
1945
1939
  LIVE_2 as LIVE,
@@ -872,8 +872,6 @@ export declare type GemiusObject = {
872
872
  };
873
873
  };
874
874
 
875
- declare const GRABBING = "is-grabbing";
876
-
877
875
  declare const HAS_POSTER = "has-poster";
878
876
 
879
877
  declare type HasGlobalSrcExtensios<PluginSrcs extends unknown[]> = ArrayToIntersection<PickGlobalSrcExtension<PluginSrcs>>;
@@ -1805,8 +1803,6 @@ declare const RetryMap: {
1805
1803
  readonly OFF: "off";
1806
1804
  };
1807
1805
 
1808
- declare const RTL = "is-rtl";
1809
-
1810
1806
  declare const SampleRate: {
1811
1807
  /**
1812
1808
  * for new features with low adoption rates, or features that are likely to not be used frequently, will include every single instance in the sample.
@@ -1960,11 +1956,9 @@ declare namespace states {
1960
1956
  LOADING,
1961
1957
  STARTING,
1962
1958
  SEEKING,
1963
- GRABBING,
1964
1959
  DISABLED,
1965
1960
  SMALL,
1966
1961
  TINY,
1967
- RTL,
1968
1962
  TV,
1969
1963
  ENDED,
1970
1964
  LIVE_2 as LIVE,
@@ -847,8 +847,6 @@ FULLSCREEN_EXIT = "fullscreenexit";
847
847
  declare const GoogleAnalyticsUA: PluginCtor<NoInfer<Config>, NoInfer<Player>>;
848
848
  export default GoogleAnalyticsUA;
849
849
 
850
- declare const GRABBING = "is-grabbing";
851
-
852
850
  declare const HAS_POSTER = "has-poster";
853
851
 
854
852
  declare type HasGlobalSrcExtensios<PluginSrcs extends unknown[]> = ArrayToIntersection<PickGlobalSrcExtension<PluginSrcs>>;
@@ -1780,8 +1778,6 @@ declare const RetryMap: {
1780
1778
  readonly OFF: "off";
1781
1779
  };
1782
1780
 
1783
- declare const RTL = "is-rtl";
1784
-
1785
1781
  declare const SampleRate: {
1786
1782
  /**
1787
1783
  * for new features with low adoption rates, or features that are likely to not be used frequently, will include every single instance in the sample.
@@ -1935,11 +1931,9 @@ declare namespace states {
1935
1931
  LOADING,
1936
1932
  STARTING,
1937
1933
  SEEKING,
1938
- GRABBING,
1939
1934
  DISABLED,
1940
1935
  SMALL,
1941
1936
  TINY,
1942
- RTL,
1943
1937
  TV,
1944
1938
  ENDED,
1945
1939
  LIVE_2 as LIVE,
package/plugins/hls.d.ts CHANGED
@@ -919,8 +919,6 @@ declare const /**
919
919
  */
920
920
  FULLSCREEN_EXIT = "fullscreenexit";
921
921
 
922
- declare const GRABBING = "is-grabbing";
923
-
924
922
  declare const HAS_POSTER = "has-poster";
925
923
 
926
924
  declare type HasGlobalSrcExtensios<PluginSrcs extends unknown[]> = ArrayToIntersection<PickGlobalSrcExtension<PluginSrcs>>;
@@ -1905,8 +1903,6 @@ declare const RetryMap: {
1905
1903
  readonly OFF: "off";
1906
1904
  };
1907
1905
 
1908
- declare const RTL = "is-rtl";
1909
-
1910
1906
  declare const SampleRate: {
1911
1907
  /**
1912
1908
  * for new features with low adoption rates, or features that are likely to not be used frequently, will include every single instance in the sample.
@@ -2060,11 +2056,9 @@ declare namespace states {
2060
2056
  LOADING,
2061
2057
  STARTING,
2062
2058
  SEEKING,
2063
- GRABBING,
2064
2059
  DISABLED,
2065
2060
  SMALL,
2066
2061
  TINY,
2067
- RTL,
2068
2062
  TV,
2069
2063
  ENDED,
2070
2064
  LIVE_2 as LIVE,
package/plugins/id3.d.ts CHANGED
@@ -847,8 +847,6 @@ declare const /**
847
847
  */
848
848
  FULLSCREEN_EXIT = "fullscreenexit";
849
849
 
850
- declare const GRABBING = "is-grabbing";
851
-
852
850
  declare const HAS_POSTER = "has-poster";
853
851
 
854
852
  declare type HasGlobalSrcExtensios<PluginSrcs extends unknown[]> = ArrayToIntersection<PickGlobalSrcExtension<PluginSrcs>>;
@@ -1846,8 +1844,6 @@ declare const RetryMap: {
1846
1844
  readonly OFF: "off";
1847
1845
  };
1848
1846
 
1849
- declare const RTL = "is-rtl";
1850
-
1851
1847
  declare const SampleRate: {
1852
1848
  /**
1853
1849
  * for new features with low adoption rates, or features that are likely to not be used frequently, will include every single instance in the sample.
@@ -2001,11 +1997,9 @@ declare namespace states {
2001
1997
  LOADING,
2002
1998
  STARTING,
2003
1999
  SEEKING,
2004
- GRABBING,
2005
2000
  DISABLED,
2006
2001
  SMALL,
2007
2002
  TINY,
2008
- RTL,
2009
2003
  TV,
2010
2004
  ENDED,
2011
2005
  LIVE_2 as LIVE,