![]() |
Anyone know if it is possible to get the state of an embed WMV player?
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?
|
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. |
easy answer, yes you can
|
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 value |
Fiddy ways to get the state of an embed WMV player !!! :thumbsup:thumbsup:thumbsup
|
Thanks, Smokey... Got it working
|
| All times are GMT -7. The time now is 10:37 AM. |
Powered by vBulletin® Version 3.8.8
Copyright ©2000 - 2025, vBulletin Solutions, Inc.
©2000-, AI Media Network Inc123