videocontext
Advanced tools
Comparing version 0.13.2 to 0.14.0
{ | ||
"name": "videocontext", | ||
"version": "0.13.2", | ||
"version": "0.14.0", | ||
"description": "A WebGL & HTML5 graph based video composition library", | ||
@@ -5,0 +5,0 @@ "contributors": [ |
@@ -27,2 +27,3 @@ //Matthew Shotton, R&D User Experience,© BBC 2015 | ||
this._ready = false; | ||
this._loadCalled = false; | ||
this._texture = createElementTexutre(gl); | ||
@@ -109,3 +110,6 @@ gl.texImage2D(gl.TEXTURE_2D, 0, gl.RGBA, 1, 1, 0, gl.RGBA, gl.UNSIGNED_BYTE, new Uint8Array([0,0,0,0])); | ||
_load(){ | ||
this._triggerCallbacks("load"); | ||
if (!this._loadCalled){ | ||
this._triggerCallbacks("load"); | ||
this._loadCalled = true; | ||
} | ||
} | ||
@@ -115,2 +119,3 @@ | ||
this._triggerCallbacks("destroy"); | ||
this._loadCalled = false; | ||
} | ||
@@ -117,0 +122,0 @@ |
@@ -29,3 +29,3 @@ //Matthew Shotton, R&D User Experience,© BBC 2015 | ||
_load(){ | ||
//super._load(); | ||
super._load(); | ||
if (this._element !== undefined){ | ||
@@ -59,3 +59,2 @@ | ||
this._playbackRateUpdated = true; | ||
this._triggerCallbacks("load"); | ||
@@ -62,0 +61,0 @@ for (var key in this._attributes) { |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
8960248
192988