Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. Web Development
  3. ASP.NET
  4. Window Media Player stop() in Firefox

Window Media Player stop() in Firefox

Scheduled Pinned Locked Moved ASP.NET
hardwarequestion
3 Posts 2 Posters 2 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • A Offline
    A Offline
    Abubakarsb
    wrote on last edited by
    #1

    I want to use embedded Window Media Player functions like stop(), pause() in Firefox. Does anyone have an idea? I checked following two ways. They are working good in IE6 and IE7 but not in Firefox. (1) document.Player.controls.pause(); (2) document.getElementById("Player").controls.pause(); Please tell me a solution in Firefox. Thanks. Abuabakr

    M 1 Reply Last reply
    0
    • A Abubakarsb

      I want to use embedded Window Media Player functions like stop(), pause() in Firefox. Does anyone have an idea? I checked following two ways. They are working good in IE6 and IE7 but not in Firefox. (1) document.Player.controls.pause(); (2) document.getElementById("Player").controls.pause(); Please tell me a solution in Firefox. Thanks. Abuabakr

      M Offline
      M Offline
      Michael Sync
      wrote on last edited by
      #2

      Why do you wanna add this from Javascript? If you are embedding Windows Media Player Object in WebPage, all buttons (play,pause,stop and etc) are already included in that object. So, I don't think you need to add this duplicated features from Javascript.. You can check the screenshot here.

      <embed type="application/x-mplayer2" pluginspage="http://www.microsoft.com/Windows/MediaPlayer/" name="mediaplayer1" ShowStatusBar="true" EnableContextMenu="false" autostart="false" width="320" height="240" loop="false" src="MyVideo.wmv" />

      Ref: Embedding Windows Media Player into a web page

      Thanks and Regards, Michael Sync ( Blog: http://michaelsync.net) If you want to thank me for my help, please vote my message by clicking one of numbers beside "Rate this message". Why vote? Plz Read it here. Thank you. :)

      A 1 Reply Last reply
      0
      • M Michael Sync

        Why do you wanna add this from Javascript? If you are embedding Windows Media Player Object in WebPage, all buttons (play,pause,stop and etc) are already included in that object. So, I don't think you need to add this duplicated features from Javascript.. You can check the screenshot here.

        <embed type="application/x-mplayer2" pluginspage="http://www.microsoft.com/Windows/MediaPlayer/" name="mediaplayer1" ShowStatusBar="true" EnableContextMenu="false" autostart="false" width="320" height="240" loop="false" src="MyVideo.wmv" />

        Ref: Embedding Windows Media Player into a web page

        Thanks and Regards, Michael Sync ( Blog: http://michaelsync.net) If you want to thank me for my help, please vote my message by clicking one of numbers beside "Rate this message". Why vote? Plz Read it here. Thank you. :)

        A Offline
        A Offline
        Abubakarsb
        wrote on last edited by
        #3

        Thanks for you reply. The thing is I need player in a complete different way. Infact I want to implement a technique which doesn't work with normal player that's y I added a layer on player and then control its functions. I have finished everything and its work great in IE6 and IE7 but not in Firefox. So I just need a button or image where I can call player functions "onClick" event. Thanks.

        1 Reply Last reply
        0
        Reply
        • Reply as topic
        Log in to reply
        • Oldest to Newest
        • Newest to Oldest
        • Most Votes


        • Login

        • Don't have an account? Register

        • Login or register to search.
        • First post
          Last post
        0
        • Categories
        • Recent
        • Tags
        • Popular
        • World
        • Users
        • Groups