Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 426966 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 (URL version)
VideoTest.java (text/x-java), 722 bytes, created by
aditsu
on 2016-02-29 10:10:56 UTC
(
hide
)
Description:
test program (URL version)
Filename:
MIME Type:
Creator:
aditsu
Created:
2016-02-29 10:10:56 UTC
Size:
722 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("http://download.oracle.com/otndocs/products/javafx/oow2010-2.flv"); > 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