• Post Reply Bookmark Topic Watch Topic
  • New Topic

JMF MP3 Applet Problem, HELP  RSS feed

Daniel Simpson
Ranch Hand
Posts: 181
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I am brand new to JMF, and I was able to successfully write a simple application that played an MP3 on my computer. I want to write a very basic applet to put on my website that plays an MP3 from a folder on my server. Here is the error I get in the console when I try to view the applet:

My html page:

For the JMF MP3 Plugin, Sun says this:

For the plugin to work within a JMF application, you need to :
- ensure that jmf.jar is also in the /lib/ext directory
- run the following command:
java com.sun.media.codec.audio.mp3.JavaDecoder

I did that and opened the applet up in IE 6 and it worked! I did it in Mozilla and it didn't work. However, I tried it on a different computer using IE 6 and it didn't work. Does this mean that in order for every user to listen to it, they have to have that plugin installed and run that command? Is there anyway to avoid having them have to install the plugin? Thanks!

[ March 31, 2005: Message edited by: Daniel Simpson ]
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!