diff --git a/guacamole-common-js/src/main/resources/layer.js b/guacamole-common-js/src/main/resources/layer.js index a72030e3f..0553aa333 100644 --- a/guacamole-common-js/src/main/resources/layer.js +++ b/guacamole-common-js/src/main/resources/layer.js @@ -510,10 +510,10 @@ Guacamole.Layer = function(width, height) { render_callback(); - }); + }, false); // Unblock future operations after an error - video.addEventListener("error", lock.unblock); + video.addEventListener("error", lock.unblock, false); // Play video as soon as current tasks are complete, now that the // lock has been set up.