Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 426974 Details for
Bug 575978
dev-java/oracle-jdk-bin-1.8.0.74: can't play videos with JavaFX
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
test program (file version)
VideoTest.java (text/x-java), 700 bytes, created by
aditsu
on 2016-02-29 10:17:29 UTC
(
hide
)
Description:
test program (file version)
Filename:
MIME Type:
Creator:
aditsu
Created:
2016-02-29 10:17:29 UTC
Size:
700 bytes
patch
obsolete
>import java.io.File; > >import javafx.application.Application; >import javafx.scene.Scene; >import javafx.scene.layout.StackPane; >import javafx.scene.media.Media; >import javafx.scene.media.MediaPlayer; >import javafx.scene.media.MediaView; >import javafx.stage.Stage; > >public class VideoTest extends Application{ > @Override > public void start(final Stage ps) throws Exception { > final Media m = new Media(new File("oow2010-2.flv").toURI().toString()); > final MediaPlayer mp = new MediaPlayer(m); > mp.setAutoPlay(true); > final MediaView mv = new MediaView(mp); > ps.setScene(new Scene(new StackPane(mv), 600, 400)); > ps.show(); > } > > public static void main(final String... args) { > launch(args); > } >}
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 575978
:
426966
| 426974