I'm able to host my images on imgur for my javafx project like so:
Image circle = new Image("http://imgur.com/7oW7ilC.png");
But when I try to do the same for audio files, it doesn't play the sound (no errors)
Media sound = new Media("http://enkrypton.github.io/filehost2017/hit.mp3");
MediaPlayer mediaPlayer = new MediaPlayer(sound);
mediaPlayer.play();
Is there a way I can use audio files from a URL the same way I use images? Note that this is not a HTTP Error 403 since I'm able to load other images I have on my filehost.