Steps involved in
media presentation
(i)Create a
Realized Player
(ii)Get the
visual and controlPanel component and display it.
(iii)Start
the Player.
try{
player = Manager.createRealizedPlayer( source
);
//
player = Manager.createRealizedPlayer( url );
// player =
Manager.createRealizedPlayer(ml);
}catch(
java.io.IOException ioe) {
System.out.println(ioe);
}catch(
NoPlayerException npe ) {
System.out.println( npe);
}catch(
CannotRealizeException cre){
System.out.println(cre);
}