videocontext
Advanced tools
Comparing version 0.15.2 to 0.15.3
{ | ||
"name": "videocontext", | ||
"version": "0.15.2", | ||
"version": "0.15.3", | ||
"description": "A WebGL & HTML5 graph based video composition library", | ||
@@ -5,0 +5,0 @@ "contributors": [ |
@@ -31,8 +31,10 @@ //Matthew Shotton, R&D User Experience,© BBC 2015 | ||
super.stretchPaused = stretchPaused; | ||
if (this._stretchPaused){ | ||
this._element.pause(); | ||
} else{ | ||
if(this._state === SOURCENODESTATE.playing){ | ||
this._element.play(); | ||
} | ||
if(this._element){ | ||
if (this._stretchPaused){ | ||
this._element.pause(); | ||
} else{ | ||
if(this._state === SOURCENODESTATE.playing){ | ||
this._element.play(); | ||
} | ||
} | ||
} | ||
@@ -67,2 +69,3 @@ } | ||
this._playbackRateUpdated = true; | ||
} | ||
@@ -133,4 +136,8 @@ | ||
} | ||
if (!this._isElementPlaying){ | ||
if (!this._isElementPlaying){ | ||
this._element.play(); | ||
if (this._stretchPaused){ | ||
console.log("STRTCH PAUSING!!!"); | ||
this._element.pause(); | ||
} | ||
this._isElementPlaying = true; | ||
@@ -137,0 +144,0 @@ } |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
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
2035591
11323