New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@weareglow/media-components

Package Overview
Dependencies
Maintainers
2
Versions
83
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@weareglow/media-components - npm Package Compare versions

Comparing version 0.0.63 to 0.0.64

dist/glow-media-component-framework/p-5r6hyfgm.system.entry.js

4

dist/cjs/glow-polite-video.cjs.entry.js

@@ -26,7 +26,7 @@ 'use strict';

this.videoSrc = utils.getUrl(this.src);
console.log(this.videoSrc);
}
connectedCallback() {
if (utils.loadingEvents.isEnablerUnit && utils.loadingEvents.enablerLoaded()) {
console.log("page is loaded says enabler");
this.videoSrc = utils.getUrl(this.src);
this.pageLoaded = true;
}

@@ -33,0 +33,0 @@ if (document.readyState === "complete" && !this.loaded) {

{
"entries": [
"components/polite-video/polite-video.js",
"components/polite-image/polite-image.js",
"components/cta-button/cta-button.js",
"components/lockup/lockup.js",
"components/background-video/background-video.js",
"components/Media-Unit/media-unit.js",
"components/lockup/lockup.js",
"components/polite-image/polite-image.js",
"components/story/story.js",
"components/trailer-video/trailer-video.js",
"components/tune-in/tune-in.js"
"components/tune-in/tune-in.js",
"components/trailer-video/trailer-video.js"
],

@@ -13,0 +13,0 @@ "compiler": {

@@ -18,7 +18,7 @@ import { h } from "@stencil/core";

this.videoSrc = getUrl(this.src);
console.log(this.videoSrc);
}
connectedCallback() {
if (loadingEvents.isEnablerUnit && loadingEvents.enablerLoaded()) {
console.log("page is loaded says enabler");
this.videoSrc = getUrl(this.src);
this.pageLoaded = true;
}

@@ -25,0 +25,0 @@ if (document.readyState === "complete" && !this.loaded) {

@@ -57,7 +57,7 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {

this.videoSrc = getUrl(this.src);
console.log(this.videoSrc);
};
class_1.prototype.connectedCallback = function () {
if (loadingEvents.isEnablerUnit && loadingEvents.enablerLoaded()) {
console.log("page is loaded says enabler");
this.videoSrc = getUrl(this.src);
this.pageLoaded = true;
}

@@ -64,0 +64,0 @@ if (document.readyState === "complete" && !this.loaded) {

@@ -22,7 +22,7 @@ import { r as registerInstance, c as createEvent, h } from './core-f24c606a.js';

this.videoSrc = getUrl(this.src);
console.log(this.videoSrc);
}
connectedCallback() {
if (loadingEvents.isEnablerUnit && loadingEvents.enablerLoaded()) {
console.log("page is loaded says enabler");
this.videoSrc = getUrl(this.src);
this.pageLoaded = true;
}

@@ -29,0 +29,0 @@ if (document.readyState === "complete" && !this.loaded) {

@@ -1,1 +0,1 @@

import{p as e,b as o}from"./p-4fe68d26.js";e().then(e=>o([["p-dg9pswru",[[0,"glow-background-video",{videoSrc:[1,"video-src"],posterImage:[1,"poster-image"],endframeImage:[1,"endframe-image"],autoplay:[4],play:[64],pause:[64]},[[0,"video-started","videoStartedHandler"],[0,"video-ended","videoEndedHandler"],[0,"video-loaded","videoLoadedHandler"]]]]],["p-9m82vmhr",[[4,"glow-trailer-video",{exitOnClick:[4,"exit-on-click"],showReplay:[4,"show-replay"],replayFrom:[2,"replay-from"],src:[1],posterImage:[1,"poster-image"],endframeImage:[1,"endframe-image"],width:[8],height:[8],videoTitle:[1,"video-title"],autoplay:[4],controlBtnFill:[1,"control-btn-fill"],controlBtnHoverFill:[1,"control-btn-hover-fill"],controlPosition:[1,"control-position"],controlIsHovered:[32],playing:[32],muted:[32],hasInteracted:[32],hasEnded:[32],play:[64],pause:[64]},[[0,"video-loaded","handleVideoLoaded"],[0,"video-started","handleVideoStarted"],[0,"video-played","handleVideoPlayed"],[0,"video-ended","handleVideoEnded"]]]]],["p-mgx9clpr",[[4,"glow-media-unit",{previewBgColor:[1,"preview-bg-color"],exitLink:[1,"exit-link"],testDate:[8,"test-date"],size:[1],placeholderImage:[1,"placeholder-image"],pageVisible:[32],pageLoaded:[32],triggerExit:[64]},[[4,"media-exit","mediaUnitExit"]]],[0,"glow-polite-image",{src:[1],alt:[1],pageLoaded:[32]},[[4,"page-loaded","pageLoadedHandler"]]]]],["p-xwrbevqy",[[4,"glow-cta-button",{backgroundColor:[1,"background-color"],hoverBackgroundColor:[1,"hover-background-color"],fontColor:[1,"font-color"],hoverFontColor:[1,"hover-font-color"],buttonText:[1,"button-text"],hovered:[32]}]]],["p-ayowokyp",[[4,"glow-lockup",{lockupPadding:[1,"lockup-padding"],exitLink:[1,"exit-link"]}]]],["p-srmflcqm",[[4,"glow-story",{exitLink:[1,"exit-link"],autoAnimate:[4,"auto-animate"],endframeImage:[1,"endframe-image"],replayBtnFill:[1,"replay-btn-fill"],pageLoaded:[32],pageVisible:[32],playing:[32],storyLoaded:[32]},[[32,"page-loaded","handlePageLoaded"],[32,"page-visible","handlePageVisible"],[32,"media-exit","handleMediaExit"]]]]],["p-vzizt2tn",[[4,"glow-tune-in",{showBefore:[1,"show-before"],showAfter:[1,"show-after"],showOn:[1,"show-on"],showBetween:[1,"show-between"],isDefault:[4,"is-default"],isCurrent:[32]},[[32,"tune-in-ready","tuneInReadyHandler"]]]]],["p-cdtcddoa",[[0,"glow-polite-video",{src:[1],muted:[4],autoplay:[4],endframeImage:[1,"endframe-image"],posterImage:[1,"poster-image"],videoTitle:[1,"video-title"],pageLoaded:[32],playing:[32],loaded:[32],showEndframe:[32],videoSrc:[32],play:[64],setLoaded:[64],pause:[64],setCurrentTime:[64]},[[8,"page-visible","pageLoadedHandler"],[32,"media-exit","handleMediaExit"]]]]]],e));
import{p as e,b as o}from"./p-4fe68d26.js";e().then(e=>o([["p-dg9pswru",[[0,"glow-background-video",{videoSrc:[1,"video-src"],posterImage:[1,"poster-image"],endframeImage:[1,"endframe-image"],autoplay:[4],play:[64],pause:[64]},[[0,"video-started","videoStartedHandler"],[0,"video-ended","videoEndedHandler"],[0,"video-loaded","videoLoadedHandler"]]]]],["p-9m82vmhr",[[4,"glow-trailer-video",{exitOnClick:[4,"exit-on-click"],showReplay:[4,"show-replay"],replayFrom:[2,"replay-from"],src:[1],posterImage:[1,"poster-image"],endframeImage:[1,"endframe-image"],width:[8],height:[8],videoTitle:[1,"video-title"],autoplay:[4],controlBtnFill:[1,"control-btn-fill"],controlBtnHoverFill:[1,"control-btn-hover-fill"],controlPosition:[1,"control-position"],controlIsHovered:[32],playing:[32],muted:[32],hasInteracted:[32],hasEnded:[32],play:[64],pause:[64]},[[0,"video-loaded","handleVideoLoaded"],[0,"video-started","handleVideoStarted"],[0,"video-played","handleVideoPlayed"],[0,"video-ended","handleVideoEnded"]]]]],["p-mgx9clpr",[[4,"glow-media-unit",{previewBgColor:[1,"preview-bg-color"],exitLink:[1,"exit-link"],testDate:[8,"test-date"],size:[1],placeholderImage:[1,"placeholder-image"],pageVisible:[32],pageLoaded:[32],triggerExit:[64]},[[4,"media-exit","mediaUnitExit"]]],[0,"glow-polite-image",{src:[1],alt:[1],pageLoaded:[32]},[[4,"page-loaded","pageLoadedHandler"]]]]],["p-xwrbevqy",[[4,"glow-cta-button",{backgroundColor:[1,"background-color"],hoverBackgroundColor:[1,"hover-background-color"],fontColor:[1,"font-color"],hoverFontColor:[1,"hover-font-color"],buttonText:[1,"button-text"],hovered:[32]}]]],["p-ayowokyp",[[4,"glow-lockup",{lockupPadding:[1,"lockup-padding"],exitLink:[1,"exit-link"]}]]],["p-srmflcqm",[[4,"glow-story",{exitLink:[1,"exit-link"],autoAnimate:[4,"auto-animate"],endframeImage:[1,"endframe-image"],replayBtnFill:[1,"replay-btn-fill"],pageLoaded:[32],pageVisible:[32],playing:[32],storyLoaded:[32]},[[32,"page-loaded","handlePageLoaded"],[32,"page-visible","handlePageVisible"],[32,"media-exit","handleMediaExit"]]]]],["p-vzizt2tn",[[4,"glow-tune-in",{showBefore:[1,"show-before"],showAfter:[1,"show-after"],showOn:[1,"show-on"],showBetween:[1,"show-between"],isDefault:[4,"is-default"],isCurrent:[32]},[[32,"tune-in-ready","tuneInReadyHandler"]]]]],["p-grh4dit0",[[0,"glow-polite-video",{src:[1],muted:[4],autoplay:[4],endframeImage:[1,"endframe-image"],posterImage:[1,"poster-image"],videoTitle:[1,"video-title"],pageLoaded:[32],playing:[32],loaded:[32],showEndframe:[32],videoSrc:[32],play:[64],setLoaded:[64],pause:[64],setCurrentTime:[64]},[[8,"page-visible","pageLoadedHandler"],[32,"media-exit","handleMediaExit"]]]]]],e));

@@ -1,1 +0,1 @@

System.register(["./p-299d7d86.system.js"],(function(){"use strict";var e,o;return{setters:[function(a){e=a.p;o=a.b}],execute:function(){e().then((function(e){return o([["p-mngzlgno.system",[[0,"glow-background-video",{videoSrc:[1,"video-src"],posterImage:[1,"poster-image"],endframeImage:[1,"endframe-image"],autoplay:[4],play:[64],pause:[64]},[[0,"video-started","videoStartedHandler"],[0,"video-ended","videoEndedHandler"],[0,"video-loaded","videoLoadedHandler"]]]]],["p-texqlh53.system",[[4,"glow-trailer-video",{exitOnClick:[4,"exit-on-click"],showReplay:[4,"show-replay"],replayFrom:[2,"replay-from"],src:[1],posterImage:[1,"poster-image"],endframeImage:[1,"endframe-image"],width:[8],height:[8],videoTitle:[1,"video-title"],autoplay:[4],controlBtnFill:[1,"control-btn-fill"],controlBtnHoverFill:[1,"control-btn-hover-fill"],controlPosition:[1,"control-position"],controlIsHovered:[32],playing:[32],muted:[32],hasInteracted:[32],hasEnded:[32],play:[64],pause:[64]},[[0,"video-loaded","handleVideoLoaded"],[0,"video-started","handleVideoStarted"],[0,"video-played","handleVideoPlayed"],[0,"video-ended","handleVideoEnded"]]]]],["p-slbzocmf.system",[[4,"glow-media-unit",{previewBgColor:[1,"preview-bg-color"],exitLink:[1,"exit-link"],testDate:[8,"test-date"],size:[1],placeholderImage:[1,"placeholder-image"],pageVisible:[32],pageLoaded:[32],triggerExit:[64]},[[4,"media-exit","mediaUnitExit"]]],[0,"glow-polite-image",{src:[1],alt:[1],pageLoaded:[32]},[[4,"page-loaded","pageLoadedHandler"]]]]],["p-qt56odfe.system",[[4,"glow-cta-button",{backgroundColor:[1,"background-color"],hoverBackgroundColor:[1,"hover-background-color"],fontColor:[1,"font-color"],hoverFontColor:[1,"hover-font-color"],buttonText:[1,"button-text"],hovered:[32]}]]],["p-3dnqw4ye.system",[[4,"glow-lockup",{lockupPadding:[1,"lockup-padding"],exitLink:[1,"exit-link"]}]]],["p-ejun1snx.system",[[4,"glow-story",{exitLink:[1,"exit-link"],autoAnimate:[4,"auto-animate"],endframeImage:[1,"endframe-image"],replayBtnFill:[1,"replay-btn-fill"],pageLoaded:[32],pageVisible:[32],playing:[32],storyLoaded:[32]},[[32,"page-loaded","handlePageLoaded"],[32,"page-visible","handlePageVisible"],[32,"media-exit","handleMediaExit"]]]]],["p-n4j7jjhc.system",[[4,"glow-tune-in",{showBefore:[1,"show-before"],showAfter:[1,"show-after"],showOn:[1,"show-on"],showBetween:[1,"show-between"],isDefault:[4,"is-default"],isCurrent:[32]},[[32,"tune-in-ready","tuneInReadyHandler"]]]]],["p-z9ztxzw9.system",[[0,"glow-polite-video",{src:[1],muted:[4],autoplay:[4],endframeImage:[1,"endframe-image"],posterImage:[1,"poster-image"],videoTitle:[1,"video-title"],pageLoaded:[32],playing:[32],loaded:[32],showEndframe:[32],videoSrc:[32],play:[64],setLoaded:[64],pause:[64],setCurrentTime:[64]},[[8,"page-visible","pageLoadedHandler"],[32,"media-exit","handleMediaExit"]]]]]],e)}))}}}));
System.register(["./p-299d7d86.system.js"],(function(){"use strict";var e,o;return{setters:[function(a){e=a.p;o=a.b}],execute:function(){e().then((function(e){return o([["p-mngzlgno.system",[[0,"glow-background-video",{videoSrc:[1,"video-src"],posterImage:[1,"poster-image"],endframeImage:[1,"endframe-image"],autoplay:[4],play:[64],pause:[64]},[[0,"video-started","videoStartedHandler"],[0,"video-ended","videoEndedHandler"],[0,"video-loaded","videoLoadedHandler"]]]]],["p-texqlh53.system",[[4,"glow-trailer-video",{exitOnClick:[4,"exit-on-click"],showReplay:[4,"show-replay"],replayFrom:[2,"replay-from"],src:[1],posterImage:[1,"poster-image"],endframeImage:[1,"endframe-image"],width:[8],height:[8],videoTitle:[1,"video-title"],autoplay:[4],controlBtnFill:[1,"control-btn-fill"],controlBtnHoverFill:[1,"control-btn-hover-fill"],controlPosition:[1,"control-position"],controlIsHovered:[32],playing:[32],muted:[32],hasInteracted:[32],hasEnded:[32],play:[64],pause:[64]},[[0,"video-loaded","handleVideoLoaded"],[0,"video-started","handleVideoStarted"],[0,"video-played","handleVideoPlayed"],[0,"video-ended","handleVideoEnded"]]]]],["p-slbzocmf.system",[[4,"glow-media-unit",{previewBgColor:[1,"preview-bg-color"],exitLink:[1,"exit-link"],testDate:[8,"test-date"],size:[1],placeholderImage:[1,"placeholder-image"],pageVisible:[32],pageLoaded:[32],triggerExit:[64]},[[4,"media-exit","mediaUnitExit"]]],[0,"glow-polite-image",{src:[1],alt:[1],pageLoaded:[32]},[[4,"page-loaded","pageLoadedHandler"]]]]],["p-qt56odfe.system",[[4,"glow-cta-button",{backgroundColor:[1,"background-color"],hoverBackgroundColor:[1,"hover-background-color"],fontColor:[1,"font-color"],hoverFontColor:[1,"hover-font-color"],buttonText:[1,"button-text"],hovered:[32]}]]],["p-3dnqw4ye.system",[[4,"glow-lockup",{lockupPadding:[1,"lockup-padding"],exitLink:[1,"exit-link"]}]]],["p-ejun1snx.system",[[4,"glow-story",{exitLink:[1,"exit-link"],autoAnimate:[4,"auto-animate"],endframeImage:[1,"endframe-image"],replayBtnFill:[1,"replay-btn-fill"],pageLoaded:[32],pageVisible:[32],playing:[32],storyLoaded:[32]},[[32,"page-loaded","handlePageLoaded"],[32,"page-visible","handlePageVisible"],[32,"media-exit","handleMediaExit"]]]]],["p-n4j7jjhc.system",[[4,"glow-tune-in",{showBefore:[1,"show-before"],showAfter:[1,"show-after"],showOn:[1,"show-on"],showBetween:[1,"show-between"],isDefault:[4,"is-default"],isCurrent:[32]},[[32,"tune-in-ready","tuneInReadyHandler"]]]]],["p-5r6hyfgm.system",[[0,"glow-polite-video",{src:[1],muted:[4],autoplay:[4],endframeImage:[1,"endframe-image"],posterImage:[1,"poster-image"],videoTitle:[1,"video-title"],pageLoaded:[32],playing:[32],loaded:[32],showEndframe:[32],videoSrc:[32],play:[64],setLoaded:[64],pause:[64],setCurrentTime:[64]},[[8,"page-visible","pageLoadedHandler"],[32,"media-exit","handleMediaExit"]]]]]],e)}))}}}));
{
"name": "@weareglow/media-components",
"version": "0.0.63",
"version": "0.0.64",
"description": "A collection of reusable components for media campaigns.",

@@ -5,0 +5,0 @@ "main": "dist/index.js",

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc