JavaScript that controls the player does not work

Hello everyone
I have a page with an embedded video on Windows media player, and developed a javascript to control the video.
The parties that control the play, stop, pause, volume, and fast reverse fast forward work very well, but when I put a function that advances the video marks the next and previous does not work in Safari only works in Firefox and the worst and does not accuse me errors simply does not work, then I do not know what to do if someone can help me would greatly appreciate it
The codes are below
Code for embedded player
<div id="Dvideo"  style="position:absolute; width:400px; height:266px; z-index:3; visibility:hidden; left: 14px; top: 85px;">
                <object 
          id="contentPlayer"
          name="contentPlayer"
          width="400"
          height="266"
          type="application/x-ms-wmp">
                          <param name="AnimationAtStart" value="0" />
                          <param name="AutoStart" value="0" />
                          <param name="CurrentMarker" value="0" />
                          <param name="EnablePositionControls" value="true" />
                          <param name="EnableTracker" value="0" />
                          <param name="ShowAudioControls" value="0" />
                          <param name="ShowCaptioning" value="0" />
                          <param name="ShowControls" value="1" />
                          <param name="ShowDisplay" value="0" />
                          <param name="ShowGotoBar" value="0" />
                          <param name="ShowPositionControls" value="0" />
                          <param name="ShowStatusBar" value="0" />
                          <param name="ShowTracker" value="0" />
                          <PARAM NAME="EnableContextMenu" VALUE="false">
                          <param name="AllowChangeDisplaySize" value="true" />
                          <PARAM NAME="CurrentPosition" VALUE="false">
                          <param name="SRC" value="video.wmv" />
                          <param name="TransparentAtStart" value="1" />
                          <param name="uiMode" value="none"/>
                          <embed
          src="video.wmv"
          width="400"
          height="266"
          autostart="0"
          type="application/x-ms-wmp"
          id="contentPlayer"
          name="contentPlayer"
          showdisplay="0"
          showcontrols="1"
          animationatstart="0"
          transparentatstart="1"
          showstatusbar="0"
          showtracker="0"
          currentmarker="0"
        CurrentPosition="0"
          enablepositioncontrols="true"
          enabletracker="0"
          showcaptioning="0"
          showaudiocontrols="0"
          showgotobar="0"
        EnableContextMenu="false"
        AllowChangeDisplaySize="true"
          uiMode="none"
          showpositioncontrols="0"></embed>
                        </object>
javascript code
    function play()
                    var player=document.getElementById('contentPlayer');
                         document.getElementById('DInfo').style.visibility = 'hidden'
                    document.getElementById('Dvideo').style.visibility = 'visible'
                    player.controls.play();
    function pause()
                    var player=document.getElementById('contentPlayer');
                  player.controls.pause();
    function stop()
                    var player=document.getElementById('contentPlayer');
                  document.getElementById('DInfo').style.visibility = 'visible'
                    document.getElementById('Dvideo').style.visibility = 'hidden'
                    player.controls.stop();
function Volume()
          document.getElementById('contentPlayer').settings.volume  = document.getElementById('contentPlayer').settings.volume + 30 ;
function VolumeDown()
          document.getElementById('contentPlayer').settings.volume  = document.getElementById('contentPlayer').settings.volume - 30 ;
