Results 1 to 2 of 2
  1. #1
    usuikazkou is offline Member
    Join Date
    May 2014
    Posts
    5
    Rep Power
    0

    Default how to play youtube video in java application

    Hi everyone~ i need some help ~ i am writing a java application that can play youtube video by given URL. first i tried with JPaneleditor, then now i am trying google youtube api, but maybe api is abit too tough for me.
    any better and easier suggestion ??
    and if youtube api is a good way please help me how to use it...
    thanks~

    ps:i am using netbeans

  2. #2
    jashburn is offline Senior Member
    Join Date
    Feb 2014
    Posts
    219
    Rep Power
    1

    Default Re: how to play youtube video in java application

    It's not going to be straightforward, and you certainly cannot use standard Java classes such as JEditorPane for this as YouTube video playback requires either Flash or HTML 5 Video support. Use an Internet search term such as "display youtube in java" to find further info on this. E.g., I found:

    both of which use code from The DJ project.

Similar Threads

  1. (Youtube-) Video in a Swing GUI
    By avalancha in forum Advanced Java
    Replies: 3
    Last Post: 08-25-2012, 01:15 AM
  2. YouTube Direct and Video IDs
    By LaPasticca in forum Web Frameworks
    Replies: 2
    Last Post: 02-25-2012, 02:42 PM
  3. Using JMF to play a video inside java code
    By esl21 in forum Java Applets
    Replies: 1
    Last Post: 12-08-2011, 12:54 AM
  4. how to play a video from a file using jmf in a java
    By 200808147 in forum New To Java
    Replies: 0
    Last Post: 07-10-2011, 12:20 PM
  5. How to play video files in Java
    By Hasan in forum Advanced Java
    Replies: 11
    Last Post: 04-26-2009, 11:57 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •