File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Swing / AWT / SWT and the fly likes mp3 player from applet Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of OCM Java EE 6 Enterprise Architect Exam Guide this week in the OCMJEA forum!
JavaRanch » Java Forums » Java » Swing / AWT / SWT
Bookmark "mp3 player from applet" Watch "mp3 player from applet" New topic
Author

mp3 player from applet

tatae alvostru
Greenhorn

Joined: Jun 04, 2001
Posts: 17
I need to make an mp3 player into an applet. Any ideas ? (Note it has to be Java 1.1)
Rob Ross
Bartender

Joined: Jan 07, 2002
Posts: 2205
That's going to be a pretty tall order. Why can't you use the java plug-in and develop against the 1.4 jdk? or at least 1.3...something more modern.
The java media framework might be of help to you, but not under 1.1. You could try building your own, but you're going to run into security issues, since you can't open mp3 files on the user's local machine unless you specifically have set this up ahead of time.


Rob
SCJP 1.4
Michael Morris
Ranch Hand

Joined: Jan 30, 2002
Posts: 3451
Rob,
I've been resisting this one all day, was gonna say something like "Good freakin' luck." Nice to see tact and diplomacy in your reply.
Michael Morris


Any intelligent fool can make things bigger, more complex, and more violent. It takes a touch of genius - and a lot of courage - to move in the opposite direction. - Ernst F. Schumacher
tatae alvostru
Greenhorn

Joined: Jun 04, 2001
Posts: 17
I know this is not going to be easy. I can not download any plugin or extensions, it's an applet. The files are loaded form the site, so there will be no security problems.
I simply don't think this is possible, but I wanted to know if there is something like this on the market.
Rob Ross
Bartender

Joined: Jan 07, 2002
Posts: 2205
The sun plug-in for java 1.4 can automatically be downloaded and installed in the browser. You still code your applet like normally. But in the html file, it will check to see if the user has the java plug in and if not, it will download it and install it and now you can run 1.4 applets.
This really is the best solution to your problem. You can then use the Java Media Framework to play mp3 files from the server.
 
Consider Paul's rocket mass heater.
 
subject: mp3 player from applet