videocontext
Advanced tools
Comparing version 0.46.0 to 0.46.2
{ | ||
"name": "videocontext", | ||
"version": "0.46.0", | ||
"version": "0.46.2", | ||
"description": "A WebGL & HTML5 graph based video composition library", | ||
@@ -5,0 +5,0 @@ "keywords":["video", "context", "composition", "timeline", "html5", "webgl"], |
@@ -152,2 +152,5 @@ //Matthew Shotton, R&D User Experience,© BBC 2015 | ||
} | ||
//Destroy main | ||
this._gl.deleteTexture(this._texture); | ||
this._texture = undefined; | ||
//Detach shaders | ||
@@ -154,0 +157,0 @@ this._gl.detachShader(this._program, this._vertexShader); |
@@ -106,3 +106,5 @@ //Matthew Shotton, R&D User Experience,© BBC 2015 | ||
if (this._element){ | ||
this._element.currentTime = this._sourceOffset; | ||
let currentTimeOffset = 0; | ||
if (this._currentTime > this._startTime) currentTimeOffset = this._currentTime - this._startTime; | ||
this._element.currentTime = this._sourceOffset + currentTimeOffset; | ||
this._element.onerror = () => { | ||
@@ -109,0 +111,0 @@ if (this._element === undefined) return; |
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
6785311
26134