The plugin attemps to provide the playState attribute
for use in javascripts, which is neat.
The attribute "playState" is currently not very
accurate, or one might even say incorrect.
Playing an .asx (wmv) stream will only provide me with
2 playstate changes (I have a 500 ms timer that checks
for playstate changes):
Chronologically:
- Buffering (6) (when the plugin also visually says
"Buffering" - but this state is quickly over)
- Playing (3) (everything after buffering)
Playstate 3 (Playing) currently covers
"Connecting/Connected" and "Playing".
Playstate 0 (Unknown) currently covers media change
through the filename attribute.
It would great if these states were more like the WMP
SDK states.
When a media change is underway or the media is being
"prepared" it should be 9 (Transitioning).
When the current URL is ready to be played is should be
10 (Ready).
When waiting for the server to send initial data after
connecting it should be 7 (Waiting).
If you don't have the Reference Manual from the SDK for
WMP I can provide it for you, or just the playstates list.
If the idea is not to simulate WMPs playstates then i'm
sorry for trouble :)
Thank you
Logged In: YES
user_id=685413
CVS has been updated to try and get these states a little
closer to what is expected.
Logged In: YES
user_id=831311
I tried CVS a while ago (the same/next day you answered -
and i havn't updated to recent CVS since then)
It's much better now ;)
Thank you :)