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

vistar-html5player

Package Overview
Dependencies
Maintainers
1
Versions
32
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

vistar-html5player - npm Package Compare versions

Comparing version 1.1.2 to 1.1.3

1

lib/ad_request.js

@@ -37,2 +37,3 @@ (function() {

network_id: this.config.networkId,
venue_id: this.config.venueId,
number_of_screens: 1

@@ -39,0 +40,0 @@ };

24

lib/player.js

@@ -28,2 +28,11 @@ (function() {

Player.setAsPlayed = function(ad, wasPlayed) {
if (ad != null) {
ad['html5player'] = {
was_played: wasPlayed
};
}
return ad;
};
function Player() {

@@ -60,3 +69,3 @@ this._videoFinished = __bind(this._videoFinished, this);

clearTimeout(_this._timeoutId);
ad = _this._setAsPlayed(advertisement, true);
ad = Player.setAsPlayed(advertisement, true);
_this.log.write({

@@ -96,3 +105,3 @@ name: 'Player',

} else {
return callback(null, this._setAsPlayed(advertisement, false));
return callback(null, Player.setAsPlayed(advertisement, false));
}

@@ -104,3 +113,3 @@ };

clearTimeout(this._timeoutId);
ad = this._setAsPlayed(this._currentAd, true);
ad = Player.setAsPlayed(this._currentAd, true);
this.log.write({

@@ -113,11 +122,2 @@ name: 'Player',

Player.prototype._setAsPlayed = function(ad, wasPlayed) {
if (ad != null) {
ad['html5player'] = {
was_played: wasPlayed
};
}
return ad;
};
return Player;

@@ -124,0 +124,0 @@

@@ -5,3 +5,3 @@ {

"description": "An HTML 5 Player for Vistar Media assets.",
"version": "1.1.2",
"version": "1.1.3",
"homepage": "http://kb.vistarmedia.com/display/sell/HTML5+Player",

@@ -8,0 +8,0 @@ "repository": {

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