Java Media Player Does Not Work

Tried to play video:

/usr/java/jdk1.8.0_91/bin/java -jar /usr/java/jdk1.8.0_91/demo/javafx_samples/Ensemble8.jar

The command shows the player window. But it does not play the video.