key-pressed with HTTP interface

All you've ever wanted to know about the ActiveX, Mozilla plugins, the web interface and various PHP extensions
badubo
Blank Cone
Blank Cone
Posts: 17
Joined: 18 Jan 2006 23:06

key-pressed with HTTP interface

Postby badubo » 20 Jan 2006 17:32

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

badubo
Blank Cone
Blank Cone
Posts: 17
Joined: 18 Jan 2006 23:06

Postby badubo » 28 Jan 2006 20:54

up? :oops:

tonsofpcs
Cone that earned his stripes
Cone that earned his stripes
Posts: 363
Joined: 04 Jan 2006 10:03
Location: Binghamton, NY, USA
Contact:

Postby tonsofpcs » 01 Feb 2006 01:44

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.


Return to “Web and scripting”

Who is online

Users browsing this forum: No registered users and 16 guests