I am using JMF to play a sound file(ot.au). My
applet works in and out of my JBuilder. When I put all stuff into a jar file, it reports:
javax.media.NoPlayerException: Cannot find a Player for :jar:file:/H:/player.jar!/data/ot.au
my code:
...
try {url=this.getClass().getResource(mediaFile) ;
} catch (Exception mue) { mue.printStackTrace() ; }
...
try {player=Manager.createPlayer( url);
} catch (NoPlayerException e) {
System.out.println(e); }