I am trying to get the state (playing,paused,stopped) from an embedded media player for WMV. Anyone know if you can capture that using Javascript?
Anyone know if it is possible to get the state of an embed WMV player?
Collapse
X
-
what fucking year is it? Did i get trapped in some backwards time warp again?
And I would think you could pull states from the DOM, but that would depend on how the embed was laid in place.
“I have the simplest tastes. I am always satisfied with the best.” -Oscar Wilde
-
-
0 Undefined Windows Media Player is in an undefined state.
1 Stopped Playback of the current media item is stopped.
2 Paused Playback of the current media item is paused. When a media item is paused, resuming playback begins from the same location.
3 Playing The current media item is playing.
4 ScanForward The current media item is fast forwarding.
5 ScanReverse The current media item is fast rewinding.
6 Buffering The current media item is getting additional data from the server.
7 Waiting Connection is established, but the server is not sending data. Waiting for session to begin.
8 MediaEnded Media item has completed playback.
9 Transitioning Preparing new media item.
10 Ready Ready to begin playing.
11 Reconnecting Reconnecting to stream.
use document.player.playState to retrieve current valuehatisblack at yahoo.comComment
-



Comment