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

test pages: fix working of play/pause button

Signed-off-by: Jean-Baptiste Kempf's avatarJean-Baptiste Kempf <jb@videolan.org>
parent a1f445c3
......@@ -707,7 +707,10 @@ function doPlayOrPause()
var vlc = getVLC("vlc");
if( vlc )
{
if( vlc.playlist.isPlaying )
vlc.playlist.togglePause();
else
vlc.playlist.play();
}
}
......
......@@ -419,7 +419,11 @@ function doPlayOrPause()
var vlc = getVLC("vlc");
if( vlc )
{
if( vlc.playlist.isPlaying )
vlc.playlist.togglePause();
else
vlc.playlist.play();
}
}
function doStop()
......
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