@glomex/integration-web-component 1.1301.3 → 1.1301.4
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.js +1 -1
- package/package.json +2 -2
package/build/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
var e,t,n,o,a,r,i,E,T,d,s,N,
|
|
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};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@glomex/integration-web-component",
|
|
3
|
-
"version": "1.1301.
|
|
3
|
+
"version": "1.1301.4",
|
|
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": "
|
|
40
|
+
"gitHead": "5a77b09b9bc3c6fb44bcbda2fde9d8d16c4cce25"
|
|
41
41
|
}
|