input.state Documentation
Posted: 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
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