videocontext
Advanced tools
Comparing version 0.34.2 to 0.34.3
{ | ||
"name": "videocontext", | ||
"version": "0.34.2", | ||
"version": "0.34.3", | ||
"description": "A WebGL & HTML5 graph based video composition library", | ||
@@ -5,0 +5,0 @@ "keywords":["video", "context", "composition", "timeline", "html5", "webgl"], |
@@ -36,2 +36,3 @@ //Matthew Shotton, R&D User Experience,© BBC 2015 | ||
this._callbacks = []; | ||
this._renderPaused = false; | ||
} | ||
@@ -289,2 +290,4 @@ | ||
_seek(time){ | ||
this._renderPaused = false; | ||
this._triggerCallbacks("seek", time); | ||
@@ -310,6 +313,6 @@ | ||
_pause(){ | ||
if(this._state === STATE.playing || (this._currentTime === 0 && this._startTime === 0)){ | ||
this._triggerCallbacks("pause"); | ||
this._state = STATE.paused; | ||
this._renderPaused = false; | ||
} | ||
@@ -365,2 +368,6 @@ } | ||
if (!this._renderPaused && this._state === STATE.paused) { | ||
if(triggerTextureUpdate)updateTexture(this._gl, this._texture, this._element); | ||
this._renderPaused = true; | ||
} | ||
if(this._state === STATE.playing){ | ||
@@ -386,2 +393,2 @@ if(triggerTextureUpdate)updateTexture(this._gl, this._texture, this._element); | ||
export {STATE as SOURCENODESTATE}; | ||
export {STATE as SOURCENODESTATE}; |
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 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 too big to display
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
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
6591900
24368