How does one use JavaScript with the Windows Media Player Plugin?

Hi there.
According to this old [http://msdn.microsoft.com/en-us/library/dd564570%28v=VS.85%29.aspx MSDN Article] it is possible to control the windows media player plugin using javascript.
It provides a series of objects off the object that should perform certain funtions, such as play stop and seek.
It states very clearly in the article that some are not supported; however, none of them seem to be working with the latest version(s?) of Firefox.
I have Firefox 5 installed currently and have not tested in any other version, so I'm not sure when it stopped working.
The video does load and will display properly -- the ability to control it through javascript however, does not work.
i.e.:
var mplay = document.getElementById('myplayer');
mplay.controls.play(); // mplay.controls is undefined
This same code works in Internet Explorer.

You need to place the URL in a data attribute for Firefox.
<pre><nowiki>document.write(' <OBJECT id="Player" data="http://87.117.197.189:16229" width="320" height="45" type="application/x-ms-wmp">');
document.write(' <param name="AudioStream" value="true">');
document.write(' <param name="Enabled" value="True">');
document.write(' <param name="ClickToPlay" value="false">');
document.write(' <param name="BufferingTime" value="5">');
document.write(' <param name="ShowDisplay" value="False">');
document.write(' <param name="Volume" value="70">');
document.write(' <param name="autoStart" value="true">');
document.write(' </OBJECT>');</nowiki></pre>

Similar Messages

  • Why can't I have the Windows Media Player plugin in firefox? Why is that there is a page maintained on Mozilla that links to some port25 for plugin whereas other are available directly from firefox?

    I am sick and tired of going to 3rd party websites and install plugin that have malware and virus. Need to have this Windows Media player plugin from Firefox directly.

    Thanks, but again, I'm either missing something or Firefox is being finicky. I play videos on Apple.com just fine thru Firefox, so the QuickTime plugin is apparently working. Of course, I didn't try every video on Apple.com so it's possible I picked the few that worked. And with some serious massaging I've actually been able to get Firefox to play low resolution .mp4 videos. Videos rendered at 256x144 display in the HTML5 video player in Firefox. Videos rendered at resolutions greater than 256x144 do not display in Firefox. At least, these are the results I'm getting....I suspect others may be getting different results.
    This isn't a file size thing because a 512x288 .mp4 video is actually less than 1/2 the size of the lower resolution 256x144 .mp4 video, and yet Firefox does not display a 512x288 .mp4 video.....again, for me anyway. This is beyond confusing, but thanks for the suggestions. You are correct - Firefox does NOT support .mp4 videos (most resolutions) in the HTML5 video player....for some unknown reason!

  • Windows Media Player plugin has stopped working since I installed Firefox 4. I have the newest version of the plugin, worked fine with the previous version of Firefox. Any ideas?

    I have tried the suggestions on the help and troubleshooting pages including uninstalling and reinstalling plugins and Firefox 4. disabling the pop up blocker did not help either.

    I have had the same problem since I installed Firefox 4.0.
    Thank you for letting us know that The RealPlayer plugin conflict, was the source of this problem.
    Another way to fix this (for good) is doing the following:
    1) Click on "Tools">Options"
    2) Click on the "Applications" tab
    3) Search in the "Content Type" column, all the applications that start with the words "Windows Media." Click on the content that is listed to the right of each application's name and choose "Use Windows Media Player (default)."
    By doing this, Firefox will avoid using the Windows Media Player plugin and will open the corresponding application directly with Windows Media Player.
    I just did this and is working perfectly. Try it and let me know how it works for you.

  • How can I make the Windows Media player the default player for my browser.

    I cannot listen to radio station WYSL 1040 AM on the web. They say that the default player on my browser must be the Windows Media player. How do I comply with their demand?

    In Firefox it is the MIME type that determines which player is selected.
    Install the new WMP plugin (np-mswmp.dll), you only have the classic WMP plugin (Npdsplay dll)
    * https://support.mozilla.com/kb/Using+the+Windows+Media+Player+plugin+with+Firefox
    * http://kb.mozillazine.org/Windows_Media_Player#Missing_plugin
    * http://www.interoperabilitybridges.com/windows-media-player-firefox-plugin-download

  • Windows media player plugin is not working in firefox 4.if any one know what to do pls reply me

    MY FRIEND SUGGESTED THIS TO ME
    I HAVE TRIED THIS
    BUT ITS WASTE
    I CANT EVEN FIND ANYTHING AS
    WINDOWS MEDIA PLAYER
    I have had the same problem since I installed Firefox 4.0.
    Thank you for letting us know that The RealPlayer plugin conflict, was the source of this problem.
    Another way to fix this (for good) is doing the following:
    1) Click on "Tools">Options"
    2) Click on the "Applications" tab
    3) Search in the "Content Type" column, all the applications that start with the words "Windows Media." Click on the content that is listed to the right of each application's name and choose "Use Windows Media Player (default)."
    By doing this, Firefox will avoid using the Windows Media Player plugin and will open the corresponding application directly with Windows Media Player.
    I just did this and is working perfectly. Try it and let me know how it works for you.

    I just saw this posted to the mozilla.support.firefox newsgroup in the topic,<br>
    [http://groups.google.com/group/mozilla.support.firefox/browse_thread/thread/f381fb349c4d109d/69bef0011240e600?hl=en&ie=UTF-8&oe=utf-8 Windows Media Player will not install in Firefox 4] <br>
    ''Just for the record, the extension that conflicted with Windows Media Player is named: Real Player Browser Record Plug-In 14.0.2''
    <br>..... so try [[Troubleshooting extensions and themes]] to see if a Firefox extension is conflicting with the WMP Firefox plugin.

  • Need Windows Media Player Plugin for Windows 8

    When I go thru the directions to install the plugin it only shows up to Windows 7. I have Windows 8. The media player works fine thru Internet Explorer, but I'd rather use Firefox.
    Problem - I have an important viewing of my daughter's 3d/4d ultrasound this Saturday and I don't want to mess up my laptop by installing the wrong version and not being able to view it at all.
    Thanks.

    Those instructions should work for Windows 8 as well.
    Did you try to install the plugin, assuming that you've already installed the WMP?
    * https://support.mozilla.org/kb/Using+the+Windows+Media+Player+plugin+with+Firefox
    * http://kb.mozillazine.org/Windows_Media_Player#Missing_plugin
    * http://www.interoperabilitybridges.com/windows-media-player-firefox-plugin-download
    *http://www.interoperabilitybridges.com/html5-extension-for-wmp-plugin

  • How does one use Sound sticks while using HDMI at the same time ??

    How does one use Soundsticks while using HDMI at the same time ??

    Hi Caleb,
    This isn't a precise answer but a possible workable solution. SoundSource puts a menu extra which allows you to switch input/output and has an option for Auto-Switch to Headphones. The auto-switch feature doesn't work with USB headphones but I believe it will with 'regular' headphone plugs such as you use.
    http://www.rogueamoeba.com/freebies/
    (Oh, did I mention it's free Universal and works with Leopard?)

  • How does one use 'drop zones' in DVD menus?

    Hi
    I have Premiere Elements 4.0. How does one use 'drop zones' in DVD menus?
    Thanks
    NBK

    There are a number of ways, but the easiest is to swap in your video the way you swap in a DVD background -- i.e., select a menu with a drop zone and, in the DVD menus area, click on the background of the menu in the Disc Layout monitor. This will open up a screen that will allow you to browse to the video or still you want.
    Once it's in place, hold down the Shift key and, grabbing a corner handle on the Disc Layout monitor, size the image and drag it to position it in the drop zone.

  • [Solved] How does one go about changing the hostname in arch nowadays?

    Everything I've seen on the subject references /etc/rc.conf, which I believe is no longer used.
    I've updated /etc/hostname, but when hostname -f does not return the expected.
    Last edited by mreiland (2013-07-14 21:09:07)

    mreiland wrote:How does one go about changing the hostname in arch nowadays?
    Please see "man archlinux".
    Also, I can never remember if hostname is one of those things you need to reboot for...
    Last edited by drcouzelis (2013-07-13 16:24:10)

  • How does one go about getting the Kit Kat upgrade?

    I've searched the Verizon site ad I can't find how to download it.  Must one be selected?

    Thanks for your reply.  I went to Settings and About Phone, however, there was a "System updates"  that showed a history and a "Check for new software update" key.  I tried that and it returned with Your phone is up to date.  I guess I'll have to wait for Verizon to send me an update.
           From: clydefrog4963 <[email protected]>
    To: John Manning <[email protected]>
    Sent: Sunday, December 7, 2014 5:20 PM
    Subject:  - How does one go about getting the Kit Kat upgrade?
    #yiv6222900142 img
    |  
    |
      | 
    A message from the Verizon Wireless Community
      |
    |   |
    How does one go about getting the Kit Kat upgrade?
    created by clydefrog4963 in Samsung Galaxy Note 3 - View the full discussionVerizon has started pushing the 4.4.4 KitKat update on the Note 3, I got mine today. It poppped up when connected to my computer on Kies but you can do it on your phone by going to settings, all the way to "about phone" at the bottom, then click on "software update." Its best to do this while connected to wifi, and make sure your phone is at least half charged. Reply to this message by replying to this email -or- go to the message on Verizon Wireless Community Start a new discussion in Samsung Galaxy Note 3 by email or at Verizon Wireless Community


    © 2014 Verizon Wireless
    Verizon Wireless
    One Verizon Way
    Mail Code: 180WVB
    Basking Ridge, NJ 07920
    Not interested in these emails anymore, or want to change how often they come? Update your email preferences by visiting https://community.verizonwireless.com/user-preferences!input.jspa.
      |
    We respect your privacy. Please review our privacy policy for more information
    about click activity with Verizon Wireless and links included in this email.
      |

    |

  • How does one add folders to the E-mail App?

    How does one add folders to the E-mail App?

    Select your email under Account, tap Edit at the top then New Mailbox at the bottom. This will only work if you have an IMAP email account.

  • Just given my first iMac. How does one use cd's when there is no slot?

    Just given my first iMac. How does one use CD's when there is no slot?

    Oaxaca36 wrote:
    How does one use CD's when there is no slot?
    http://store.apple.com/us/product/MD564ZM/A/apple-usb-superdrive

  • TS1702 How does one get rid of the stocks from Yahoo Finance on the notifications pull down bar on iPhone 5?

    How does one get rid of the stocks from Yahoo Finance on the notifications pull down bar on iPhone 5?

    If you mean you don't want to see the stocks at all in notification center go to Settings>Stock Widget and turn Notification Center to Off.  If you mean you want to remove some of the individual stocks shown, open the Stocks app, tap the "i " on the bottom right, tap next to the stocks you want to remove, then tap Done.

  • I can not install Windows Media Player plugin when i'm using the beta version of Mozilla. Even after the installation, it doesn't work.

    Windows Media Player plugin doesn't work with the beta version of Mozilla.

    Make it easier. C:/Program/Mozilla Firefox (the old installation) and copy the entire folder "plugins". Now go to the path of the Firefox beta installation and paste the folder. All the old add ons will work. Bye

  • Since I updated to firefox 5.0, the windows media player plug in for firefox doesnt work anymore :(

    Ok I recently upgraded to firefox 5.0, and then when I went to a website that uses windows media player to watch videos and news reports, it said I needed to download the windows media player plug in for firefox. And yet I had already done that in the past. So it directs me to the plug in for windows media player 11, I download and install and it doesnt work. Website repeats the same message, you need to download plug in. It was working fine with firefox 4.0! I use the OS Windows 7, 64bit. Any help please?

    Yes I did, at first it identified it as already there, so it gave the option of repairing it, etc, so I uninstalled the Windows Media Player, then Installed it again, and it still doesn't seem to work! I have the same problem with several other plug ins, in the add ons and plug in section of Mozilla tools, I see that say, "incompatible with firefox 5.0" but as days go by those add-ons, that are built by those other websites seem to be repairing it, but I wanted to know for something as important as windows media player plug in, am I the only one getting this problem? :/

Maybe you are looking for