I was thinking about implementing an application in Java (with a GWT GUI) that among its options will be able to play YouTube video and audio, or at least only audio.
The problem is that I can't seem to find any API or source code that enables it. What I want is that given a URL for a video in YouTube, one can play it using Java.
Have a look at Google's YouTube Data API, retrieving a VideoEntry
should be pretty trivial (see for example Interact with YouTube from Java ). Playing them from Java may require a bit more work and I guess you'll need to embed a SWF Player. Or maybe check gwt2swf, a Flash/Flex Widget for GWT.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With