@glomex/integration-web-component 1.1423.0 → 1.1425.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.js +1 -1
- package/package.json +11 -8
package/dist/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
(
|
|
1
|
+
var e,t,n,a,o,E,i,T,r,_,N,l,I,s,A,c,d,p,O,R,m,C,L,u;(I=e||(e={})).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",(s=t||(t={})).INTEGRATION="glomex-integration",s.EXTERNAL_MEDIA_ITEM="glomex-external-media-item",s.GLOMEX_MEDIA_ITEM="glomex-media-item",(A=n||(n={})).INTEGRATION_CONFIGS="application/glomex-integration-configs+json",A.EXTERNAL_MEDIA_ITEM="application/glomex-external-media-item+json";let D="glomex",S="turbo",M=`${S}-player`;(c=a||(a={})).HIDDEN="hidden",c.INLINE="inline",c.DOCK="dock",c.LIGHTBOX="lightbox",c.LIGHTBOX_EXTERNAL="lightbox-external",c.FULLSCREEN="fullscreen",c.AMP_DOCK="amp-dock",(d=o||(o={})).READY="ready",d.INTEGRATION_ABORT="integrationabort",d.INTEGRATION_AD_AVAILABLE="integrationadavailable",d.INTEGRATION_PASSBACK="integrationpassback",d.USER_UPDATE_CONSENT="userupdateconsent",d.PLAYLIST_UPDATE="playlistupdate",d.PLAYER_SET_PRESENTATION_MODE="playersetpresentationmode",d.CONTENT_SELECT="contentselect",d.CONTENT_START="contentstart",d.CONTENT_IMPRESSION="contentimpression",d.CONTENT_BUFFERING_START="contentbufferingstart",d.CONTENT_BUFFERING_END="contentbufferingend",d.CONTENT_STOP="contentstop",d.CONTENT_ERROR="contenterror",d.CONTENT_MARKER_REACHED="contentmarkerreached",d.CONTENT_TIME_UPDATE="timeupdate",d.CONTENT_SEEKING="seeking",d.CONTENT_SEEKED="seeked",d.CONTENT_PLAY="play",d.CONTENT_PAUSE="pause",d.CONTENT_VOLUME_CHANGE="volumechange",d.CONTENT_ENDED="ended",d.AD_LOADED="adloaded",d.AD_IMPRESSION="adimpression",d.AD_BUFFERING_START="adbufferingstart",d.AD_BUFFERING_END="adbufferingend",d.AD_TIME_UPDATE="adtimeupdate",d.AD_VOLUME_CHANGE="advolumechange",d.AD_PAUSED="adpaused",d.AD_RESUMED="adresumed",d.AD_CLICK="adclick",d.AD_SKIPPED="adskipped",d.AD_COMPLETE="adcomplete",d.UI_INTERACTION="uiinteraction",(p=E||(E={})).TIME_IN_SECONDS="time",p.PERCENT="percent",p.TIME_IN_SECONDS_RECURRING="timeRecurring",(O=i||(i={})).PREROLL="preroll",O.MIDROLL="midroll",O.POSTROLL="postroll",O.FIRST_QUARTILE="contentFirstQuartile",O.MIDPOINT="contentMidpoint",O.THIRD_QUARTILE="contentThirdQuartile",O.COMPLETE="contentComplete",O.STILL_INTERESTING="stillInteresting",O.REQUEST_RECOMMENDATIONS="requestRecommendations",(R=T||(T={})).NOT_FOUND="NotFound",R.NOT_AVAILABLE="NotAvailable",R.GEOBLOCKED="Geoblocked",R.YOUTH_PROTECTED="YouthProtected",R.TERMINATED="Terminated",R.GENERIC="Generic",(m=r||(r={})).HLS="application/vnd.apple.mpegurl",m.HLS_LEGACY="application/x-mpegURL",m.DASH="application/dash+xml",m.MP4="video/mp4",m.OGG="video/ogg",m.WEBM="video/webm",m.MP3="audio/mp3",m.AAC="audio/aac",m.WAV="audio/wav",m.OGG_AUDIO="audio/ogg",m.MPEG_AUDIO="audio/mpeg",m.DYNAMIC_CONTENT="application/x-turbo-dynamic-content",m.JOYN="application/x-joyn-source",(C=_||(_={})).LIVE="live",C.VOD="vod",C.INTERACTIVE="interactive",C.EMBED="embed",(L=N||(N={})).PRE_CLICK="pre-click-to-play",L.CLICK="click-to-play",L.AUTOPLAY_SCROLL="autoplay-scroll",L.AUTOPLAY_SCROLL_OUT="autoplay-scroll-out",L.CLICK_NEXT="click-to-play-next",L.CLICK_REPLAY="click-to-play-replay",L.AUTOPLAY_NEXT="autoplay-next",(u=l||(l={})).CLEAR_PLAYLIST="clearPlaylist",u.SELECT_PLAYLIST_ITEM="selectPlaylistItem",u.ENDED="ended",u.CONTENT_ERROR="contentError",u.API_STOP="apiStop",u.LIVESTREAM_STOP="livestreamStop",u.PAGE_HIDE="pageHide";let P=["play","pause","openEpg"],g="player.glomex.com",U=`https://${g}/integration/1/integration.js`;function y(e){return`https://${g}/variant/${e}/variant.css`}function G(){if(window.customElements.get(t.INTEGRATION))return;let e=document.createElement("script");e.innerText=`import('${U}');`,e.type="module",(document.head||document.body).appendChild(e)}function b(e){if(document.querySelector(`link[href="${y(e)}"]`))return;let t=document.createElement("link");t.rel="stylesheet",t.href=y(e),(document.head||document.body).appendChild(t)}export{P as ALLOWED_UI_ACTIONS,t as ComponentName,l as ContentStopReason,M as EXTERNAL_PLAYER_NAME,S as INTERNAL_PREFIX,o as IntegrationEvent,i as KnownMarkerName,E as MarkerType,T as MediaItemErrorCode,r as Mimetype,e as Origin,D as PUBLIC_PREFIX,_ as PlaybackMode,a as PresentationMode,n as ScriptType,N as StartMethod,y as getIntegrationCssUrl,G as loadIntegrationComponent,b as loadIntegrationStyles};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@glomex/integration-web-component",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.1425.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",
|
|
@@ -23,21 +23,24 @@
|
|
|
23
23
|
"dist/**/*.d.ts"
|
|
24
24
|
],
|
|
25
25
|
"scripts": {
|
|
26
|
-
"
|
|
26
|
+
"prepack": "npm run build",
|
|
27
|
+
"build": "rm -rf dist && npm-run-all --sequential \"build:ts --force\" build:rslib",
|
|
27
28
|
"build:ts": "tsc --build",
|
|
28
29
|
"build:rslib": "rslib build",
|
|
29
|
-
"build": "rm -rf dist && npm-run-all --sequential \"build:ts -- --force\" build:rslib",
|
|
30
30
|
"lint": "tsc --noEmit && biome ci",
|
|
31
|
-
"watch": "npm-run-all --parallel \"build:* --
|
|
31
|
+
"watch": "npm-run-all --parallel \"build:* --watch\""
|
|
32
32
|
},
|
|
33
33
|
"devDependencies": {
|
|
34
|
-
"@
|
|
35
|
-
"@
|
|
36
|
-
"@
|
|
34
|
+
"@biomejs/biome": "catalog:",
|
|
35
|
+
"@glomex/integration": "^1.1425.0",
|
|
36
|
+
"@microsoft/api-extractor": "catalog:",
|
|
37
|
+
"@rslib/core": "catalog:",
|
|
38
|
+
"npm-run-all": "catalog:",
|
|
39
|
+
"typescript": "catalog:"
|
|
37
40
|
},
|
|
38
41
|
"publishConfig": {
|
|
39
42
|
"access": "public"
|
|
40
43
|
},
|
|
41
44
|
"license": "MIT",
|
|
42
|
-
"gitHead": "
|
|
45
|
+
"gitHead": "842edafa2416822afa16fb2fa257221a67793a77"
|
|
43
46
|
}
|