@glomex/integration-web-component 1.1484.0 → 1.1486.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
@@ -172,6 +172,7 @@ export declare interface ContentSource {
172
172
  playbackMode: PlaybackMode;
173
173
  entitlementToken?: string;
174
174
  drm: boolean;
175
+ liveEdgeTolerance: number;
175
176
  }
176
177
 
177
178
  export declare enum ContentStopReason {
@@ -1587,6 +1588,13 @@ export declare interface MediaItem {
1587
1588
  startTime: number;
1588
1589
  /** UTC end time of the livestream in milliseconds */
1589
1590
  endTime?: number;
1591
+ /** EPG entries containing UTC start and end times in milliseconds. Can be used for timeshift functionality (e.g., jump markers within the DVR window).*/
1592
+ epgEntries?: {
1593
+ /** UTC start time of the livestream program in unix time */
1594
+ startDate: number;
1595
+ /** UTC end time of the livestream program in unix time */
1596
+ endDate: number;
1597
+ }[];
1590
1598
  };
1591
1599
  /**
1592
1600
  * Only relevant for glomex-internal use. Mark it to allow teaser experiments.
@@ -1680,6 +1688,10 @@ export declare enum MediaItemErrorCode {
1680
1688
  TERMINATED = "Terminated",
1681
1689
  LOGIN_REQUIRED = "LoginRequired",
1682
1690
  HIGHER_TIER_ACCOUNT_REQUIRED = "HigherTierAccountRequired",
1691
+ VPN_DETECTED = "VpnDetected",
1692
+ AGE_VERIFICATION_REQUIRED = "AgeVerificationRequired",
1693
+ PIN_REQUIRED = "PinRequired",
1694
+ INVALID_PIN = "InvalidPin",
1683
1695
  GENERIC = "Generic"
1684
1696
  }
1685
1697
 
package/dist/index.js CHANGED
@@ -1 +1 @@
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.AD_ERROR="aderror",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",(R=G||(G={})).GLOMEX="glomex",R.JOYN="joyn",R.EXTERNAL="external",(p=y||(y={})).HLS="application/vnd.apple.mpegurl",p.HLS_LEGACY="application/x-mpegURL",p.DASH="application/dash+xml",p.MP4="video/mp4",p.OGG="video/ogg",p.WEBM="video/webm",p.MP3="audio/mp3",p.AAC="audio/aac",p.WAV="audio/wav",p.OGG_AUDIO="audio/ogg",p.MPEG_AUDIO="audio/mpeg",p.DYNAMIC_CONTENT="application/x-turbo-dynamic-content",p.JOYN="application/x-joyn-source",(O=b||(b={})).LIVE="live",O.VOD="vod",O.INTERACTIVE="interactive",O.EMBED="embed",(C=F||(F={})).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"],E="player.glomex.com",o=`https://${E}/integration/1/integration.js`;function r(e){return`https://${E}/variant/${e}/variant.css`}function i(){if(window.customElements.get(u.INTEGRATION))return;let e=document.createElement("script");e.innerText=`import('${o}');`,e.type="module",(document.head||document.body).appendChild(e)}function T(e){if(document.querySelector(`link[href="${r(e)}"]`))return;let t=document.createElement("link");t.rel="stylesheet",t.href=r(e),(document.head||document.body).appendChild(t)}var _,N,I,A,l,s,d,c,R,p,O,C,L,m,u,D,S,P,M,g,U,G,y,b,F,f,k="turbo",h="glomex";export{a as ALLOWED_UI_ACTIONS,n as DEBUG_CONFIG_STORAGE_KEY,t as EXTERNAL_PLAYER_NAME,u as ComponentName,f as ContentStopReason,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,F as StartMethod,r as getIntegrationCssUrl,i as loadIntegrationComponent,T as loadIntegrationStyles,k as INTERNAL_PREFIX,h 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",(I=D||(D={})).INTEGRATION="glomex-integration",I.EXTERNAL_MEDIA_ITEM="glomex-external-media-item",I.GLOMEX_MEDIA_ITEM="glomex-media-item",(N=u||(u={})).INTEGRATION_CONFIGS="application/glomex-integration-configs+json",N.EXTERNAL_MEDIA_ITEM="application/glomex-external-media-item+json";let e="turbo",t=`${e}-player`,n=`${e}DebugPlayerConfig`;(A=P||(P={})).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=S||(S={})).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.AD_ERROR="aderror",l.UI_INTERACTION="uiinteraction",(d=M||(M={})).TIME_IN_SECONDS="time",d.PERCENT="percent",d.TIME_IN_SECONDS_RECURRING="timeRecurring",(s=g||(g={})).PREROLL="preroll",s.MIDROLL="midroll",s.POSTROLL="postroll",s.FIRST_QUARTILE="contentFirstQuartile",s.MIDPOINT="contentMidpoint",s.THIRD_QUARTILE="contentThirdQuartile",s.COMPLETE="contentComplete",s.STILL_INTERESTING="stillInteresting",s.REQUEST_RECOMMENDATIONS="requestRecommendations",(R=U||(U={})).NOT_FOUND="NotFound",R.NOT_AVAILABLE="NotAvailable",R.GEOBLOCKED="Geoblocked",R.YOUTH_PROTECTED="YouthProtected",R.TERMINATED="Terminated",R.LOGIN_REQUIRED="LoginRequired",R.HIGHER_TIER_ACCOUNT_REQUIRED="HigherTierAccountRequired",R.VPN_DETECTED="VpnDetected",R.AGE_VERIFICATION_REQUIRED="AgeVerificationRequired",R.PIN_REQUIRED="PinRequired",R.INVALID_PIN="InvalidPin",R.GENERIC="Generic",(c=G||(G={})).GLOMEX="glomex",c.JOYN="joyn",c.EXTERNAL="external",(p=y||(y={})).HLS="application/vnd.apple.mpegurl",p.HLS_LEGACY="application/x-mpegURL",p.DASH="application/dash+xml",p.MP4="video/mp4",p.OGG="video/ogg",p.WEBM="video/webm",p.MP3="audio/mp3",p.AAC="audio/aac",p.WAV="audio/wav",p.OGG_AUDIO="audio/ogg",p.MPEG_AUDIO="audio/mpeg",p.DYNAMIC_CONTENT="application/x-turbo-dynamic-content",p.JOYN="application/x-joyn-source",(O=b||(b={})).LIVE="live",O.VOD="vod",O.INTERACTIVE="interactive",O.EMBED="embed",(C=F||(F={})).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 E=["play","pause","openEpg","startAgeSetup","forgotPin"],a="player.glomex.com",o=`https://${a}/integration/1/integration.js`;function i(e){return`https://${a}/variant/${e}/variant.css`}function r(){if(window.customElements.get(D.INTEGRATION))return;let e=document.createElement("script");e.innerText=`import('${o}');`,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 _,I,N,A,l,d,s,R,c,p,O,C,L,m,D,u,P,S,M,g,U,G,y,b,F,f,k="turbo",x="glomex";export{E as ALLOWED_UI_ACTIONS,D as ComponentName,f as ContentStopReason,n as DEBUG_CONFIG_STORAGE_KEY,t as EXTERNAL_PLAYER_NAME,S as IntegrationEvent,g as KnownMarkerName,M as MarkerType,U as MediaItemErrorCode,G as MediaItemProvider,y as Mimetype,m as Origin,b as PlaybackMode,P as PresentationMode,u as ScriptType,F as StartMethod,i as getIntegrationCssUrl,r as loadIntegrationComponent,T as loadIntegrationStyles,k 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.1484.0",
3
+ "version": "1.1486.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.1484.0",
35
+ "@glomex/integration": "1.1486.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": "cc954be54758d2c88656f48a5ca209f97a99e09c"
45
+ "gitHead": "42aeacda8011d52f7193583b83f09997c8056646"
46
46
  }