[vlc-devel] [PATCH 10/17] test pages: update state if playback is ended

Daniel Amm da2424 at t-online.de
Sun Jun 14 00:35:46 CEST 2015


---
 share/test/test.html       | 2 ++
 share/test/windowless.html | 2 ++
 2 files changed, 4 insertions(+)

diff --git a/share/test/test.html b/share/test/test.html
index 6154ca9..b53666d 100755
--- a/share/test/test.html
+++ b/share/test/test.html
@@ -831,7 +831,9 @@ function onPlay()
 
 function onEnd()
 {
+    document.getElementById("info").innerHTML = "-:--:--/-:--:--";
     document.getElementById("state").innerHTML = "End...";
+    document.getElementById("PlayOrPause").value = "Play";
     setSeekable(false);
 }
 
diff --git a/share/test/windowless.html b/share/test/windowless.html
index 0598024..bb9da9e 100755
--- a/share/test/windowless.html
+++ b/share/test/windowless.html
@@ -459,7 +459,9 @@ function onPlay()
 
 function onEnd()
 {
+    document.getElementById("info").innerHTML = "-:--:--/-:--:--";
     document.getElementById("state").innerHTML = "End...";
+    document.getElementById("PlayOrPause").value = "Play";
 }
 
 var liveFeedText = ["Live", "((Live))", "(( Live ))", "((  Live  ))"];
-- 
2.1.4




More information about the vlc-devel mailing list