vpaid-html5-client
Advanced tools
Comparing version 0.1.10 to 0.1.11
@@ -484,2 +484,14 @@ (function e(t,n,r){function s(o,u){if(!n[o]){if(!t[o]){var a=typeof require=="function"&&require;if(!u&&a)return a(o,!0);if(i)return i(o,!0);var f=new Error("Cannot find module '"+o+"'");throw f.code="MODULE_NOT_FOUND",f}var l=n[o]={exports:{}};t[o][0].call(l.exports,function(e){var n=t[o][1][e];return s(n?n:e)},l,l.exports,e,t,n,r)}return n[o].exports}var i=typeof require=="function"&&require;for(var o=0;o<r.length;o++)s(r[o]);return s})({1:[function(require,module,exports){ | ||
this._creative.subscribe($clickThruHook.bind(this), AD_CLICK); | ||
// because we are adding the element inside the iframe | ||
// the user is not able to click in the video | ||
if (this._videoEl) { | ||
var documentElement = this._iframe.contentDocument.documentElement; | ||
var videoEl = this._videoEl; | ||
documentElement.addEventListener('click', function(e) { | ||
if (e.target === documentElement) { | ||
videoEl.click(); | ||
} | ||
}); | ||
} | ||
} | ||
@@ -486,0 +498,0 @@ |
{ | ||
"name": "VPAIDHTML5Client", | ||
"version": "0.1.10", | ||
"version": "0.1.11", | ||
"homepage": "https://github.com/MailOnline/VPAIDHTML5Client", | ||
@@ -5,0 +5,0 @@ "authors": [ |
{ | ||
"name": "vpaid-html5-client", | ||
"version": "0.1.10", | ||
"version": "0.1.11", | ||
"description": "VPAID HTML5", | ||
@@ -5,0 +5,0 @@ "main": [ |
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
145549
3117