JavaFX Mobile, boldly go where no one has gone before
|
|
Click on arrow to PLAY. Click on picture to PAUSE/RESUME. Note: If video
playback is blank or slow, reload the page and make sure QuickTime 7.6
is installed on your system.
The cool part of JavaFX is the simple way to add video to your app. And, because it's JavaFX, you program it the same way on your mobile device as you would for your desktop. Write once, and run wherever Captain Kirk says to run it. Try playing the video above and see what I mean... |
Code snippet:
var player = MediaPlayer {
autoPlay: false
media : Media {
source : "{__DIR__}star-trek.flv";
}
}
var view:MediaView = MediaView {
visible: true
mediaPlayer: bind player
}
|
|
|
Theme originally based on design by Bryan Bell








