JavaFX HTTP Live Streaming Not Working -


i trying create media-player plays local media files/media on http live streaming using javafx version 2.0.

i able play local media files in media player. when try play media files on http live streaming, not working. getting white-blank screen shown below when try play media files using http live streaming.

click here see screenshot

and following code play media on http live streaming:

public class remotemultiplefilestreaming extends application {     private static final string media_url = "http://youtu.be/uvcuo8dpwfs?list=plrqujcu2azg-amedjxa7p7ylymon5imls&t=2";      @override     public void start(stage primarystage) {          gridpane root = new gridpane();         scene scene = new scene(root);          primarystage.setscene(scene);         primarystage.setmaximized(true);         primarystage.show();          media media = new media(media_url);         mediaplayer mediaplayer = new mediaplayer(media);         mediaplayer.setautoplay(true);          mediaview mediaview = new mediaview(mediaplayer);         mediaview.setfitheight(500);         mediaview.setfitwidth(500);          root.add(mediaview);         mediaplayer.play();     }      public static void main(string[] args) {         launch(args);     } } 

please let me know needs done in order play media files on http live streaming in media player using javafx.


Comments

Popular posts from this blog

c# - How Configure Devart dotConnect for SQLite Code First? -

java - Copying object fields -

c++ - Clear the memory after returning a vector in a function -