Page 1 of 1

key-pressed with HTTP interface

Posted: 20 Jan 2006 17:32
by badubo
Hello,

I'm trying to control VLC throught the HTTP.
I would like to use the "key-pressed" variable in order to have more controls
Typically : controling the subtitles :

What I do :
in my HTML page I put :

<vlc id="set" param1="key-pressed" param2="int" /><br>

and I call the page with :
http://127.0.0.1:8080/mypage.html?key-pressed=107
I found 107 thanks to a call to get :
<vlc id="get" param1="key-subtitle-track" param2="int" />

But it doesn't work
Is it possible to use this variable ("key-pressed") as we can in the activeX?
Thanks

Posted: 28 Jan 2006 20:54
by badubo
up? :oops:

Posted: 01 Feb 2006 01:44
by tonsofpcs
I'm pretty sure there is a way to scan keys in javascript, so you could scan the keys in javascript, and if you want the key to, say 'play', you can send the browser to the same url as the play button in the default HTML control page goes.