Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Problema MediaPlayer #37

Open
ldtg opened this issue Nov 20, 2016 · 5 comments
Open

Problema MediaPlayer #37

ldtg opened this issue Nov 20, 2016 · 5 comments

Comments

@ldtg
Copy link
Collaborator

ldtg commented Nov 20, 2016

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
Copy link
Owner

keze87 commented Nov 20, 2016

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
Copy link
Collaborator

guido-z commented Nov 20, 2016

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
#37, or mute the thread
https://github.com/notifications/unsubscribe-auth/ASdG40XKw1qILmHirVeDt1r6wXbREW1rks5q_598gaJpZM4K3a44
.

@keze87
Copy link
Owner

keze87 commented Nov 20, 2016

Estás en linux?

@keze87
Copy link
Owner

keze87 commented Nov 20, 2016

AFAIK java usa librerías viejas de sonido

@wjma
Copy link
Collaborator

wjma commented Nov 20, 2016

A mi tambien me funciona bien

@keze87 keze87 mentioned this issue Nov 20, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants