 |
Video Portlet
Description
The VideoPortlet includes two portlets. One is a YoutubePortlet? and the other is SingleVideoPortlet. Youtube portlet displays the favourite videos of the configured user. SingleVideoPortlet displays a single video.
Prerequisites for Deployment
None. The portlet can be directly deployed into any JSR 168 compliant container without any additional configuration.
Requirements:
- Developer Id is required to connect to Youtube.com from the portlet. Go to [http://www.youtube.com/dev] and click on Developer Profile. Enter the details and you will be provided with the Developer ID.
- If you are behind a firewall the proxy needs to be set. Set these jvm options in your webserver/application server.
-Dhttp.proxyHost="proxy host"
-Dhttp.proxyPort="proxy port"
Deployment Steps
- Specify the Developer ID in the portlet.xml
- Deploy the VideoPortlet to your Portlet Container. For your convenience, the "How To" section on project wiki page will help you get started with a few popular portlet containers.
- Click on "Configre my Youtube account details".
- Enter the youtube LoginID? and click Save.
Tested On
- Open Source Portlet Container 1.0
- Apache Pluto 1.0.1
Functionality
Here is a screenshot of the YouTube portlet. The portlet displays all the favorites for a given youtube user id.
The SingleVideoPortlet is preconfigured by the administrator and there is option for the user to chnage
the displayed video.
|