java - JavaFX8 mediaplayer plays video on OS X but not on Windows 7 -


i struggling javafx mediaplayer. have few videos mp4(h264 , aac), , plays on mac, not play on of windows pcs. not throw errors, not play. screen goes white, thats it. there particular reason this? calling "mediaplayer.play()", , media feature pack windows installed. in advance.

string path = settings.currentdir() + file.separator + "files" + file.separator + filename; media media = new media(new file(path).touri().tostring());  mediaplayer mediaplayer = new mediaplayer(media); mediaplayer.setautoplay(false); mediaview mediaview = new mediaview(mediaplayer); mediaview.setfitwidth(width); mediaview.setfitheight(height); mediaplayer.setmute(true);  stackpane borderpane = new stackpane(); borderpane.setminsize(width, height); borderpane.getchildren().add(mediaview); 


Comments

Popular posts from this blog

authentication - Mongodb revoke acccess to connect test database -

r - Update two sets of radiobuttons reactively - shiny -

ios - Realm over CoreData should I use NSFetchedResultController or a Dictionary? -