guacamole-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From vn...@apache.org
Subject [12/14] incubator-guacamole-client git commit: GUACAMOLE-346: Simply resume playback if seek operation is canceled.
Date Wed, 19 Jul 2017 18:37:17 GMT
GUACAMOLE-346: Simply resume playback if seek operation is canceled.

Project: http://git-wip-us.apache.org/repos/asf/incubator-guacamole-client/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-guacamole-client/commit/387302db
Tree: http://git-wip-us.apache.org/repos/asf/incubator-guacamole-client/tree/387302db
Diff: http://git-wip-us.apache.org/repos/asf/incubator-guacamole-client/diff/387302db

Branch: refs/heads/master
Commit: 387302db4821210839aabef42d23869ff203bd93
Parents: 7689747
Author: Michael Jumper <mjumper@apache.org>
Authored: Sat Jul 15 17:41:58 2017 -0700
Committer: Michael Jumper <mjumper@apache.org>
Committed: Sat Jul 15 17:41:58 2017 -0700

----------------------------------------------------------------------
 doc/guacamole-playback-example/src/main/webapp/playback.js | 5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-guacamole-client/blob/387302db/doc/guacamole-playback-example/src/main/webapp/playback.js
----------------------------------------------------------------------
diff --git a/doc/guacamole-playback-example/src/main/webapp/playback.js b/doc/guacamole-playback-example/src/main/webapp/playback.js
index 8c1c49c..50ac0a4 100644
--- a/doc/guacamole-playback-example/src/main/webapp/playback.js
+++ b/doc/guacamole-playback-example/src/main/webapp/playback.js
@@ -179,10 +179,9 @@
             recording.pause();
     };
 
-    // Cancel seek operation when cancel button is clicked
+    // Resume playback when cancel button is clicked
     cancelSeek.onclick = function cancelSeekOperation(e) {
-        player.className = 'paused';
-        recording.pause();
+        recording.play();
         e.stopPropagation();
     };
 


Mime
View raw message