/* control on form for media video */
private MediaView mediaView;
..
MediaPlayer mediaPlayer = new MediaPlayer(
new Media( "https://www.youtube.com/watch?v=gvKgvW9ujHo" ) );
MediaView.setMediaPlayer( mediaPlayer );
MediaView.getMediaPlayer().play();
Microsoft AX 2012, X++, C#, SQL server, SSRS, Java, JavaFX, Oracle, PL/SQL, Delphi - codes examples, step-by-step tutorials, experiences.
Showing posts with label javafx - media. Show all posts
Showing posts with label javafx - media. Show all posts
Friday, November 24, 2017
JAVAFX - How to play (youtube) video
Subscribe to:
Posts (Atom)