derekl
asked on
Looking for info on displaying video in Swing
Does anyone know of a Swing component capable of displaying video images, or know of a site which might contain information about doing this?
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Can't vouch for the quality 8-)
This guy looks like he's using one:
https://www.experts-exchange.com/questions/20807486/Applet-locks-IE-on-exit.html
https://www.experts-exchange.com/questions/20807486/Applet-locks-IE-on-exit.html
Use JMF:
http://java.sun.com/products/java-media/jmf/
There's a pre-fabbed component already cobbled together for you that's super-easy to work with. It's the:
javax.media.bean.playerbea n.MediaPla yer
and it extends java.awt.Component, while implementing the mediaplayer interface, javax.media.Player:
http://java.sun.com/products/java-media/jmf/2.1.1/apidocs/javax/media/bean/playerbean/MediaPlayer.html
If there's functionality you need that's not available you could always re-implement the class with the abilities you need, it's pretty flexible, playing almost any media that your system would understand.
http://java.sun.com/products/java-media/jmf/
There's a pre-fabbed component already cobbled together for you that's super-easy to work with. It's the:
javax.media.bean.playerbea
and it extends java.awt.Component, while implementing the mediaplayer interface, javax.media.Player:
http://java.sun.com/products/java-media/jmf/2.1.1/apidocs/javax/media/bean/playerbean/MediaPlayer.html
If there's functionality you need that's not available you could always re-implement the class with the abilities you need, it's pretty flexible, playing almost any media that your system would understand.
Oops! Answer already accepted! Never mind.
ASKER