Anyone know if it is possible to get the state of an embed WMV player?

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • V_RocKs
    Damn Right I Kiss Ass!
    • Nov 2003
    • 32448

    #1

    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?
  • munki
    Do Fun Shit.
    • Dec 2004
    • 13393

    #2
    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

    Comment

    • SmokeyTheBear
      ►SouthOfHeaven
      • Jun 2004
      • 28609

      #3
      easy answer, yes you can
      hatisblack at yahoo.com

      Comment

      • SmokeyTheBear
        ►SouthOfHeaven
        • Jun 2004
        • 28609

        #4
        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
        hatisblack at yahoo.com

        Comment

        • CurrentlySober
          Too lazy to wipe my ass
          • Aug 2002
          • 38954

          #5
          Fiddy ways to get the state of an embed WMV player !!!


          👁️ 👍️ 💩

          Comment

          • V_RocKs
            Damn Right I Kiss Ass!
            • Nov 2003
            • 32448

            #6
            Thanks, Smokey... Got it working

            Comment

            Working...