Win a copy of Re-engineering Legacy Software this week in the Refactoring forum
or Docker in Action in the Cloud/Virtualization forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Play audio or video?

 
Chris Stewart
Ranch Hand
Posts: 184
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
How can you play audio (mp3) or video in a Java application? Is there an API or something for this?
 
Chris Stehno
Ranch Hand
Posts: 180
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Yes you can do both of these things with the Java Media Framework (JMF). Sun has a reference implementation of it on the Java web site... just search for JMF. It works very well and is fairly easy to use.
Hope this helps.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic