Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@nlo/ping-video-loader

Package Overview
Dependencies
Maintainers
6
Versions
27
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@nlo/ping-video-loader - npm Package Compare versions

Comparing version 0.0.1-alpha.76 to 0.0.1-alpha.78

2

dist/ping-video-loader.d.ts

@@ -8,3 +8,3 @@ declare global {

declare class PingVideoPlayerLoader {
loadVideo(targetElement: HTMLElement, videoName: string, autoStart: boolean): Promise<unknown>;
loadVideo(elementId: string, videoName: string, autoStart: boolean): Promise<unknown> | undefined;
private awaitElementLoad;

@@ -11,0 +11,0 @@ private createScriptTag;

@@ -9,4 +9,8 @@ "use strict";

}
PingVideoPlayerLoader.prototype.loadVideo = function (targetElement, videoName, autoStart) {
PingVideoPlayerLoader.prototype.loadVideo = function (elementId, videoName, autoStart) {
var _this = this;
var targetElement = document.getElementById(elementId);
if (!targetElement) {
return;
}
return new Promise(function (resolve) {

@@ -13,0 +17,0 @@ // Change empty div into a PingVP element

{
"name": "@nlo/ping-video-loader",
"version": "0.0.1-alpha.76+9fcfb38",
"version": "0.0.1-alpha.78+472f892",
"description": "",

@@ -23,3 +23,3 @@ "main": "dist/index.js",

},
"gitHead": "9fcfb383be8c387620b664030fd1ec71f4ed522a"
"gitHead": "472f892d60e2c134fee60db829ffd38348a4ed63"
}
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