videocontext
Advanced tools
Comparing version 0.50.1 to 0.50.2
{ | ||
"name": "videocontext", | ||
"version": "0.50.1", | ||
"version": "0.50.2", | ||
"description": "A WebGL & HTML5 graph based video composition library", | ||
@@ -5,0 +5,0 @@ "keywords":["video", "context", "composition", "timeline", "html5", "webgl"], |
@@ -63,3 +63,3 @@ //Matthew Shotton, R&D User Experience,© BBC 2015 | ||
// Initialise the video element cache | ||
if(!options.useVideoElementCache) options.useVideoElementCache = true; | ||
if(options.useVideoElementCache === undefined) options.useVideoElementCache = true; | ||
this._useVideoElementCache = options.useVideoElementCache; | ||
@@ -70,3 +70,3 @@ if (this._useVideoElementCache){ | ||
} | ||
// Create a unique ID for this VideoContext which can be used in the debugger. | ||
@@ -73,0 +73,0 @@ if(this._canvas.id) { |
@@ -43,2 +43,5 @@ const stripHash = url => `${url.protocol}//${url.hostname}:${url.port}${url.pathname}`; | ||
for (let element of this._elements) { | ||
console.log(window.location); | ||
console.log(stripHash(window.location)); | ||
console.log(element.src); | ||
// For some reason an uninitialised videoElement has its sr attribute set to the windows href. Hence the below check. | ||
@@ -45,0 +48,0 @@ if ((element.src === "" || element.src === undefined || element.src === stripHash(window.location)) && element.srcObject == null )return element; |
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 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
6323356
21298