When a JMF Player has Stopped

I'm new to this framework. I'm playing an video file and I'd like to be able to listen to the Player (or other object) in order to know when the video is finished so that I can close it and hide the frame containing it. I can get the duration of the Player and then close and hide the frame after that amount of time has elapsed, but I'd prefer to have a genuine event coming from the Player (or other object) which signaled that the show was over.
Thanks for any tips.

I see. You create a ControllerAdapter object and pass it to your player object player.addControllerListener(myControllerAdapter) and implement (override) this ControllerAdaper method: endOfMedia(EndOfMediaEvent eome) so that you take whatever action you want when the file ends (player.close() or whatever.)

Similar Messages

  • QuickTime Player has stopped working

    On my Vista machine, I can not run Quicktime since I get the error "QuickTime Player has stopped working" so it basically crashes. If I run Quicktime from other user accounts it works fine. It also works fine if I run it "as administrator". I have uninstalled and reinstalled it with no success. I have also followed suggestions in this forum to erase some hidden quicktime related files with no success. Does anyone have any other ideas???

    Many thanks. Best to print off a copy of these instructions, because at one stage of proceedings you won't be able to use a web browser.
    Preliminaries
    Switch "Run as administrator" off in the QuickTimePlayer.exe compatibility tab.
    Download and save a fresh copy of the QuickTimeInstaller.exe (installer file) from the following page. Get the option that doesn't mention iTunes. Don't run the install on line, and don't start the install just yet.
    http://www.apple.com/quicktime/download/
    Now quit all of iTunes, Safari and the MobileMe control panel if you have them installed and open. (They all use AAS, and may interfere with the uninstall if left open.)
    *Uninstall phase*
    Head into your Uninstall a program control panel. Uninstall QuickTime. Uninstall Apple Application Support.
    (From this point, none of iTunes, Safari or the MobileMe control panel will launch until we reinstall AAS, which should happen when we reinstall QuickTime.)
    Next we'll remove any leftover program files and folders.
    In "Computer" open "Local Disk C:" (or whichever drive you have your program files installed on).
    Open the "Program Files" folder.
    Right-click on the "QuickTime" folder (if it still exists) and select "Delete".
    Open the "Common Files" folder.
    Open the "Apple" folder.
    Right-click on the "Apple Application Support" folder (if it still exists) and select "Delete".
    In "Computer" open "Local Disk C:" (or whichever drive you have your operating system installed on).
    Open the "Windows" folder.
    Open the "System32" folder.
    Right-click on the "QuickTime" and "QuickTimeVR" files (if they still exist) and select "Delete".
    Empty your Recycle Bin.
    (If you got any error messages on the uninstalls and/or deletions, let us know what they say. Precise text, please.)
    *Reinstall Phase*
    Restart the PC. After the PC restarts do not open any applications. Disconnect from your network and/or the internet. Now switch off all your security software (firewall, antivirus, antispyware).
    Now start the reinstall by doubleclicking the QuickTimeInstaller.exe file you downloaded earlier. (This should also reinstall Apple Application Support.)
    Reenable all security software prior to reconnecting to your network and/or the internet.
    ... does QuickTime launch without the error this time? Or do we still have to do the "Run as administrator" thing?

  • Flash Player has stopped working...over and over again!

    I get this message whenever I try and watch a video, same message for any page that uses flash, same message no matter which browser I'm using. This problem began with version 10, and I was using older versions of Flash Player until the other day when it would no longer work due to security issues--the message was that the older version of flash would no longer work...I needed to update the player. So, I did, and we're back to the same problem of Flash Player has stopped working message popping up over and over again. It doesn't seem to be the browsers since I get the same message in all of them. Possibly it is the hardware acceleration, but the two pathways to disabling hardware acceleration don't work.   When I try to see the current version (so I can right click and get to settings), the version won't show. The other strategy, right cliking on the video, also won't work because the video won't show after Flash Player has stopped working. My graphics card is a Radeon x1950, and I'm running 32 bit Vista Home Premium.  There is a ton of information on line about dealing with a balky flash player, but nothing that seems to address this problem. Any help will be appreciated.  Thanks in advance. RAS
    PS, sorry, I wasn't paying attention and first posted this in "installing flash player."
    One more thing....when I go to Flash Player Find Version page, the video does not show up, nor does the version....two big blank spaces.  But Flash Player is installed.

    I replied over on your other post.
    What browser are you using that is giving you the blank spaces on the versions page?

  • Quicktime player has stopped working in Vista after registering Pro key

    I have installed QT player as part of the itunes QT package today and it appeared to work untill I registered it with my pro key which also enabled the additional function, but when i closed and restarted I get message "Quicktime player has stopped working...etc" and it never opens. I have repaired, reinstalled QT, reinstalled QT and itunes, all to no effect. I then restored to before QT and i tunes installation then reinstalled QT and itunes and it works again !, but only until I enter pro key and exit and restart. There is also an issue with the addin in internet explorer which also does not work, but generates a string of error messages when i try to play movies. Oddly enough, if I run QT as administrator it works, and if it seems the QT browser addin works in Firefox (when run off memory stick)
    I'm completly confused and frustrated; anyone any ideas please, I'm running Vista SP1 on Dell XPS420 Quad core 2.4 Gig 4MB RAM

    Have looked in this a little further and the problem may not be todo with the Pro registration as having restored to a point before QT installation several times I now find that when reinstalled QT works the first time you run it but once closed it will not reopen. However if I run as administrator it runs OK, also if i turn off User Account Control it works OK; this true for the Internet Explorer addin as well as QT player and even the picture viewer. The picture viewer actually reports an error "Quicktime has failed to intialize Error # - 2095". One final observation is that the QT addin works OK without user account control switched off in Firefox 3 b5.
    Something is amiss I suspect with permissions/security and i would rather not operate with User Account Control off.
    Much appreciate anyones advise on this it is driving me mad

  • Disable dialog: Adobe Flash Media Player has stopped a potentially unsafe operation

    How do I prevent this dialog?
    http://www.corenetworkz.com/2011/04/adobe-flash-player-has-stopped.html
    I've set it to Always deny here
    http://www.macromedia.com/support/documentation/en/flashplayer/help/settings_manager04.htm l
    I don't want to see this dialog.
    By the way, sometimes the dialog doesn't allow input so the only way to get rid of it is to end plugin-container.exe. It's like the famous mouse detection error in the flash dialog
    https://bugzilla.mozilla.org/show_bug.cgi?id=552520
    although this dialog doesn't seem to run from flash but looks like a regular Windows API dialog.

    The Flash Global Security Settings Panel
    http://www.macromedia.com/support/documentation/en/flashplayer/help/settings_manager04.htm l
    is NOT for remote sites, it's for Flash files on YOUR machine that are attempting to connect with Internet loacations.
    Add YOUR FILE to the "edit locations" dialog box.
    Or, test YOUR file by uploading to a Web server... this security warning will NOT kick in... it's only when testing a Flash file from your local machine that this happens.
    Best wishes,
    Adninjastrator

  • Adobe flash player has stopped a potentialy unsafe operation

    I have just on Dreamweaver add a swf file to my web page and the two scripts files were added, expressinstall. swf and swfobject_ modified.js  when I try to open the pages on a pc with xp I get a message (Adobe flash player has stopped a potentialy unsafe operation)  The following local app  C:\\site\the bead game\mysite\scripts\expressinstall.swf is trying to communicatewith this internet-enabled location fpdownload.macrmedia.com What do I do It plays in the properties panel but not in live view or on browser lab should I Allow this is this normal.

    Yes the popup is a local security warning if you test a page containing a Flash <object> that is attempting to communicate with another Web site via the Internet.
    You can change the security settings to allow that file to communicate with the Internet the next time you open it by adding the file location on your local machine to the security panel settings:
    http://www.macromedia.com/support/documentation/en/flashplayer/help/settings_manager04.htm l
    Choose "Edit location", "Add location", browse your local machine for the file and confirm your choice. Then you should see that location listed under the "Always trust these files" dialog box.
    But yes, this only happens when testing locally and does not come into play when testing from a remote server.
    Best wishes,
    Adninjastrator

  • I get a message that says Adobe Flash Player has stopped a potentially unsafe operation.

    I use Articulate to create my player.html files. When I double click my player.html file I get a message that says Adobe Flash Player has stopped a potentially unsafe operation.  Then it shows me the name of a swf file in my files that is trying to communicate with the player.html.  Then is say s to let this application communicate with the internet , click settings but that doesnt seem to help.  I've tried clicking on all the tabs that are under the settings window that opens up but the problem persists

    This is from my Mac, but it's the SAME on Windows.
    I'll post a windows screen shot as soon as I reboot my laptop.

  • Error error adobe flash player has stopped a potentially unsafe operation

    Dear Sir,
    This is regarding the error which i am getting when i open
    one perticuler adobe application
    "error adobe flash player has stopped a potentially unsafe
    operation "
    I got one cisco flash presentation i am not able to open the
    file because of this error. It would be really helpfull for me if
    you could guide how to solve this problem.Awaiting your reply.I
    would appreciate your earleast reply
    Regards
    Lijesh.

    I'm getting the same problem. No explaination of why, and
    downgrading all my security to DANGEROUSLY unsafe levels doesn't
    help, nor does setting anything in the settings app. (Have you ever
    used a slower application?)
    I did find (using a Google search) a blog that pointed me to
    the article located at this address:
    http://www.adobe.com/cfusion/knowledgebase/index.cfm?id=13530cdd
    I don't know yet if it will help, but it appears to be on the
    right track.
    Good luck.

  • Overiding "Flash Player has stopped a potentially unsafe operation"

    Hello,
    I have an application that is causing flash player to display
    the ""Macromedia Flash Player has stopped a potentially unsafe
    operation" warning message and I was wondering if there was a way
    to override this w/ a publishing setting or an actionscript System
    command.
    It's rather crucial that I kill this error message for our
    users.
    Thanks for your help!
    Clem C

    TabNavigator causes that dialog to crack.  When I remove it, dialog doesn't open, add it back in, unsafe dialog pops.
    I made it as simple as:
    <mx:TabNavigator width="100%" height="100%" />
    Removing that one line determines whether dialog opens or not.
    Weird.
    I created a simple SWF with a panel and tabnavigator on it and attempted to run it but no dialog opens so there is another variable somewhere causing this.

  • Adobe Flash Player has stopped a potentially unsafe operation - Facebook

    When I look at pictures in facebook and click out of the pictures I have a message that pops up every time and sometimes shuts down Firefox. It says:
    Adobe Flash Player has stopped a potentially unsafe operation. The following application on your computer or network: [object] is trying to communicate with this Internet-enabled location: www.facebook.com. To let this application communicate with the Internet, click settings. You must restate the application after changinn your settings.
    I have run my virus scanner and have not picked anything up. My son downloaded music frost and wire frost (or something like those) and I deleted them before he downloaded anything but it somehow changed my settings of the search provider and home page on firefox and now this happens. Anyone have any suggestions? Thank you in advance.

    I think what I would do first, since there is a question on what was downloaded/Installed. Go to Control Panel/Programs & Features and take a look to see if any of those programs are Installed. If you see any that you don't want, remove them from there and restart your computer.
    AVG can miss malware and don't find everything. I would go to www.malwarebytes.org and DOWNLOAD and SAVE to your Desktop the Free version. Then update it if it doesn't automatically. Then close the window.
    Close all browser windows and Disable AVG. Then open Malwarebytes(MBAM) and run a full scan. If anything is found follow their instructions for removing it. When that is done, run a Quick scan with it.
    Thanks,
    eidnolb
    Also, what pop up are you receiving? Who is it coming from? What Settings are you speaking of?

  • Adobe Flash Player has stopped a potentially unsafe operation... yahoo media player

    Adobe Flash Player has stopped a potentially unsafe operation: <MySite> is trying to communicate with this internet enabled location. To let this application communicate with the internet click settings.''
    I then click settings and the l.yimg.com site is already allowed. This happens each time I go to the page. I went the flash player help section and it referenced a settings pdf which took me back to the same settings panel I first visited. Still the l.ying site is allowed. What to do?
    jeff

    The Flash Global Security Settings Panel
    http://www.macromedia.com/support/documentation/en/flashplayer/help/settings_manager04.htm l
    is NOT for remote sites, it's for Flash files on YOUR machine that are attempting to connect with Internet loacations.
    Add YOUR FILE to the "edit locations" dialog box.
    Or, test YOUR file by uploading to a Web server... this security warning will NOT kick in... it's only when testing a Flash file from your local machine that this happens.
    Best wishes,
    Adninjastrator

  • Error when opening itunes : iTunes has stopped working ''A problem caused the program to stop working correctly''. When I repaired damaged files the problem still exists and also after uninstalling and redownloading and installing itunes. I have windows 8

    Error when opening iTunes : iTunes has stopped working '' A problem caused the program to stop working correctly''.
    When I repaired damaged files the problem still exists and also after uninstalling, redownloading and reinstalling iTunes.
    My pc is working with windos 8.
    Is there a solution?

    Hey there Rodney274,
    It sounds like you are getting an error from iTunes when you launch it. I would try the troubleshooting in this article named:
    iTunes for Windows Vista, Windows 7, or Windows 8: Fix unexpected quits or launch issues
    http://support.apple.com/kb/ts1717
    Start with troubleshooting for 3rd party plug ins section, then the rest of the article if needed:
    Start iTunes in Safe Mode
    Open iTunes in Safe Mode to isolate any interference from plug-ins or scripts not manufactured by Apple.
    Hold down Shift–Control while opening iTunes. You should see a dialog that says "iTunes is running in safe mode" before iTunes finishes starting up.
    Click Continue.
    See if the issue you're experiencing persists in Safe Mode.
    If you have the same issue while iTunes is in Safe Mode, proceed to the "Create a new user account" section. If you don't experience the same issue, follow these steps to remove third-party plug-ins.
    Thank you for using Apple Support Communities.
    Take care,
    Sterling

  • What can I do about this message -"Toshiba DVD Player has stopped working"

    Hi
    My DVD Player used to work fine . . . and then I installed iTunes.
    It then worked for a while, but only by using 'Run as Administrator'.
    After a couple of weeks I started to get the message "Toshiba DVD Player has stopped working".
    I have uninstalled iTunes - and uninstalled and then re-installed the DVD Player - but it still will not work!!
    Any solutions please?
    Thanks in advance for your help.
    Ms Q_reeus

    My solution to this is to remove Toshiba DVD player and install VLC player. You can get it for free.
    It can read all video formats and you don't need some additional codecs.

  • I can't play MPEG4.avi video  - all I get is "The video player has stopped working. Please relaunch"

    I can't play MPEG4.avi, or any other, video  - all I get is "The video player has stopped working. Please relaunch".  Please tell me what to do.

    I took the video in 2009.  I can't remember the camera model I took it with and the other information you request does not show up in the "i" panel in iPhoto.
    My version of iPhoto 11 is 9.2.3.

  • Player has stopped

    Need help with player has stopped running. Thank you.

    I'm having a lot less problems with my Vista 64 than I ever did with XP 64.
    In fact I really like Vista and the reasons are nothing to do with the facelift. In so many areas it's simply so much better at doing hardcore stuff than XP ever was. Anyeeeewayyyy....
    However, one area where I repeatedly have major issues is with Quicktime (not that Quicktime was any less of a pain in the *** on XP).
    I'm not getting any errors as such but *this time* I can no longer run Quicktime or access anything needing the Quicktime web Player.
    The application seems to open but nothing appears on the screen. I get the Quicktime taskbutton (which I can close) but no actual program. I've tried reinstalling but to no avail.
    Oddly, simply double clicking a mov file works fine.
    UAC is off.
    AV (Kaspersky - On or Off)

Maybe you are looking for

  • Quantity field not getting displayed for all document types

    Hi, I have made a configuration to include field Quantity(BSEG-MENGE) in the GL account line item display.When I ran the report for stock adjustment account(FAGLL03), only the following document types are showing quantity against them. WI- Inventory

  • How to find document attached to user and Company code?

    Hi all, Requirement: Select a list of Business documents ( Sales order/PO....) created or changed by <b>specific users</b> which belong to a <b>Specific Company code</b>. ie,To develop a report which lists the Documents created/updated/changed based

  • Hi Sanjeev : Validating PO during the creation of Sales Orders

    Hi Sanjeev, Thank you very much for helping me out in this problem.Still I haven't got the solution. I tested the above mentioned configuration option by putting the Check Purchase Order Number field to 'A' in the transaction VOV8. But while creating

  • Trading Partner field in GL entry

    We are in ECC6. We want to enter manually the 'Trading Partner' field in certain GL postings. But when we enter the GL document using F-02, this field is not appearing for input. We looked in additional data fields also. But not available. We are usi

  • Why I can't create a folder in my passport ultra? I want to back up my files

    My MAC is getting slower so I bought a 1 TG WD My Passport Ultra to free up some space. But once installed, I can't create new folder in the external HD. Please help.