keze87 / TP2

0 stars 1 forks source link

Problema MediaPlayer #37

Open ldtg opened 7 years ago

ldtg commented 7 years ago

Gente estoy tratando de leer lo de la vista y eso, pero cuando quiero correr el programa despues de la intro me tira el error Exception in thread "JavaFX Application Thread" MediaException: UNKNOWN : com.sun.media.jfxmedia.MediaException: Could not create player! : com.sun.media.jfxmedia.MediaException: Could not create player!

No se si me pasa a mi nomas o a todos

keze87 commented 7 years ago

A mi también, por eso siempre tengo que comentar:

Media sonido = new Media(new File("src/fiuba/algo3/vista/Sonidos/Pokemon_Opening.mp3").toURI().toString());
MediaPlayer mediaPlayer = new MediaPlayer(sonido);
mediaPlayer.setCycleCount(MediaPlayer.INDEFINITE);
mediaPlayer.play();

de MenuPrincipal

guido-z commented 7 years ago

Uff, lo syncheaste? Yo tengo el proyecto actualizado y funciona bien

2016-11-19 22:16 GMT-03:00 Luis Tejerina notifications@github.com:

Gente estoy tratando de leer lo de la vista y eso, pero cuando quiero correr el programa despues de la intro me tira el error Exception in thread "JavaFX Application Thread" MediaException: UNKNOWN : com.sun.media.jfxmedia.MediaException: Could not create player! : com.sun.media.jfxmedia.MediaException: Could not create player!

No se si me pasa a mi nomas o a todos

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/keze87/TP2/issues/37, or mute the thread https://github.com/notifications/unsubscribe-auth/ASdG40XKw1qILmHirVeDt1r6wXbREW1rks5q_598gaJpZM4K3a44 .

keze87 commented 7 years ago

Estás en linux?

keze87 commented 7 years ago

AFAIK java usa librerías viejas de sonido

wjma commented 7 years ago

A mi tambien me funciona bien