Java – Playing MP3 and MP4

Here’s one way to trigger an MP3 or MP4 simply in one go:

MP4:

Just stick a jPanel somewhere (jPanelVideo in this example):

MP3:

Uses JavaZOOM JLayer library.

 

Leave a Reply

Your email address will not be published. Required fields are marked *