org.exoplatform.commons.embedder
Class YoutubeEmbedder

java.lang.Object
  extended by org.exoplatform.commons.embedder.AbstractEmbedder
      extended by org.exoplatform.commons.embedder.YoutubeEmbedder
All Implemented Interfaces:
Embedder

public class YoutubeEmbedder
extends AbstractEmbedder

Since:
4.0.0-GA

Field Summary
 
Fields inherited from class org.exoplatform.commons.embedder.AbstractEmbedder
schemeEndpointMap, url
 
Constructor Summary
YoutubeEmbedder(org.exoplatform.container.xml.InitParams initParams)
          constructor
 
Method Summary
protected  org.exoplatform.services.log.Log getExoLogger()
           
 ExoMedia getExoMedia()
          Processes input link and returns data wrapped into a model called ExoMedia.
 Pattern getYouTubeURLPattern()
           
 
Methods inherited from class org.exoplatform.commons.embedder.AbstractEmbedder
getJSONObject, getPattern, setUrl
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

YoutubeEmbedder

public YoutubeEmbedder(org.exoplatform.container.xml.InitParams initParams)
constructor

Parameters:
initParams -
Method Detail

getYouTubeURLPattern

public Pattern getYouTubeURLPattern()

getExoMedia

public ExoMedia getExoMedia()
Processes input link and returns data wrapped into a model called ExoMedia.

Returns:
ExoMedia object that corresponds to the link.

getExoLogger

protected org.exoplatform.services.log.Log getExoLogger()
Specified by:
getExoLogger in class AbstractEmbedder


Copyright © 2003–2014 eXo Platform SAS. All rights reserved.