aspose file tools*
The moose likes Applets and the fly likes media player applet Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
JavaRanch » Java Forums » Java » Applets
Bookmark "media player applet" Watch "media player applet" New topic
Author

media player applet

parni raghuvanshi
Greenhorn

Joined: Jun 21, 2011
Posts: 14
can anyone help me how i can run a media player applet and add items to the playlist as i am not able to add mp3 items to my playlist.I am currently using eclipse ide and making media player applet in it.
James Sabre
Ranch Hand

Joined: Sep 07, 2004
Posts: 781

I don't see how anyone can help you. We have no view of your code. We don't even know if you have enabled mp3 and if you have which third party library you are using. You do realise that your Applet will need to be signed.

P.S. Security restrictions and deployment complexities mean that Applets are not a good starting point when learning any aspect of Java. You normally do better to just create a desktop program.


Retired horse trader.
 Note: double-underline links may be advertisements automatically added by this site and are probably not endorsed by me.
parni raghuvanshi
Greenhorn

Joined: Jun 21, 2011
Posts: 14

James Sabre
Ranch Hand

Joined: Sep 07, 2004
Posts: 781

Please use the code tags when posting code. You just select the code in the edit window and press the 'Code' button. It would be worth editing your last post to add the code tags.

As is stands, does your code play '.au' and '.wav' files ?
Ulf Dittmer
Marshal

Joined: Mar 22, 2005
Posts: 39541
    
  27
... or, to state it directly, AudioClip can't play MP3s. You'll need to use some other library/API to do that. JMF is one such library for which a separate MP3 plugin is available.


Ping & DNS - updated with new look and Ping home screen widget
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: media player applet
 
Similar Threads
suggestion for making media player in applet
Playing audio and Video Files
HELP
Urgent: JMF Player for real time voice input
How to add zooming option for an image on applet