vpaid-flash-client
Advanced tools
Comparing version 1.0.0 to 1.0.2
{ | ||
"name": "VPAIDFLASHClient", | ||
"version": "1.0.0", | ||
"version": "1.0.2", | ||
"authors": [ | ||
@@ -5,0 +5,0 @@ "Luis Silva <luis.dasilva@mailonline.co.uk>" |
@@ -44,4 +44,13 @@ 'use strict'; | ||
}); | ||
adUnit.setAdVolume(10, function (err, result) { | ||
adUnit.setAdVolume(.8, function (err, result) { | ||
console.log('setAdVolume', result); | ||
setTimeout(function () { | ||
adUnit.setAdVolume(0); | ||
}, 2000); | ||
setTimeout(function () { | ||
adUnit.setAdVolume(1); | ||
}, 5000); | ||
}); | ||
@@ -54,2 +63,2 @@ adUnit.getAdVolume(function (err, result) { | ||
}); | ||
} | ||
} |
@@ -165,3 +165,2 @@ 'use strict'; | ||
gulp.watch(['flash/src/**/*.as'], ['compileFlashAndTest'], reload); | ||
}); | ||
@@ -168,0 +167,0 @@ |
@@ -18,2 +18,3 @@ 'use strict'; | ||
params.FlashVars = `flashid=${FLASH_TEST_EL}&handler=${JSFlashBridge.VPAID_FLASH_HANDLER}`; | ||
params.allowScriptAccess = 'always'; | ||
@@ -25,3 +26,3 @@ this.el = swfobject.createSWF(swfConfig, params, FLASH_TEST_EL); | ||
utils.hideFlashEl(this.el); | ||
this._flash = new JSFlashBridge(this.el, swfConfig.data, FLASH_TEST_EL, 400, 400, ()=> { | ||
this._flash = new JSFlashBridge(this.el, swfConfig.data, FLASH_TEST_EL, swfConfig.width, swfConfig.height, ()=> { | ||
const support = true; | ||
@@ -28,0 +29,0 @@ this._isSupported = support; |
{ | ||
"name": "vpaid-flash-client", | ||
"version": "1.0.0", | ||
"version": "1.0.2", | ||
"author": "Luis da Silva <luis.dasilva@mailonline.co.uk>", | ||
@@ -5,0 +5,0 @@ "homepage": "https://github.com/MailOnline/VPAIDFLASHClient", |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
Found 1 instance in 1 package
501288
3837
3