input.state Documentation

All you've ever wanted to know about the ActiveX, Mozilla plugins, the web interface and various PHP extensions
vlcer1
New Cone
New Cone
Posts: 4
Joined: 05 Jun 2008 21:19

input.state Documentation

Postby vlcer1 » 17 Mar 2009 23:47

Hi,

Iam developing an web application which uses vlc. I have a javascript function which uses input.state to determine what the player is doing. It seems to work ok, the only problem I have is that it seems to return some undocumented states.

The documentation lists the states as: (IDLE/CLOSE=0, OPENING=1, BUFFERING=2, PLAYING=3, PAUSED=4, STOPPING=5, ERROR=6), but I also get state 8 as well.

I am wondering if anyone knows what the full list of states is, or even what source file the states are in so that I can handle all the states correctly.

Thanks

Jean-Baptiste Kempf
Site Administrator
Site Administrator
Posts: 37523
Joined: 22 Jul 2005 15:29
VLC version: 4.0.0-git
Operating System: Linux, Windows, Mac
Location: Cone, France
Contact:

Re: input.state Documentation

Postby Jean-Baptiste Kempf » 17 Mar 2009 23:56

include/vlc_input*
Jean-Baptiste Kempf
http://www.jbkempf.com/ - http://www.jbkempf.com/blog/category/Videolan
VLC media player developer, VideoLAN President and Sites administrator
If you want an answer to your question, just be specific and precise. Don't use Private Messages.


Return to “Web and scripting”

Who is online

Users browsing this forum: No registered users and 9 guests