mozilla: test.html print "state" information in an alert box.
authorJean-Paul Saman <jean-paul.saman@m2x.nl>
Fri, 13 Feb 2009 15:24:42 +0000 (16:24 +0100)
committerJean-Paul Saman <jean-paul.saman@m2x.nl>
Tue, 17 Feb 2009 11:40:14 +0000 (12:40 +0100)
projects/mozilla/test.html

index c693efc..576485d 100644 (file)
@@ -136,7 +136,7 @@ Insert Slider widget
 <INPUT type=button value="Forward" onClick='doForwardPlay(500);'>\r
 <INPUT type=button value="Fullscreen" onClick='getVLC("vlc").video.toggleFullscreen();'>\r
 <INPUT type=button value="Version" onClick='alert("vlc " + getVLC("vlc").VersionInfo);'>\r
-<INPUT type=button value=" State " onClick='doState();'>\r
+<INPUT type=button value=" State " onClick='alert("state: " + getVLC("vlc").input.state);'>
 </TD><TD align="right">\r
 <SPAN style="text-align:center">Volume:</SPAN>\r
 <INPUT type=button value=" - " onClick='updateVolume(-10)'>\r