fr.paris.lutece.plugins.googleapi.modules.youtube.business
Class YouTubeProvider

java.lang.Object
  extended by fr.paris.lutece.plugins.googleapi.business.FeedProvider
      extended by fr.paris.lutece.plugins.googleapi.business.VideoProvider
          extended by fr.paris.lutece.plugins.googleapi.modules.youtube.business.YouTubeProvider

public class YouTubeProvider
extends VideoProvider

YouTubeProvider


Constructor Summary
YouTubeProvider()
           
 
Method Summary
 java.lang.String getPlayerHtml(java.lang.String strVideoUrl, java.lang.String strWidth, java.lang.String strHeight, java.util.Locale locale)
          Returns the HTML code of the video player
 
Methods inherited from class fr.paris.lutece.plugins.googleapi.business.FeedProvider
getFeedHandler, getFeedsUrl, getKey, getName, getQueryParameter, setFeedHandler, setFeedsUrl, setKey, setName, setQueryParameter
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

YouTubeProvider

public YouTubeProvider()
Method Detail

getPlayerHtml

public java.lang.String getPlayerHtml(java.lang.String strVideoUrl,
                                      java.lang.String strWidth,
                                      java.lang.String strHeight,
                                      java.util.Locale locale)
Returns the HTML code of the video player

Specified by:
getPlayerHtml in class VideoProvider
Parameters:
strVideoUrl - The video URL
strWidth - The width of the player
strHeight - The height of the player
locale - The locale to use with the player
Returns:
the HTML code of the video player


Copyright © 2008 Mairie de Paris. All Rights Reserved.