@glomex/integration-web-component 1.1307.0 → 1.1308.1
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 +21 -0
- package/build/index.js +1 -1
- package/package.json +3 -3
package/build/index.d.ts
CHANGED
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
|
|
2
2
|
|
|
3
3
|
export declare interface Ad {
|
|
4
|
+
sessionId: string;
|
|
4
5
|
id: string;
|
|
5
6
|
isLinear: boolean;
|
|
6
7
|
duration: number;
|
|
@@ -478,10 +479,16 @@ export declare interface IntegrationElementEventMap {
|
|
|
478
479
|
mode: PresentationMode;
|
|
479
480
|
}>;
|
|
480
481
|
/** @eventProperty */
|
|
482
|
+
contentselect: CustomEvent<unknown>;
|
|
483
|
+
/** @eventProperty */
|
|
481
484
|
contentstart: CustomEvent<unknown>;
|
|
482
485
|
/** @eventProperty */
|
|
483
486
|
contentimpression: CustomEvent<unknown>;
|
|
484
487
|
/** @eventProperty */
|
|
488
|
+
contentbufferingstart: CustomEvent<unknown>;
|
|
489
|
+
/** @eventProperty */
|
|
490
|
+
contentbufferingend: CustomEvent<unknown>;
|
|
491
|
+
/** @eventProperty */
|
|
485
492
|
contentstop: CustomEvent<unknown>;
|
|
486
493
|
/** @eventProperty */
|
|
487
494
|
contenterror: CustomEvent<unknown & {
|
|
@@ -509,6 +516,10 @@ export declare interface IntegrationElementEventMap {
|
|
|
509
516
|
/** @eventProperty */
|
|
510
517
|
adimpression: CustomEvent<unknown>;
|
|
511
518
|
/** @eventProperty */
|
|
519
|
+
adbufferingstart: CustomEvent<unknown>;
|
|
520
|
+
/** @eventProperty */
|
|
521
|
+
adbufferingend: CustomEvent<unknown>;
|
|
522
|
+
/** @eventProperty */
|
|
512
523
|
adtimeupdate: CustomEvent<unknown>;
|
|
513
524
|
/** @eventProperty */
|
|
514
525
|
advolumechange: CustomEvent<unknown>;
|
|
@@ -545,10 +556,16 @@ export declare enum IntegrationEvent {
|
|
|
545
556
|
/** @eventProperty */
|
|
546
557
|
PLAYER_SET_PRESENTATION_MODE = "playersetpresentationmode",
|
|
547
558
|
/** @eventProperty */
|
|
559
|
+
CONTENT_SELECT = "contentselect",
|
|
560
|
+
/** @eventProperty */
|
|
548
561
|
CONTENT_START = "contentstart",
|
|
549
562
|
/** @eventProperty */
|
|
550
563
|
CONTENT_IMPRESSION = "contentimpression",
|
|
551
564
|
/** @eventProperty */
|
|
565
|
+
CONTENT_BUFFERING_START = "contentbufferingstart",
|
|
566
|
+
/** @eventProperty */
|
|
567
|
+
CONTENT_BUFFERING_END = "contentbufferingend",
|
|
568
|
+
/** @eventProperty */
|
|
552
569
|
CONTENT_STOP = "contentstop",
|
|
553
570
|
/** @eventProperty */
|
|
554
571
|
CONTENT_ERROR = "contenterror",
|
|
@@ -571,6 +588,10 @@ export declare enum IntegrationEvent {
|
|
|
571
588
|
/** @eventProperty */
|
|
572
589
|
AD_IMPRESSION = "adimpression",
|
|
573
590
|
/** @eventProperty */
|
|
591
|
+
AD_BUFFERING_START = "adbufferingstart",
|
|
592
|
+
/** @eventProperty */
|
|
593
|
+
AD_BUFFERING_END = "adbufferingend",
|
|
594
|
+
/** @eventProperty */
|
|
574
595
|
AD_TIME_UPDATE = "adtimeupdate",
|
|
575
596
|
/** @eventProperty */
|
|
576
597
|
AD_VOLUME_CHANGE = "advolumechange",
|
package/build/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
var e,t,n,o,
|
|
1
|
+
var e,t,n,a,o,E,i,r,T,N,d,_,s,I,c,l,p,A,m,O;(d=e||(e={})).DEFAULT="turbo-integration",d.SCRIPT="turbo-script",d.IFRAME="turbo-iframe",d.FULLPAGE="turbo-fullpage",d.AMP_VIDEO_IFRAME="turbo-amp-video-iframe",d.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",(I=a||(a={})).HIDDEN="hidden",I.INLINE="inline",I.DOCK="dock",I.LIGHTBOX="lightbox",I.FULLSCREEN="fullscreen",I.AMP_DOCK="amp-dock",(c=o||(o={})).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_SELECT="contentselect",c.CONTENT_START="contentstart",c.CONTENT_IMPRESSION="contentimpression",c.CONTENT_BUFFERING_START="contentbufferingstart",c.CONTENT_BUFFERING_END="contentbufferingend",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_BUFFERING_START="adbufferingstart",c.AD_BUFFERING_END="adbufferingend",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",(l=E||(E={})).TIME_IN_SECONDS="time",l.PERCENT="percent",l.TIME_IN_SECONDS_RECURRING="timeRecurring",(p=i||(i={})).PREROLL="preroll",p.MIDROLL="midroll",p.POSTROLL="postroll",p.FIRST_QUARTILE="contentFirstQuartile",p.MIDPOINT="contentMidpoint",p.THIRD_QUARTILE="contentThirdQuartile",p.COMPLETE="contentComplete",p.STILL_INTERESTING="stillInteresting",(A=r||(r={})).NOT_FOUND="NotFound",A.NOT_AVAILABLE="NotAvailable",A.GEOBLOCKED="Geoblocked",A.YOUTH_PROTECTED="YouthProtected",(m=T||(T={})).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",(O=N||(N={})).LIVE="live",O.VOD="vod",O.INTERACTIVE="interactive",O.EMBED="embed";let u="player.glomex.com",R=`https://${u}/integration/1/integration.js`;function C(e){return`https://${u}/variant/${e}/variant.css`}function D(){if(window.customElements.get(t.INTEGRATION))return;let e=document.createElement("script");e.innerText=`import('${R}');`,e.type="module",(document.head||document.body).appendChild(e)}function M(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,o as IntegrationEvent,i as KnownMarkerName,E as MarkerType,r as MediaItemErrorCode,T as Mimetype,N as PlaybackMode,a as PresentationMode,n as ScriptType,C as getIntegrationCssUrl,D as loadIntegrationComponent,M 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.1308.1",
|
|
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",
|
|
@@ -29,7 +29,7 @@
|
|
|
29
29
|
},
|
|
30
30
|
"devDependencies": {
|
|
31
31
|
"@biomejs/biome": "^1.9.4",
|
|
32
|
-
"@glomex/integration": "^1.
|
|
32
|
+
"@glomex/integration": "^1.1308.1",
|
|
33
33
|
"@microsoft/api-extractor": "^7.52.1",
|
|
34
34
|
"@rslib/core": "^0.5.4",
|
|
35
35
|
"typescript": "^5.8.2"
|
|
@@ -37,5 +37,5 @@
|
|
|
37
37
|
"publishConfig": {
|
|
38
38
|
"access": "public"
|
|
39
39
|
},
|
|
40
|
-
"gitHead": "
|
|
40
|
+
"gitHead": "15b7a2dadf527cacc6bc42b47321726b998a381d"
|
|
41
41
|
}
|