public class VideoProfile extends Object
Modifier and Type | Field and Description |
---|---|
static String |
PROFILE_BASE_PATH |
static String |
PROFILE_TYPE_CQ |
static String |
PROFILE_TYPE_S7 |
Constructor and Description |
---|
VideoProfile(Resource resource) |
Modifier and Type | Method and Description |
---|---|
static VideoProfile |
get(ResourceResolver resolver,
String name)
Resolves a video profile by name (relative to the video profile base
path) or absolute path.
|
Node |
getContentNode() |
Resource |
getContentResource() |
String |
getCustomVideoSource(Rendition rendition) |
String |
getFlvVideoSource(Rendition rendition) |
String |
getHtmlSource(Rendition rendition)
Get the value for the 'src' attribute for the html <source> element, based on the given rendition.
|
String |
getHtmlType() |
String |
getName() |
Dimension |
getOutputSize() |
String |
getPath() |
ValueMap |
getProperties() |
Rendition |
getRendition(Asset asset) |
Resource |
getResource() |
String |
getStrobeVideoSource(Rendition rendition) |
public static final String PROFILE_BASE_PATH
public static final String PROFILE_TYPE_CQ
public static final String PROFILE_TYPE_S7
public VideoProfile(Resource resource)
public static VideoProfile get(ResourceResolver resolver, String name)
name
- can be a name or an absolute pathpublic String getName()
public String getPath()
public Resource getResource()
public Resource getContentResource()
public ValueMap getProperties()
public Node getContentNode()
public String getHtmlType()
public Dimension getOutputSize()
public String getHtmlSource(Rendition rendition)
"Copyright © 2006 - 2015 Adobe Systems Incorporated. All Rights Reserved"