videojs-vast-vpaid
Advanced tools
Comparing version
{ | ||
"name": "videojs-vast-vpaid", | ||
"version": "3.0.0-beta.4", | ||
"version": "3.0.0-beta.5", | ||
"description": "VAST plugin to use with video.js", | ||
@@ -5,0 +5,0 @@ "main": "./src/scripts/videojs_5.vast.vpaid.js", |
@@ -198,2 +198,3 @@ | ||
let _firstPlay = true; | ||
let _firstPlayInProgress = false; | ||
let volumeSnapshot; | ||
@@ -248,2 +249,7 @@ | ||
function firstPlay () { | ||
if (_firstPlayInProgress) { | ||
return; | ||
} | ||
_firstPlayInProgress = true; | ||
if (!utilities.isIPhone()) { | ||
@@ -310,2 +316,3 @@ volumeSnapshot = saveVolumeSnapshot(); | ||
_firstPlay = false; | ||
_firstPlayInProgress = false; | ||
player.trigger('vast.firstPlay'); | ||
@@ -312,0 +319,0 @@ } |
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
3118053
0.01%19438
0.03%0
-100%