videocontext
Advanced tools
Comparing version 0.52.6 to 0.52.7
@@ -0,1 +1,3 @@ | ||
#### 0.52.7 (2018-08-07) | ||
#### 0.52.6 (2018-07-26) | ||
@@ -2,0 +4,0 @@ |
{ | ||
"name": "videocontext", | ||
"version": "0.52.6", | ||
"version": "0.52.7", | ||
"description": "A WebGL & HTML5 graph based video composition library", | ||
@@ -5,0 +5,0 @@ "repository": { |
@@ -26,5 +26,4 @@ //Matthew Shotton, R&D User Experience,© BBC 2015 | ||
this._playbackRate = 1.0; | ||
this._volume = 1.0; | ||
this._playbackRateUpdated = true; | ||
this._attributes = attributes; | ||
this._attributes = Object.assign({ volume: 1.0 }, attributes); | ||
this._loopElement = false; | ||
@@ -81,4 +80,4 @@ this._isElementPlaying = false; | ||
set volume(volume) { | ||
this._volume = volume; | ||
if (this._element !== undefined) this._element.volume = this._volume; | ||
this._attributes.volume = volume; | ||
if (this._element !== undefined) this._element.volume = this._attributes.volume; | ||
} | ||
@@ -123,3 +122,3 @@ | ||
} | ||
this._element.volume = this._volume; | ||
this._element.volume = this._attributes.volume; | ||
if (window.MediaStream !== undefined && this._elementURL instanceof MediaStream) { | ||
@@ -126,0 +125,0 @@ this._element.srcObject = this._elementURL; |
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
25357297
5773