videocontext
Advanced tools
Comparing version 0.52.5 to 0.52.6
@@ -0,1 +1,3 @@ | ||
#### 0.52.6 (2018-07-26) | ||
#### 0.52.5 (2018-07-24) | ||
@@ -2,0 +4,0 @@ |
{ | ||
"name": "videocontext", | ||
"version": "0.52.5", | ||
"version": "0.52.6", | ||
"description": "A WebGL & HTML5 graph based video composition library", | ||
@@ -5,0 +5,0 @@ "repository": { |
@@ -66,2 +66,15 @@ //Matthew Shotton, R&D User Experience,© BBC 2015 | ||
/** | ||
* @property {Boolean} | ||
* @summary - Check if the element is waiting on the network to continue playback | ||
*/ | ||
get _buffering() { | ||
if (this._element) { | ||
return this._element.readyState < HTMLMediaElement.HAVE_FUTURE_DATA; | ||
} | ||
return false; | ||
} | ||
set volume(volume) { | ||
@@ -68,0 +81,0 @@ this._volume = volume; |
@@ -341,2 +341,5 @@ //Matthew Shotton, R&D User Experience,© BBC 2015 | ||
_isReady() { | ||
if (this._buffering) { | ||
return false; | ||
} | ||
if ( | ||
@@ -343,0 +346,0 @@ this._state === STATE.playing || |
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
25353792
5698