Package org.exoplatform.commons.embedder
Class YoutubeEmbedder
java.lang.Object
org.exoplatform.commons.embedder.AbstractEmbedder
org.exoplatform.commons.embedder.YoutubeEmbedder
- All Implemented Interfaces:
Embedder
- Since:
- 4.0.0-GA
-
Field Summary
Fields inherited from class org.exoplatform.commons.embedder.AbstractEmbedder
schemeEndpointMap, url -
Constructor Summary
ConstructorsConstructorDescriptionYoutubeEmbedder(org.exoplatform.container.xml.InitParams initParams) constructor -
Method Summary
Modifier and TypeMethodDescriptionprotected org.exoplatform.services.log.LogProcesses input link and returns data wrapped into a model called ExoMedia.Methods inherited from class org.exoplatform.commons.embedder.AbstractEmbedder
correctURIString, getJSONObject, getPattern, setUrl
-
Constructor Details
-
YoutubeEmbedder
public YoutubeEmbedder(org.exoplatform.container.xml.InitParams initParams) constructor- Parameters:
initParams-
-
-
Method Details
-
getYouTubeURLPattern
-
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:
getExoLoggerin classAbstractEmbedder
-