Win a copy of Murach's Python Programming this week in the Jython/Python forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

What is the best way to show a video in a swing Application  RSS feed

 
bob morkos
Ranch Hand
Posts: 104
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
would like to know what I need to learn and what API is required.
Any help would be really appreciated. Thanks.
 
Jason Kretzer
Ranch Hand
Posts: 280
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
try here. I have not completely looked through it yet but it looks promising.
http://java.sun.com/products/java-media/jmf/index.html
-Jason
 
bob morkos
Ranch Hand
Posts: 104
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Is it better to have a swing application or an applet, maybe servlet? What do you think?
 
Nathan Pruett
Bartender
Posts: 4121
IntelliJ IDE Java Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
If you're going to be showing a viseo with JMF, the best bet is probably an application... If you did this in an applet, you would have to provide JMF to the user and they would have to download it every time ( or install it so their VM could find it ) because JMF is not a standard Java package. In a Servlet, you probably wouldn't need to use JMF, you'd just generate a webpage with a QuickTime, MPEG, or whatever sort of video it was in the code, and play the video through the browser. Of course, if the plug-in to play whatever sort of video is not installed, the user will have to download that the first time. It all just depends on your requirements. If you're doing this on the web, the easiest thing to do would probably be the 3rd ( servlet ) way. Then you don't have to worry about doing it through JMF...

-Nate
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!