@glomex/integration-web-component 1.1450.0 → 1.1451.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
@@ -440,7 +440,7 @@ export declare class GlomexMediaItemElement extends HTMLElement {
440
440
 
441
441
  export declare interface GlomexMediaItemWithOverrides {
442
442
  id: string;
443
- overrides: Partial<Omit<MediaItem, 'id' | 'sources' | 'isExternal'>>;
443
+ overrides: Partial<Omit<MediaItem, 'id' | 'sources'>>;
444
444
  }
445
445
 
446
446
  /**
@@ -1300,11 +1300,6 @@ export declare interface MediaItem {
1300
1300
  joynMediaId?: string;
1301
1301
  externalId?: string;
1302
1302
  };
1303
- /**
1304
- * Whether the media item is external. This automatically gets set when an external media item is assigned.
1305
- * @ignore
1306
- */
1307
- isExternal?: boolean;
1308
1303
  /**
1309
1304
  * Poster image of the media item.
1310
1305
  */
@@ -1521,6 +1516,10 @@ export declare interface MediaItem {
1521
1516
  * Indicates the source from which additional metadata was derived (e.g., "joyn").
1522
1517
  */
1523
1518
  metadataSource?: string;
1519
+ /**
1520
+ * Indicates the provider of the media item
1521
+ */
1522
+ provider?: MediaItemProvider;
1524
1523
  }
1525
1524
 
1526
1525
  /**
@@ -1582,6 +1581,15 @@ export declare enum MediaItemErrorCode {
1582
1581
  GENERIC = "Generic"
1583
1582
  }
1584
1583
 
1584
+ export declare enum MediaItemProvider {
1585
+ /** Content from glomex */
1586
+ GLOMEX = "glomex",
1587
+ /** Content from joyn */
1588
+ JOYN = "joyn",
1589
+ /** External content provided directly */
1590
+ EXTERNAL = "external"
1591
+ }
1592
+
1585
1593
  declare type MediaSource_2 = MediaSourceBase | MediaSourceDrm | MediaSourceJoyn | MediaSourceDynamicContent;
1586
1594
  export { MediaSource_2 as MediaSource }
1587
1595
 
package/dist/index.js CHANGED
@@ -1 +1 @@
1
- (r=O||(O={})).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=C||(C={})).INTEGRATION="glomex-integration",T.EXTERNAL_MEDIA_ITEM="glomex-external-media-item",T.GLOMEX_MEDIA_ITEM="glomex-media-item",(_=m||(m={})).INTEGRATION_CONFIGS="application/glomex-integration-configs+json",_.EXTERNAL_MEDIA_ITEM="application/glomex-external-media-item+json";let e="turbo-player";(N=L||(L={})).HIDDEN="hidden",N.INLINE="inline",N.DOCK="dock",N.LIGHTBOX="lightbox",N.LIGHTBOX_EXTERNAL="lightbox-external",N.FULLSCREEN="fullscreen",N.AMP_DOCK="amp-dock",(l=u||(u={})).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",(A=D||(D={})).TIME_IN_SECONDS="time",A.PERCENT="percent",A.TIME_IN_SECONDS_RECURRING="timeRecurring",(I=S||(S={})).PREROLL="preroll",I.MIDROLL="midroll",I.POSTROLL="postroll",I.FIRST_QUARTILE="contentFirstQuartile",I.MIDPOINT="contentMidpoint",I.THIRD_QUARTILE="contentThirdQuartile",I.COMPLETE="contentComplete",I.STILL_INTERESTING="stillInteresting",I.REQUEST_RECOMMENDATIONS="requestRecommendations",(s=P||(P={})).NOT_FOUND="NotFound",s.NOT_AVAILABLE="NotAvailable",s.GEOBLOCKED="Geoblocked",s.YOUTH_PROTECTED="YouthProtected",s.TERMINATED="Terminated",s.GENERIC="Generic",(c=M||(M={})).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=g||(g={})).LIVE="live",p.VOD="vod",p.INTERACTIVE="interactive",p.EMBED="embed",(d=U||(U={})).PRE_CLICK="pre-click-to-play",d.CLICK="click-to-play",d.AUTOPLAY_SCROLL="autoplay-scroll",d.AUTOPLAY_SCROLL_OUT="autoplay-scroll-out",d.CLICK_NEXT="click-to-play-next",d.CLICK_REPLAY="click-to-play-replay",d.AUTOPLAY_NEXT="autoplay-next",(R=y||(y={})).CLEAR_PLAYLIST="clearPlaylist",R.SELECT_PLAYLIST_ITEM="selectPlaylistItem",R.ENDED="ended",R.CONTENT_ERROR="contentError",R.API_STOP="apiStop",R.LIVESTREAM_STOP="livestreamStop",R.PAGE_HIDE="pageHide",R.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(C.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,l,A,I,s,c,p,d,R,O,C,m,L,u,D,S,P,M,g,U,y,G="turbo",b="glomex";export{t as ALLOWED_UI_ACTIONS,C as ComponentName,y as ContentStopReason,e as EXTERNAL_PLAYER_NAME,u as IntegrationEvent,S as KnownMarkerName,D as MarkerType,P as MediaItemErrorCode,M as Mimetype,O as Origin,g as PlaybackMode,L as PresentationMode,m as ScriptType,U as StartMethod,o as getIntegrationCssUrl,E as loadIntegrationComponent,i as loadIntegrationStyles,G as INTERNAL_PREFIX,b as PUBLIC_PREFIX};
1
+ (i=m||(m={})).DEFAULT="turbo-integration",i.SCRIPT="turbo-script",i.IFRAME="turbo-iframe",i.FULLPAGE="turbo-fullpage",i.AMP_VIDEO_IFRAME="turbo-amp-video-iframe",i.AMP_IFRAME="turbo-amp-iframe",(T=L||(L={})).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",(l=D||(D={})).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=S||(S={})).TIME_IN_SECONDS="time",s.PERCENT="percent",s.TIME_IN_SECONDS_RECURRING="timeRecurring",(I=P||(P={})).PREROLL="preroll",I.MIDROLL="midroll",I.POSTROLL="postroll",I.FIRST_QUARTILE="contentFirstQuartile",I.MIDPOINT="contentMidpoint",I.THIRD_QUARTILE="contentThirdQuartile",I.COMPLETE="contentComplete",I.STILL_INTERESTING="stillInteresting",I.REQUEST_RECOMMENDATIONS="requestRecommendations",(A=M||(M={})).NOT_FOUND="NotFound",A.NOT_AVAILABLE="NotAvailable",A.GEOBLOCKED="Geoblocked",A.YOUTH_PROTECTED="YouthProtected",A.TERMINATED="Terminated",A.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(L.INTEGRATION))return;let e=document.createElement("script");e.innerText=`import('${a}');`,e.type="module",(document.head||document.body).appendChild(e)}function r(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 i,T,_,N,l,s,I,A,d,c,p,R,O,m,L,C,u,D,S,P,M,g,U,y,G,b,k="turbo",x="glomex";export{t as ALLOWED_UI_ACTIONS,L 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,m as Origin,y as PlaybackMode,u as PresentationMode,C as ScriptType,G as StartMethod,o as getIntegrationCssUrl,E as loadIntegrationComponent,r 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.1450.0",
3
+ "version": "1.1451.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.1450.0",
35
+ "@glomex/integration": "1.1451.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": "8965805926150a0866b16925af9d5853f929569f"
45
+ "gitHead": "8de773b6419d28fc267b510574190cb19f667b43"
46
46
  }