@glomex/integration-web-component 1.1469.1 → 1.1470.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 +8 -4
- package/dist/index.js +1 -1
- package/package.json +3 -3
package/dist/index.d.ts
CHANGED
|
@@ -83,13 +83,15 @@ export declare interface AudioTrack {
|
|
|
83
83
|
}
|
|
84
84
|
|
|
85
85
|
export declare interface Channel {
|
|
86
|
-
/**
|
|
86
|
+
/** Human-readable channel title shown in the player UI */
|
|
87
87
|
name: string;
|
|
88
|
-
/**
|
|
88
|
+
/** Stable machine-facing code used for lookups or analytics */
|
|
89
|
+
code?: string;
|
|
90
|
+
/** Provider-specific identifier when it differs from `code` */
|
|
89
91
|
id?: string;
|
|
90
|
-
/**
|
|
92
|
+
/** Canonical playback or landing URL clients should open */
|
|
91
93
|
url?: string;
|
|
92
|
-
/** Square logo
|
|
94
|
+
/** Square channel-logo URL (ideally 96x96) used wherever icons appear */
|
|
93
95
|
logo?: string;
|
|
94
96
|
}
|
|
95
97
|
|
|
@@ -1590,6 +1592,8 @@ export declare enum MediaItemErrorCode {
|
|
|
1590
1592
|
GEOBLOCKED = "Geoblocked",
|
|
1591
1593
|
YOUTH_PROTECTED = "YouthProtected",
|
|
1592
1594
|
TERMINATED = "Terminated",
|
|
1595
|
+
LOGIN_REQUIRED = "LoginRequired",
|
|
1596
|
+
HIGHER_TIER_ACCOUNT_REQUIRED = "HigherTierAccountRequired",
|
|
1593
1597
|
GENERIC = "Generic"
|
|
1594
1598
|
}
|
|
1595
1599
|
|
package/dist/index.js
CHANGED
|
@@ -1 +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};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@glomex/integration-web-component",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.1470.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.
|
|
35
|
+
"@glomex/integration": "1.1470.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": "
|
|
45
|
+
"gitHead": "d218d622f96762715ce586d12f3ea1ce9484282d"
|
|
46
46
|
}
|