YouTube Movie Player in Plugin Portal

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.

Comments:

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

Posted by Daniel on December 09, 2007 at 02:19 AM PST #

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

Posted by Geertjan on December 09, 2007 at 02:27 AM PST #

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?

Posted by Daniel on December 09, 2007 at 03:01 AM PST #

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.

Posted by Geertjan on December 09, 2007 at 03:09 AM PST #

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!!

Posted by Ashish Lijhara on December 09, 2007 at 05:50 PM PST #

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.

Posted by Geertjan on December 09, 2007 at 05:53 PM PST #

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

Posted by Ashish Lijhara on December 10, 2007 at 01:46 AM PST #

i meant firefox not Mozilla

Posted by Ashish Lijhara on December 10, 2007 at 01:49 AM PST #

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!!

Posted by Ashish Lijhara on December 10, 2007 at 01:51 AM PST #

dude,u rock!!!

Posted by guest on January 10, 2008 at 07:34 PM PST #

thanks a lot, i liked it

Posted by alper celik on January 16, 2008 at 02:04 AM PST #

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.

Posted by Gerry on November 30, 2009 at 11:10 PM PST #

Post a Comment:
  • HTML Syntax: NOT allowed
About

Geertjan Wielenga (@geertjanw) is a Principal Product Manager in the Oracle Developer Tools group living & working in Amsterdam. He is a Java technology enthusiast, evangelist, trainer, speaker, and writer. He blogs here daily.

The focus of this blog is mostly on NetBeans (a development tool primarily for Java programmers), with an occasional reference to NetBeans, and sometimes diverging to topics relating to NetBeans. And then there are days when NetBeans is mentioned, just for a change.

Search

Archives
« April 2014
SunMonTueWedThuFriSat
  
12
13
14
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
   
       
Today