X

Geertjan's Blog

  • December 7, 2007

YouTube Movie Player in Plugin Portal

Geertjan Wielenga
Product Manager
I reimplemented the YouTube Player as a TopComponent (in its own brand new mode), with the titles listed in the Navigator. Get it here:

http://plugins.netbeans.org/PluginPortal/faces/PluginDetailPage.jsp?pluginid=4437

The YouTube Search window should open when you've installed the two modules you get from the ZIP that you download above. If it doesn't, open it from the Window menu. Type something in the window and press Enter. The Navigator is opened as usual, via Ctrl-7. Here's how it all looks:

When you double-click an item in the Navigator, the browser opens and the movie is displayed. Then you can watch it. Once we have an embedded native browser component in the IDE, you'll be able to set that in the Options window, then you'll be able to watch the movie inside the IDE.

Join the discussion

Comments ( 12 )
  • Daniel Sunday, December 9, 2007

    I get an error message when I try to open a movie which is found in the navigator. Double clicking show: "Could not access URL through external browser. Check the browser configuration".

    What can I do to fix this?

    Thanks and best wishes

    Daniel


  • Geertjan Sunday, December 9, 2007

    Tools | Options and there you can set your browser, in the General tab.


  • Daniel Sunday, December 9, 2007

    Sorry, I overlooked that options. Thanks for the help.

    If I understand right, an embedded browser component isn't available yet, so watching videos inside the IDE is not possible now?


  • Geertjan Sunday, December 9, 2007

    Exactly. I've heard rumors of an embedded browser component being available in the IDE in some upcoming release, so sooner or later it'll be included. I'm really looking forward to that. It'll make many things possible, including watching YouTube in the IDE.


  • Ashish Lijhara Monday, December 10, 2007

    Geertjan awesome plugin!!!!!

    Well i'd like to suggest something,how about using jdic to embed the native browser and thus we can get the support of flash runtime and no need to write the temp html file to show the movie!!


  • Geertjan Monday, December 10, 2007

    Thanks Ashish. The problem with JDIC is that it doesn't work with FireFox, which is the browser that I use. Instead, it works with Mozilla and IE. Believe me, I spent a lot of time trying to get it to work with FireFox a few weeks ago. But there will be a standard solution in NetBeans IDE in one of the upcoming released.


  • Ashish Lijhara Monday, December 10, 2007

    so you can use geeko the plugin by mozilla made purely for java applications to embed mozilla here are the examples

    http://developer.mozilla.org/en/docs/Roll_your_own_browser_-_An_embedding_HowTo#Java


  • Ashish Lijhara Monday, December 10, 2007

    i meant firefox not Mozilla


  • Ashish Lijhara Monday, December 10, 2007

    there is one more option using the flash api with java the project worth notice is jflash so we'll be able to to use the swf player straight ahead!!


  • guest Friday, January 11, 2008

    dude,u rock!!!


  • alper celik Wednesday, January 16, 2008

    thanks a lot, i liked it


  • Gerry Tuesday, December 1, 2009

    Hello...I'm using NetBeans version 6.7.1, and I get the following error:

    com.google.gdata.util.ParseException [...] Unknown attribute: 'favouriteCount'

    Please advise on how to correct this.


Please enter your name.Please provide a valid email address.Please enter a comment.CAPTCHA challenge response provided was incorrect. Please try again.