[vlc-commits] test pages: update state if playback is ended
Daniel Amm
git at videolan.org
Sun Jun 14 00:58:27 CEST 2015
npapi-vlc | branch: master | Daniel Amm <da2424 at t-online.de> | Sun Jun 14 00:35:46 2015 +0200| [f444762f957022be2cc77323b3e2affc8aebf325] | committer: Jean-Baptiste Kempf
test pages: update state if playback is ended
Signed-off-by: Jean-Baptiste Kempf <jb at videolan.org>
> http://git.videolan.org/gitweb.cgi/npapi-vlc.git/?a=commit;h=f444762f957022be2cc77323b3e2affc8aebf325
---
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 100644
--- 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 100644
--- 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 ))"];
More information about the vlc-commits
mailing list