VideoPortlet - YouTube
I've updated the videoportlet from Sun's Portlet Repository to use the new GData api. The portlet can be configured to use a default account to pull favorite videos from until the user sets an account. This allows all users to get video content when they initially login. The default account can be configured through the portlet.xml.
{{
<init-param> Â Â Â Â <description></description> Â Â Â Â <name>defaultYouTubeAccount</name> Â Â Â Â <value>someAccount</value> </init-param>
}}
Users can modify the default account when the favorites are displayed for any account. When the user modifies the account to pull favorites from, the portlet saves this account in the preferences. Thus, the next time the user logs in, the portlet displays the favorites for the account saved in the preferences.
NOTES: The two requirements for a proxy and developer id are not longer necessary. The portlet should be able to pull content without either requirement.
Install
Download the videoportlet.war. Run ant deployPortletApp -DportletApp=[path to the war]\videoportlet.war. Modify videoportlet/WEB-INF/portlet.xml to use a default account. Start your app server, then register the portlet with Portlet definition ID=videoportlet.Youtube Portlet. Enjoy!