Commit f444762f authored by Daniel Amm's avatar Daniel Amm Committed by Jean-Baptiste Kempf

test pages: update state if playback is ended

Signed-off-by: Jean-Baptiste Kempf's avatarJean-Baptiste Kempf <jb@videolan.org>
parent 268ed518
...@@ -831,7 +831,9 @@ function onPlay() ...@@ -831,7 +831,9 @@ function onPlay()
function onEnd() function onEnd()
{ {
document.getElementById("info").innerHTML = "-:--:--/-:--:--";
document.getElementById("state").innerHTML = "End..."; document.getElementById("state").innerHTML = "End...";
document.getElementById("PlayOrPause").value = "Play";
setSeekable(false); setSeekable(false);
} }
......
...@@ -459,7 +459,9 @@ function onPlay() ...@@ -459,7 +459,9 @@ function onPlay()
function onEnd() function onEnd()
{ {
document.getElementById("info").innerHTML = "-:--:--/-:--:--";
document.getElementById("state").innerHTML = "End..."; document.getElementById("state").innerHTML = "End...";
document.getElementById("PlayOrPause").value = "Play";
} }
var liveFeedText = ["Live", "((Live))", "(( Live ))", "((&nbsp; Live &nbsp;))"]; var liveFeedText = ["Live", "((Live))", "(( Live ))", "((&nbsp; Live &nbsp;))"];
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment