@glomex/integration-web-component 1.1301.6 → 1.1302.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/build/index.d.ts CHANGED
@@ -620,7 +620,7 @@ export declare enum KnownMarkerName {
620
620
  STILL_INTERESTING = "stillInteresting"
621
621
  }
622
622
 
623
- export declare function loadIntegrationComponent(): Promise<HTMLScriptElement>;
623
+ export declare function loadIntegrationComponent(): void;
624
624
 
625
625
  export declare function loadIntegrationStyles(integrationId: string): void;
626
626
 
package/build/index.js CHANGED
@@ -1 +1 @@
1
- var e,t,n,o,a,r,i,E,T,d,s,l,N,_,c,p,m,I,A,O;(s=e||(e={})).DEFAULT="turbo-integration",s.SCRIPT="turbo-script",s.IFRAME="turbo-iframe",s.FULLPAGE="turbo-fullpage",s.AMP_VIDEO_IFRAME="turbo-amp-video-iframe",s.AMP_IFRAME="turbo-amp-iframe",(l=t||(t={})).INTEGRATION="glomex-integration",l.EXTERNAL_MEDIA_ITEM="glomex-external-media-item",l.GLOMEX_MEDIA_ITEM="glomex-media-item",(N=n||(n={})).INTEGRATION_CONFIGS="application/glomex-integration-configs+json",N.EXTERNAL_MEDIA_ITEM="application/glomex-external-media-item+json",(_=o||(o={})).HIDDEN="hidden",_.INLINE="inline",_.DOCK="dock",_.LIGHTBOX="lightbox",_.FULLSCREEN="fullscreen",_.AMP_DOCK="amp-dock",(c=a||(a={})).READY="ready",c.INTEGRATION_ABORT="integrationabort",c.INTEGRATION_AD_AVAILABLE="integrationadavailable",c.INTEGRATION_PASSBACK="integrationpassback",c.USER_UPDATE_CONSENT="userupdateconsent",c.PLAYLIST_UPDATE="playlistupdate",c.PLAYER_SET_PRESENTATION_MODE="playersetpresentationmode",c.CONTENT_START="contentstart",c.CONTENT_IMPRESSION="contentimpression",c.CONTENT_STOP="contentstop",c.CONTENT_ERROR="contenterror",c.CONTENT_MARKER_REACHED="contentmarkerreached",c.CONTENT_TIME_UPDATE="timeupdate",c.CONTENT_SEEKING="seeking",c.CONTENT_SEEKED="seeked",c.CONTENT_PLAY="play",c.CONTENT_PAUSE="pause",c.CONTENT_VOLUME_CHANGE="volumechange",c.CONTENT_ENDED="ended",c.AD_IMPRESSION="adimpression",c.AD_TIME_UPDATE="adtimeupdate",c.AD_VOLUME_CHANGE="advolumechange",c.AD_PAUSED="adpaused",c.AD_RESUMED="adresumed",c.AD_CLICK="adclick",c.AD_SKIPPED="adskipped",c.AD_COMPLETE="adcomplete",(p=r||(r={})).TIME_IN_SECONDS="time",p.PERCENT="percent",p.TIME_IN_SECONDS_RECURRING="timeRecurring",(m=i||(i={})).PREROLL="preroll",m.MIDROLL="midroll",m.POSTROLL="postroll",m.FIRST_QUARTILE="contentFirstQuartile",m.MIDPOINT="contentMidpoint",m.THIRD_QUARTILE="contentThirdQuartile",m.COMPLETE="contentComplete",m.STILL_INTERESTING="stillInteresting",(I=E||(E={})).NOT_FOUND="NotFound",I.NOT_AVAILABLE="NotAvailable",I.GEOBLOCKED="Geoblocked",I.YOUTH_PROTECTED="YouthProtected",(A=T||(T={})).HLS="application/vnd.apple.mpegurl",A.HLS_LEGACY="application/x-mpegURL",A.DASH="application/dash+xml",A.MP4="video/mp4",A.OGG="video/ogg",A.WEBM="video/webm",A.MP3="audio/mp3",A.AAC="audio/aac",A.WAV="audio/wav",A.OGG_AUDIO="audio/ogg",A.MPEG_AUDIO="audio/mpeg",A.DYNAMIC_CONTENT="application/x-turbo-dynamic-content",(O=d||(d={})).LIVE="live",O.VOD="vod",O.LIVE_DRM="live-drm",O.VOD_DRM="vod-drm",O.DYNAMIC_CONTENT="dynamic-content";let u="player.glomex.com",D=`https://${u}/integration/1/integration.js`;function C(e){return`https://${u}/variant/${e}/variant.css`}function M(){let e=document.querySelector(`script[src="${D}"]`);return e?Promise.resolve(e):new Promise((e,t)=>{let n=document.createElement("script");n.type="module",n.src=D,n.setAttribute("data-uc-allowed","true"),n.onload=()=>e(n),n.onerror=()=>t(Error(`Failed to load script ${D}`)),(document.head||document.body).appendChild(n)})}function R(e){if(document.querySelector(`link[href="${C(e)}"]`))return;let t=document.createElement("link");t.rel="stylesheet",t.href=C(e),(document.head||document.body).appendChild(t)}export{t as ComponentName,a as IntegrationEvent,i as KnownMarkerName,r as MarkerType,E as MediaItemErrorCode,T as Mimetype,o as PresentationMode,n as ScriptType,d as StreamType,C as getIntegrationCssUrl,M as loadIntegrationComponent,R as loadIntegrationStyles};
1
+ var e,t,n,o,a,E,i,r,T,d,N,_,s,m,p,I,l,c,A,O;(N=e||(e={})).DEFAULT="turbo-integration",N.SCRIPT="turbo-script",N.IFRAME="turbo-iframe",N.FULLPAGE="turbo-fullpage",N.AMP_VIDEO_IFRAME="turbo-amp-video-iframe",N.AMP_IFRAME="turbo-amp-iframe",(_=t||(t={})).INTEGRATION="glomex-integration",_.EXTERNAL_MEDIA_ITEM="glomex-external-media-item",_.GLOMEX_MEDIA_ITEM="glomex-media-item",(s=n||(n={})).INTEGRATION_CONFIGS="application/glomex-integration-configs+json",s.EXTERNAL_MEDIA_ITEM="application/glomex-external-media-item+json",(m=o||(o={})).HIDDEN="hidden",m.INLINE="inline",m.DOCK="dock",m.LIGHTBOX="lightbox",m.FULLSCREEN="fullscreen",m.AMP_DOCK="amp-dock",(p=a||(a={})).READY="ready",p.INTEGRATION_ABORT="integrationabort",p.INTEGRATION_AD_AVAILABLE="integrationadavailable",p.INTEGRATION_PASSBACK="integrationpassback",p.USER_UPDATE_CONSENT="userupdateconsent",p.PLAYLIST_UPDATE="playlistupdate",p.PLAYER_SET_PRESENTATION_MODE="playersetpresentationmode",p.CONTENT_START="contentstart",p.CONTENT_IMPRESSION="contentimpression",p.CONTENT_STOP="contentstop",p.CONTENT_ERROR="contenterror",p.CONTENT_MARKER_REACHED="contentmarkerreached",p.CONTENT_TIME_UPDATE="timeupdate",p.CONTENT_SEEKING="seeking",p.CONTENT_SEEKED="seeked",p.CONTENT_PLAY="play",p.CONTENT_PAUSE="pause",p.CONTENT_VOLUME_CHANGE="volumechange",p.CONTENT_ENDED="ended",p.AD_IMPRESSION="adimpression",p.AD_TIME_UPDATE="adtimeupdate",p.AD_VOLUME_CHANGE="advolumechange",p.AD_PAUSED="adpaused",p.AD_RESUMED="adresumed",p.AD_CLICK="adclick",p.AD_SKIPPED="adskipped",p.AD_COMPLETE="adcomplete",(I=E||(E={})).TIME_IN_SECONDS="time",I.PERCENT="percent",I.TIME_IN_SECONDS_RECURRING="timeRecurring",(l=i||(i={})).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",(c=r||(r={})).NOT_FOUND="NotFound",c.NOT_AVAILABLE="NotAvailable",c.GEOBLOCKED="Geoblocked",c.YOUTH_PROTECTED="YouthProtected",(A=T||(T={})).HLS="application/vnd.apple.mpegurl",A.HLS_LEGACY="application/x-mpegURL",A.DASH="application/dash+xml",A.MP4="video/mp4",A.OGG="video/ogg",A.WEBM="video/webm",A.MP3="audio/mp3",A.AAC="audio/aac",A.WAV="audio/wav",A.OGG_AUDIO="audio/ogg",A.MPEG_AUDIO="audio/mpeg",A.DYNAMIC_CONTENT="application/x-turbo-dynamic-content",(O=d||(d={})).LIVE="live",O.VOD="vod",O.LIVE_DRM="live-drm",O.VOD_DRM="vod-drm",O.DYNAMIC_CONTENT="dynamic-content";let D="player.glomex.com",C=`https://${D}/integration/1/integration.js`;function M(e){return`https://${D}/variant/${e}/variant.css`}function u(){if(window.customElements.get(t.INTEGRATION))return;let e=document.createElement("script");e.innerText=`import('${C}');`,e.type="module",(document.head||document.body).appendChild(e)}function R(e){if(document.querySelector(`link[href="${M(e)}"]`))return;let t=document.createElement("link");t.rel="stylesheet",t.href=M(e),(document.head||document.body).appendChild(t)}export{t as ComponentName,a as IntegrationEvent,i as KnownMarkerName,E as MarkerType,r as MediaItemErrorCode,T as Mimetype,o as PresentationMode,n as ScriptType,d as StreamType,M as getIntegrationCssUrl,u as loadIntegrationComponent,R as loadIntegrationStyles};
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@glomex/integration-web-component",
3
- "version": "1.1301.6",
3
+ "version": "1.1302.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",
@@ -37,5 +37,5 @@
37
37
  "publishConfig": {
38
38
  "access": "public"
39
39
  },
40
- "gitHead": "fd4314180a1c2affb1343d856c08cfed46cef1ec"
40
+ "gitHead": "e7e01668aa2b4876672706be0bb37229e2c15a45"
41
41
  }