function mute() {
          var player = document.getElementById('contentPlayer');
          var mutebutton = document.getElementById('bt4');
          if (player.settings.mute) {
          player.settings.mute = false;
          return player.settings.volume + "%";
          mutebutton.src ="../images/mute_false.gif";
          } else {
          player.settings.mute = true;
          return "mute";
          mutebutton.src ="../images/mute_true.gif";
function fastforward()
          var player=document.getElementById('contentPlayer');
          player.controls.fastForward();
function fastreverse()
          var player = document.getElementById('contentPlayer');
          player.controls.fastReverse();
function GoNextMarker (mymark)
          var player = document.getElementById('contentPlayer');
          var mymark = player.controls.currentMarker + 1
          player.controls.currentMarker = mymark;
function GoPreviusMarker (mymark)
          var player = document.getElementById('contentPlayer');
          var mymark = player.controls.CurrentMarker - 1
          player.controls.currentMarker = mymark;
</div>

This has been discussed over and over and over and over and over and over and over and over again.
Do a forum search (right side of this page) and you will find countless posts on this.

Similar Messages

  • HT1212 I am trying to restore a phone that the screen does not work on, therefore I can't input my password.  How can I bypass this and upload it to itunes?

    I am trying to restore a phone that the screen does not work on, therefore I can't input my password.  How can I bypass this and upload it to itunes?

    You could follow the instructions in the support document that you linked from. There is a section regarding the passcode and the inability to use it or enter it. However, you may encounter more issues since you cannot use the screen.

  • I have tried to reinstall CS3 extended student version to my new comuter from the dvd and also from the web download but it does not work - I get the information that the server does not work- why. How should I do?

    I have tried to reinstall CS3 extended student version to my new comuter from the dvd and also from the web download but it does not work - I get the information that the server does not work- why. How should I do?

    Well the error message is in Swedish but says: The installation program database is damaged. Please contact the Adobe support (which is a hard thing to do!!). I use Windows 7 Home Premium with service pack 1.
    Från: Mylenium 
    Skickat: den 29 december 2014 16:48
    Till: Tony Bohman
    Ämne:  I have tried to reinstall CS3 extended student version to my new comuter from the dvd and also from the web download but it does not work - I get the information that the server does not work- why. How should I do?
    I have tried to reinstall CS3 extended student version to my new comuter from the dvd and also from the web download but it does not work - I get the information that the server does not work- why. How should I do?
    created by Mylenium <https://forums.adobe.com/people/Mylenium>  in Downloading, Installing, Setting Up - View the full discussion <https://forums.adobe.com/message/7050595#7050595>

  • I purchased a program on Mac App store and the program does not act as it should,  also was required to pay up front whereas had I went to the web site, ibank 4 I would have had 30 days free trial an would have found that the program does not work.?

    I purchased a program on Mac App store and the program does not act as it should,  also was required to pay up front whereas had I went to the web site, ibank 4 I would have had 30 days free trial an would have found that the program does not work.?

    Free trials are not available through the Mac App Store.
    Apple is not here. Apple does not answer questions here. This is a user to user support forum. There are only folks here who use Apple products.

  • What can I do for the following situation: I think my insert slot for the headphones does not work; when I put in any cable that should and can go in all I hear is low frequent static sounds.

    What can I do for the following situation: I think my insert slot for the headphones does not work; when I put in any cable that should and can go in all I hear is low frequent static sounds.

    You might try talking to the Apple store manager and see if you don't get more help...you might also contact Apple.com/support and see if they can give you a contact with the Apple Italy offices.
    Sounds like you have two levels of failure, the first shop that did the repair and broke a wire, and the second that has disabled something else and isn't helping.
    Apple officially refurbished equipment is usually good quality.  Surprising this has happened but you need to press on with complaints and try for resolution.

  • Flash player does not work under one user account.

    Flash player does not work under one of my user accounts.
    My system: I work with a mac mini with Mac OS X 10.6.8.
    What I have done:
    I installed the flash player maybe one year ago under my "first" user account. At that time this user account had had administrator authorization. In the meantime I had to change this "first" user account in an account without administrator authorization and created an administrator user with which I installed different programms. Lately, the message came up that it would be necessary to update the flash player. I did it; under the "first" user account, but of course with the administrator's password for installing. The installation had been "successful" - so I was told. But it did not run. I tried it again and again. Each time with "deinstallation" first. No way; it did not work.
    After asking Adobe for the reason of the problem, they suggested to install the programm directly under the administrator user. I did that (of course after deinstalling under the "first" user account) with the result, that flash player runs under my administrator and my "second" user account, but not under the first user account. There I am always told to update my flash player.
    With this result, I talked to Adobe. So they told me to contact the producer of the operating software, since this would be a mistake of the operating software.
    And here I am - full of hope to get help from you.
    Thanks for reading. And thanks in advance for helping me.
    Nanny FS

    Any update to provide at all here guys?  Again, in my situation, it's very much rights-related as a standard user doesn't even report that the flash player exists when testing it on the Adobe Flash Version Detection website (despite it showing up in Control Panel and under Add/Remove Programs).  I've already tried giving the C:\Windows\System32\Macromed and files/subfolders appropriate permissions for the standard user and still nothing.  If I either give the user in question full local admin rights or logon as the domain admin, then the Adobe Flash Version Detection website says Flash is installed and Flash works fine.
    Thoughts???

  • Flash player does not work with Ie or Firefox with win 8.1?

    Flash player does not work with Ie or Firefox with win 8.1 64, If i try and play a video I get the message to install Flashplayer.
    If I try and install it it says it is already installed. Your onsite  installer says it is not applicable to my machine.
    I have followed all the normal steps re enabling addons and active filters etc.
    all to no avail Pc is Dell 6 months old, Flashplayer has never worked on this machine. Last MS update mid Dec 2014.
    Version of flashplayer is 15....03.......

    Flash Player is a built-in component of Internet Explorer.  There's nothing separate to download or install.
    Firefox requires a different version of Flash Player (the NPAPI plug-in), which will be served to you if you go here: http://get.adobe.com/flashplayer using Firefox; however, there are some unique stability issues related to Firefox on Win8.1, and you're probably better off using Google Chrome if you want a more optimal experience with Flash Player.
    For problems where IE isn't being detected by sites that require Flash:
    First, confirm that ActiveX Filtering is configured to allow Flash content:
    https://forums.adobe.com/thread/867968
    Internet Explorer 11 introduces a number of changes both to how the browser identifies itself to remote web servers, and to how it processes JavaScript intended to target behaviors specific to Internet Explorer. Unfortunately, this means that content on some sites will be broken until the content provider changes their site to conform to the new development approach required by modern versions of IE.
    You can try to work around these issues by using Compatibility View:
    http://windows.microsoft.com/en-us/internet-explorer/use-compatibility-view#ie=ie-11

  • Flash player does not work properly on Windows 7 32 bits

    Hello,
    My flash player does not work properly on Windows 7 32 bits with Firfox and IE8 (lasts versions).
    My Flash player version : 10.0.45.2, but I tried with version 9 too, with same problems.
    I have tried to uninstall, reboot, reinstall several times, ... witch did not worked.
    In fact, it works correctly on some sites, like youtube, but not on some others like :
    http://www.dailymotion.com/ => black screen instead of videos, right click gives flash context menu
    http://www.canalplus.fr/ => videos does not load, right click gives flash context menu
    http://www.myspace.com/ => no audio player, right click gives flash context menu
    some games in http://www.kongregate.com/ => black screen instead of games, right click gives flash context menu
    I have no problem with shockwave in http://www.adobe.com/shockwave/welcome/
    No problem too with flash player on http://www.adobe.com/software/flash/about/
    But in the Global Privacy Settings panel (http://www.macromedia.com/support/documentation/en/flashplayer/help/settings_manager02.htm l), I cannot change any settings :
    I cannot check boxes,
    My changes are not saved.
    In most of flash animations, videos, ...,
    when I click on parameters, I cannot do anything, even closing.
    when I am in full screen mode, the message "press escape to exit...." does not disappear.
    Last thing, all those problems was not there when I was on Windows XP, few weeks ago, and appear with my registered Windows 7 premium familly edition, with the same hardware configuration...
    Thank you for your help

    Hi eidnolb
    Thanks for your answer.
    This is what I have :
    Verify user permissions
    I have an administrator account.
    I tried (uninstall, install and run) with super-administrator account for same results
    Install the most current version.
    I am running the latest version (10.0.45.2)
    Run the Clean Installer to Fix 3rd Party Flash Player Cleaners
    I did not "clean" my computer.
    Troubleshoot Pop-up blockers
    I have no Pop-up or esle blocker  software.
    Ensure that Internet utilities do not block Flash Player
    I tried (uninstall, install and run) without Avast.
    I have windows 7 firewall. I do not know where I can allow ActiveX  controls and Flash (SWF) content. I do not see anything relative to ActiveX an Flash in allowed program list.
    Fix machine crashes when displaying Flash content
    I have no freez or crash.
    Using IE, Shockwave Flash Object is Enabled and vs 10.0.45.2
    Using FF, I have SWF vs  10.0.45.2 and it is Enabled
    I really do not understand !!
    Thanks,
    Ju'

  • Flash player does not work after I installed it

    Flash player does not work after I installed it

    I'm using Mac Osx and my browser is Safari
    Date: Wed, 5 Feb 2014 00:41:29 -0800
    From: [email protected]
    To: [email protected]
    Subject: Flash player does not work after I installed
        Re: Flash player does not work after I installed it
        created by Mike M in Installing Flash Player - View the full discussion
    This is a user-to-user forum, NOT 24/7 support. You're "lucky" I happen to be up at 1:40 am to answer you.
    What OS are you using?
    http://mmonlinedesigns.com/images/os.png
    What browser?
    http://mmonlinedesigns.com/images/browsers.png
         Please note that the Adobe Forums do not accept email attachments. If you want to embed a screen image in your message please visit the thread in the forum to embed the image at http://forums.adobe.com/message/6087541#6087541
         Replies to this message go to everyone subscribed to this thread, not directly to the person who posted the message. To post a reply, either reply to this email or visit the message page: http://forums.adobe.com/message/6087541#6087541
         To unsubscribe from this thread, please visit the message page at http://forums.adobe.com/message/6087541#6087541. In the Actions box on the right, click the Stop Email Notifications link.
               Start a new discussion in Installing Flash Player at Adobe Community
      For more information about maintaining your forum email notifications please go to http://forums.adobe.com/thread/416458?tstart=0.

  • Flash player does not work in Windows 8 tiles

    Flash player does not work in Windows 8 start metro tile applications. Flash player also does not work in Windows 8 start tile internet explorer 10 1n windows 8. Flash player does work in Windows 8 desktop internet Explorer 10. I tried all of the recommended fixes suggested by adobe Flash Player Issues/windows 8 page. I have reinstalled Windows 8 operating system.  What should I try next?

    This is a known issue with Flash Pro CC - GM build.
    this crash has been fixed in the update that was released recently. Please update to 13.0.1.808 version and it should fix this.
    Please reply if it still persists after the update.
    -Sujai

  • Has anyone been able to contact Adobe to learn why their Flash Player does not work on Mac OS 10.6.8, no matter how many updates you install?  This seems like a big error by Adobe.

    I have thee Mac computers with Mac OS 10.6.8, one of which is a Mac Pro.  No matter how many updates I install from Adobe, their Flash Player does not work on any of these 3 computers.  I don't know how to contact Adobe Systems about this problem, but I think it is their responsibility to make sure that their so-called "universal" software works proplerly on a relatively recent operating system like OS 10.6.8 that is still in widespread use.  When you install the updates, nothing happens -- not even an error message.  What is the point of a universal player that is not universal?  It works fine on my MacBook Pro with OS 9 Mavericks, but it does not work at all -- indeed, has never worked -- on my 3 Macs with OS 10.6.8.  Has anyone contacted Adobe Systems to find out why the Flash Player does not work with OS 10.6.8 and what they plan to do about it?

    Where are you getting Flash from?
    Get the appropriate dmg installer here and then run it.
    http://www.adobe.com/products/flashplayer/distribution3.html
    If it still won't install, do these two things: First uninstall any Flash by going into the second level Hard Drive Library>Internet Plug-ins, and trash the Flash Player.plugin and flashplayer.xpt. Then boot into Safe Boot, Shift at the startup chime (give it much longer than a usual boot) and run the installer while booted in Safe Boot.

  • After installing Adobe Flash Player 11.6 The player will not work and i can not find it installed

    After downloading and installing Adobe Flash Player 11.6 on my HP Laptop w/ Windows 7, The player will not work. Every time i click on a video it tells me that i need to install Adobe Flash Player. I have followed all the trouble shooting steps on the Adobe site, I have uninstalled it and reinstalled it again and still it does the same thing...In Adobe trouble shooting steps where it checks to see if there is another Adobe Flash Player installed on my computer, it can not find where there are any installed....so what do i do???

    What is your browser?  If IE:
    http://forums.adobe.com/thread/885448
    http://forums.adobe.com/thread/867968

  • Dvd player does not work after Leopard upgrade

    I installed Leopard, had to upgrade because my printer died and no printers now work with Tiger.  Since the upgrade, my DVD player does not work.  I have problems burning some cd's too.  Is this a known issue?  What is the fix?

    I have read a couple of complaints like that, but not sure it's widespread.
    At this point I think you should get Applejack...
    http://www.macupdate.com/info.php/id/15667/applejack
    After installing, reboot holding down CMD+s, (+s), then when the DOS like prompt shows, type in...
    applejack AUTO
    Then let it do all 6 of it's things.
    At least it'll eliminate some questions if it doesn't fix it.
    The 6 things it does are...
    Correct any Disk problems.
    Repair Permissions.
    Clear out Cache Files.
    Repair/check several plist files.
    Dump the VM files for a fresh start.
    Trash old Log files.
    First reboot will be slower, sometimes 2 or 3 restarts will be required for full benefit... my guess is files relying upon other files relying upon other files! :-)
    Disconnect the USB cable from any Uninterruptible Power Supply so the system doesn't shut down in the middle of the process.
    If that does NOT help, Safe Boot , (holding Shift key down at bootup), use Disk Utility from there to Repair Permissions, test if things work OK in Safe Mode.
    Then move these files to the Desktop...
    /Users/YourUserName/Library/Preferences/com.apple.finder.plist
    /Users/YourUserName/Library/Preferences/com.apple.systempreferences.plist
    /Users/YourUserName/Library/Preferences/com.apple.desktop.plist
    /Users/YourUserName/Library/Preferences/com.apple.recentitems.plist
    Reboot & test.
    PS. Safe boot may stay on the gray radian for a long time, let it go, it's trying to repair the Hard Drive.
    If that does NOT help then I suspect the optical drive or media itself, or possibly just needs a cleaning CD run on it.

  • My flash player does not work on my tablet.

    My flash player does not work on my tablet

    Your tablet uses Android OS.
    There is no more Flash Player for Android and there won't be another. Android is no longer compatible with Flash Player. Playing Flash content is very processor consumptive and it drains your battery, also shortening the life of it. Android (Google) recommends using either "Dolphin" or "Puffin" as your browser if you need to view Flash content with a mobile device running Android. They're both free in the GooglePlay store. These browsers use "server side" rendering to reduce the load on your device.

  • Satellite U400 - the webcam does not work anymore

    Hello guys here is my sudden probloema!
    About a year ago I purchased a laptop
    TOSHIBA - Satellite U400
    with s.o. WinVista 32bit and with integrated webcam chicony etc. ....
    For a year, everything worked correctly, but for some days now, the webcam does not work anymore.
    As soon as I try to open it, a message of management software cam that says "Webcam driver open fail, please restart or computer room"
    I tried to do it all: aggioronato and downloaded the drivers from toshiba, uninstalled the program and re installed the webcam ....! updated bios notebook ....! useless!
    the strange thing .. well that going into device manager ... the webcam is not there ....! but if the launch seems to open just then check quell caz ... Warning!!
    Gan you help me?
    Graziee

    Are you familiar and comfortable with LINUX LIVE bootable discs to load an alternative operating system with unobtrusive but extensive Toshiba device support so you can determine if your webcam hardware is ruined or if the problem is software and possibly solved reinstalling Windows ?
    At this point, you're pondering less time consuming but more expensive choices such as buying another web cam, or another computer and you might be temporarily borrowing someone else's web cam / using a non preferred spare web cam that isn't optimal for your needs.
    Continuously downloading software, registry cleaners, and repeatedly reinstalling drivers will eventually ruin your Windows installation and consume more time than you've wasted so far and still doesn't guarantee to fix your malfunction.

Maybe you are looking for

  • Report on PIR changes

    Hi, Would like to know if there is a standard report on List of Purchase Info Records that were changed during particular period? or any tables we can fetch the same? Regards, Vengat

  • Problem with Website when scrolling down in IE6

    I just created a website using Dreamweaver 8 which used a left and top frame. All the links in the nav bar in the left frame open up in the main frame. Everything works fine in Firefox and IE7, but in IE6, all the pages were opening up on top of one

  • DOES MAC OSX 10.6.8 WORK WITH PRO TOOLS 9HD?

    I'VE UPGRADED MY OPERATING SYSTEM TO OS X 10.6.8 AND HAVE BEEN HAVING PROBLEMS WITH PRO TOOLS 9HD EVER SINCE. IS ANYONE HAVING THIS SAME ISSUE AND ARE THERE ANY SUGGESTIONS? IF I NEED TO GO BACK DOWN TO OS X 10.6.7 TO RUN PRO TOOLS, HOW WOULD I DO TH

  • IMac monitor resolution problem

    I've been using an external monitor (acer) with my iMac 24" 2.16 ghz core 2 duo, mostly with Logic and various instrument plugins. It's been working great for a few months. Then today all of a sudden the display changed resolution (I think in respons

  • My photos are stuck in ''My Utilities App''

    If i will delete ''My Utilities App'' on my iphone4, are my all photos will deleted or not? cause my photos are hidden in the app. And i have to move my photos from my phone to my Mac. How can i move my hidden photos to my Mac? When im connecting my