@glomex/integration-web-component 1.1474.0 → 1.1475.0

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.
package/dist/index.d.ts CHANGED
@@ -184,6 +184,8 @@ export declare interface CustomMarker extends Omit<Marker, 'name'> {
184
184
  name: string;
185
185
  }
186
186
 
187
+ export declare const DEBUG_CONFIG_STORAGE_KEY = "turboDebugPlayerConfig";
188
+
187
189
  declare interface Experiment {
188
190
  name: string;
189
191
  enabled: boolean;
package/dist/index.js CHANGED
@@ -1 +1 @@
1
- (r=L||(L={})).DEFAULT="turbo-integration",r.SCRIPT="turbo-script",r.IFRAME="turbo-iframe",r.FULLPAGE="turbo-fullpage",r.AMP_VIDEO_IFRAME="turbo-amp-video-iframe",r.AMP_IFRAME="turbo-amp-iframe",(T=m||(m={})).INTEGRATION="glomex-integration",T.EXTERNAL_MEDIA_ITEM="glomex-external-media-item",T.GLOMEX_MEDIA_ITEM="glomex-media-item",(_=C||(C={})).INTEGRATION_CONFIGS="application/glomex-integration-configs+json",_.EXTERNAL_MEDIA_ITEM="application/glomex-external-media-item+json";let e="turbo-player";(N=u||(u={})).HIDDEN="hidden",N.INLINE="inline",N.DOCK="dock",N.LIGHTBOX="lightbox",N.LIGHTBOX_EXTERNAL="lightbox-external",N.FULLSCREEN="fullscreen",N.AMP_DOCK="amp-dock",(I=D||(D={})).READY="ready",I.INTEGRATION_ABORT="integrationabort",I.INTEGRATION_AD_AVAILABLE="integrationadavailable",I.INTEGRATION_PASSBACK="integrationpassback",I.USER_UPDATE_CONSENT="userupdateconsent",I.PLAYLIST_UPDATE="playlistupdate",I.PLAYER_SET_PRESENTATION_MODE="playersetpresentationmode",I.CONTENT_SELECT="contentselect",I.CONTENT_START="contentstart",I.CONTENT_IMPRESSION="contentimpression",I.CONTENT_BUFFERING_START="contentbufferingstart",I.CONTENT_BUFFERING_END="contentbufferingend",I.CONTENT_STOP="contentstop",I.CONTENT_ERROR="contenterror",I.CONTENT_MARKER_REACHED="contentmarkerreached",I.CONTENT_QUALITY_CHANGED="contentqualitychanged",I.CONTENT_TIME_UPDATE="timeupdate",I.CONTENT_SEEKING="seeking",I.CONTENT_SEEKED="seeked",I.CONTENT_PLAY="play",I.CONTENT_PAUSE="pause",I.CONTENT_VOLUME_CHANGE="volumechange",I.CONTENT_ENDED="ended",I.AD_BREAK_REQUEST="adbreakrequest",I.AD_BREAK_REQUEST_ERROR="adbreakrequesterror",I.AD_LOADED="adloaded",I.AD_IMPRESSION="adimpression",I.AD_BUFFERING_START="adbufferingstart",I.AD_BUFFERING_END="adbufferingend",I.AD_TIME_UPDATE="adtimeupdate",I.AD_VOLUME_CHANGE="advolumechange",I.AD_PAUSED="adpaused",I.AD_RESUMED="adresumed",I.AD_CLICK="adclick",I.AD_SKIPPED="adskipped",I.AD_COMPLETE="adcomplete",I.UI_INTERACTION="uiinteraction",(A=S||(S={})).TIME_IN_SECONDS="time",A.PERCENT="percent",A.TIME_IN_SECONDS_RECURRING="timeRecurring",(l=P||(P={})).PREROLL="preroll",l.MIDROLL="midroll",l.POSTROLL="postroll",l.FIRST_QUARTILE="contentFirstQuartile",l.MIDPOINT="contentMidpoint",l.THIRD_QUARTILE="contentThirdQuartile",l.COMPLETE="contentComplete",l.STILL_INTERESTING="stillInteresting",l.REQUEST_RECOMMENDATIONS="requestRecommendations",(s=M||(M={})).NOT_FOUND="NotFound",s.NOT_AVAILABLE="NotAvailable",s.GEOBLOCKED="Geoblocked",s.YOUTH_PROTECTED="YouthProtected",s.TERMINATED="Terminated",s.LOGIN_REQUIRED="LoginRequired",s.HIGHER_TIER_ACCOUNT_REQUIRED="HigherTierAccountRequired",s.GENERIC="Generic",(d=g||(g={})).GLOMEX="glomex",d.JOYN="joyn",d.EXTERNAL="external",(c=U||(U={})).HLS="application/vnd.apple.mpegurl",c.HLS_LEGACY="application/x-mpegURL",c.DASH="application/dash+xml",c.MP4="video/mp4",c.OGG="video/ogg",c.WEBM="video/webm",c.MP3="audio/mp3",c.AAC="audio/aac",c.WAV="audio/wav",c.OGG_AUDIO="audio/ogg",c.MPEG_AUDIO="audio/mpeg",c.DYNAMIC_CONTENT="application/x-turbo-dynamic-content",c.JOYN="application/x-joyn-source",(p=y||(y={})).LIVE="live",p.VOD="vod",p.INTERACTIVE="interactive",p.EMBED="embed",(R=G||(G={})).PRE_CLICK="pre-click-to-play",R.CLICK="click-to-play",R.AUTOPLAY_SCROLL="autoplay-scroll",R.AUTOPLAY_SCROLL_OUT="autoplay-scroll-out",R.CLICK_NEXT="click-to-play-next",R.CLICK_REPLAY="click-to-play-replay",R.AUTOPLAY_NEXT="autoplay-next",(O=b||(b={})).CLEAR_PLAYLIST="clearPlaylist",O.SELECT_PLAYLIST_ITEM="selectPlaylistItem",O.ENDED="ended",O.CONTENT_ERROR="contentError",O.API_STOP="apiStop",O.LIVESTREAM_STOP="livestreamStop",O.PAGE_HIDE="pageHide",O.BEFORE_UNLOAD="beforeUnload";let t=["play","pause","openEpg","startAgeSetup","forgotPin"],n="player.glomex.com",a=`https://${n}/integration/1/integration.js`;function o(e){return`https://${n}/variant/${e}/variant.css`}function E(){if(window.customElements.get(m.INTEGRATION))return;let e=document.createElement("script");e.innerText=`import('${a}');`,e.type="module",(document.head||document.body).appendChild(e)}function i(e){if(document.querySelector(`link[href="${o(e)}"]`))return;let t=document.createElement("link");t.rel="stylesheet",t.href=o(e),(document.head||document.body).appendChild(t)}var r,T,_,N,I,A,l,s,d,c,p,R,O,L,m,C,u,D,S,P,M,g,U,y,G,b,k="turbo",x="glomex";export{t as ALLOWED_UI_ACTIONS,m as ComponentName,b as ContentStopReason,e as EXTERNAL_PLAYER_NAME,D as IntegrationEvent,P as KnownMarkerName,S as MarkerType,M as MediaItemErrorCode,g as MediaItemProvider,U as Mimetype,L as Origin,y as PlaybackMode,u as PresentationMode,C as ScriptType,G as StartMethod,o as getIntegrationCssUrl,E as loadIntegrationComponent,i as loadIntegrationStyles,k as INTERNAL_PREFIX,x as PUBLIC_PREFIX};
1
+ (_=m||(m={})).DEFAULT="turbo-integration",_.SCRIPT="turbo-script",_.IFRAME="turbo-iframe",_.FULLPAGE="turbo-fullpage",_.AMP_VIDEO_IFRAME="turbo-amp-video-iframe",_.AMP_IFRAME="turbo-amp-iframe",(N=u||(u={})).INTEGRATION="glomex-integration",N.EXTERNAL_MEDIA_ITEM="glomex-external-media-item",N.GLOMEX_MEDIA_ITEM="glomex-media-item",(I=D||(D={})).INTEGRATION_CONFIGS="application/glomex-integration-configs+json",I.EXTERNAL_MEDIA_ITEM="application/glomex-external-media-item+json";let e="turbo",t=`${e}-player`,n=`${e}DebugPlayerConfig`;(A=S||(S={})).HIDDEN="hidden",A.INLINE="inline",A.DOCK="dock",A.LIGHTBOX="lightbox",A.LIGHTBOX_EXTERNAL="lightbox-external",A.FULLSCREEN="fullscreen",A.AMP_DOCK="amp-dock",(l=P||(P={})).READY="ready",l.INTEGRATION_ABORT="integrationabort",l.INTEGRATION_AD_AVAILABLE="integrationadavailable",l.INTEGRATION_PASSBACK="integrationpassback",l.USER_UPDATE_CONSENT="userupdateconsent",l.PLAYLIST_UPDATE="playlistupdate",l.PLAYER_SET_PRESENTATION_MODE="playersetpresentationmode",l.CONTENT_SELECT="contentselect",l.CONTENT_START="contentstart",l.CONTENT_IMPRESSION="contentimpression",l.CONTENT_BUFFERING_START="contentbufferingstart",l.CONTENT_BUFFERING_END="contentbufferingend",l.CONTENT_STOP="contentstop",l.CONTENT_ERROR="contenterror",l.CONTENT_MARKER_REACHED="contentmarkerreached",l.CONTENT_QUALITY_CHANGED="contentqualitychanged",l.CONTENT_TIME_UPDATE="timeupdate",l.CONTENT_SEEKING="seeking",l.CONTENT_SEEKED="seeked",l.CONTENT_PLAY="play",l.CONTENT_PAUSE="pause",l.CONTENT_VOLUME_CHANGE="volumechange",l.CONTENT_ENDED="ended",l.AD_BREAK_REQUEST="adbreakrequest",l.AD_BREAK_REQUEST_ERROR="adbreakrequesterror",l.AD_LOADED="adloaded",l.AD_IMPRESSION="adimpression",l.AD_BUFFERING_START="adbufferingstart",l.AD_BUFFERING_END="adbufferingend",l.AD_TIME_UPDATE="adtimeupdate",l.AD_VOLUME_CHANGE="advolumechange",l.AD_PAUSED="adpaused",l.AD_RESUMED="adresumed",l.AD_CLICK="adclick",l.AD_SKIPPED="adskipped",l.AD_COMPLETE="adcomplete",l.UI_INTERACTION="uiinteraction",(s=M||(M={})).TIME_IN_SECONDS="time",s.PERCENT="percent",s.TIME_IN_SECONDS_RECURRING="timeRecurring",(d=g||(g={})).PREROLL="preroll",d.MIDROLL="midroll",d.POSTROLL="postroll",d.FIRST_QUARTILE="contentFirstQuartile",d.MIDPOINT="contentMidpoint",d.THIRD_QUARTILE="contentThirdQuartile",d.COMPLETE="contentComplete",d.STILL_INTERESTING="stillInteresting",d.REQUEST_RECOMMENDATIONS="requestRecommendations",(c=U||(U={})).NOT_FOUND="NotFound",c.NOT_AVAILABLE="NotAvailable",c.GEOBLOCKED="Geoblocked",c.YOUTH_PROTECTED="YouthProtected",c.TERMINATED="Terminated",c.LOGIN_REQUIRED="LoginRequired",c.HIGHER_TIER_ACCOUNT_REQUIRED="HigherTierAccountRequired",c.GENERIC="Generic",(p=G||(G={})).GLOMEX="glomex",p.JOYN="joyn",p.EXTERNAL="external",(R=y||(y={})).HLS="application/vnd.apple.mpegurl",R.HLS_LEGACY="application/x-mpegURL",R.DASH="application/dash+xml",R.MP4="video/mp4",R.OGG="video/ogg",R.WEBM="video/webm",R.MP3="audio/mp3",R.AAC="audio/aac",R.WAV="audio/wav",R.OGG_AUDIO="audio/ogg",R.MPEG_AUDIO="audio/mpeg",R.DYNAMIC_CONTENT="application/x-turbo-dynamic-content",R.JOYN="application/x-joyn-source",(O=b||(b={})).LIVE="live",O.VOD="vod",O.INTERACTIVE="interactive",O.EMBED="embed",(C=k||(k={})).PRE_CLICK="pre-click-to-play",C.CLICK="click-to-play",C.AUTOPLAY_SCROLL="autoplay-scroll",C.AUTOPLAY_SCROLL_OUT="autoplay-scroll-out",C.CLICK_NEXT="click-to-play-next",C.CLICK_REPLAY="click-to-play-replay",C.AUTOPLAY_NEXT="autoplay-next",(L=F||(F={})).CLEAR_PLAYLIST="clearPlaylist",L.SELECT_PLAYLIST_ITEM="selectPlaylistItem",L.ENDED="ended",L.CONTENT_ERROR="contentError",L.API_STOP="apiStop",L.LIVESTREAM_STOP="livestreamStop",L.PAGE_HIDE="pageHide",L.BEFORE_UNLOAD="beforeUnload";let a=["play","pause","openEpg","startAgeSetup","forgotPin"],o="player.glomex.com",E=`https://${o}/integration/1/integration.js`;function i(e){return`https://${o}/variant/${e}/variant.css`}function r(){if(window.customElements.get(u.INTEGRATION))return;let e=document.createElement("script");e.innerText=`import('${E}');`,e.type="module",(document.head||document.body).appendChild(e)}function T(e){if(document.querySelector(`link[href="${i(e)}"]`))return;let t=document.createElement("link");t.rel="stylesheet",t.href=i(e),(document.head||document.body).appendChild(t)}var _,N,I,A,l,s,d,c,p,R,O,C,L,m,u,D,S,P,M,g,U,G,y,b,k,F,f="turbo",x="glomex";export{a as ALLOWED_UI_ACTIONS,u as ComponentName,F as ContentStopReason,n as DEBUG_CONFIG_STORAGE_KEY,t as EXTERNAL_PLAYER_NAME,P as IntegrationEvent,g as KnownMarkerName,M as MarkerType,U as MediaItemErrorCode,G as MediaItemProvider,y as Mimetype,m as Origin,b as PlaybackMode,S as PresentationMode,D as ScriptType,k as StartMethod,i as getIntegrationCssUrl,r as loadIntegrationComponent,T as loadIntegrationStyles,f as INTERNAL_PREFIX,x as PUBLIC_PREFIX};
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@glomex/integration-web-component",
3
- "version": "1.1474.0",
3
+ "version": "1.1475.0",
4
4
  "description": "Web component and types to integrate the glomex player",
5
5
  "documentation": "https://docs.glomex.com",
6
6
  "homepage": "https://glomex.com",
@@ -32,7 +32,7 @@
32
32
  },
33
33
  "devDependencies": {
34
34
  "@biomejs/biome": "catalog:",
35
- "@glomex/integration": "1.1474.0",
35
+ "@glomex/integration": "1.1475.0",
36
36
  "@microsoft/api-extractor": "catalog:",
37
37
  "@rslib/core": "catalog:",
38
38
  "npm-run-all": "catalog:",
@@ -42,5 +42,5 @@
42
42
  "access": "public"
43
43
  },
44
44
  "license": "MIT",
45
- "gitHead": "d18ce7915a6b3dc23ef1172cc4701908f2b70999"
45
+ "gitHead": "e2538e862275d460fcb4dccab4e7cd58e8e99458"
46
46
  }