videocontext
Advanced tools
Comparing version 0.51.6 to 0.51.7
{ | ||
"name": "videocontext", | ||
"version": "0.51.6", | ||
"version": "0.51.7", | ||
"description": "A WebGL & HTML5 graph based video composition library", | ||
@@ -5,0 +5,0 @@ "keywords": [ |
@@ -18,3 +18,3 @@ //Matthew Shotton, R&D User Experience,© BBC 2015 | ||
this._ready = true; | ||
this._triggerCallbacks("loaded"); | ||
this._triggerCallbacks("loaded"); | ||
} | ||
@@ -37,7 +37,7 @@ | ||
} | ||
_update(currentTime){ | ||
//if (!super._update(currentTime)) return false; | ||
super._update(currentTime); | ||
if (this._startTime - this._currentTime < this._preloadTime && this._state !== SOURCENODESTATE.waiting && this._state !== SOURCENODESTATE.ended)this._load(); | ||
if (this._startTime - this._currentTime <= this._preloadTime && this._state !== SOURCENODESTATE.waiting && this._state !== SOURCENODESTATE.ended)this._load(); | ||
@@ -44,0 +44,0 @@ if (this._state === SOURCENODESTATE.playing){ |
@@ -83,5 +83,5 @@ //Matthew Shotton, R&D User Experience,© BBC 2015 | ||
} | ||
if (this._startTime - this._currentTime < this._preloadTime && this._state !== SOURCENODESTATE.waiting && this._state !== SOURCENODESTATE.ended)this._load(); | ||
if (this._startTime - this._currentTime <= this._preloadTime && this._state !== SOURCENODESTATE.waiting && this._state !== SOURCENODESTATE.ended)this._load(); | ||
if (this._state === SOURCENODESTATE.playing){ | ||
@@ -88,0 +88,0 @@ return true; |
@@ -108,3 +108,3 @@ //Matthew Shotton, R&D User Experience,© BBC 2015 | ||
} | ||
for (let key in this._attributes) { | ||
@@ -173,3 +173,3 @@ this._element[key] = this._attributes[key]; | ||
if (this._startTime - this._currentTime < this._preloadTime && this._state !== SOURCENODESTATE.waiting && this._state !== SOURCENODESTATE.ended)this._load(); | ||
if (this._startTime - this._currentTime <= this._preloadTime && this._state !== SOURCENODESTATE.waiting && this._state !== SOURCENODESTATE.ended)this._load(); | ||
@@ -176,0 +176,0 @@ if (this._state === SOURCENODESTATE.playing){ |
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
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
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
0
6254903