Interface YouTube
-
- All Superinterfaces:
Embeddable
public interface YouTube extends Embeddable
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.String
PN_ACCESSIBILITY_LABEL
static java.lang.String
PN_ASPECT_RATIO
Name of the resource property that defines the aspect ratio of the iFrame hosting the YouTube video.static java.lang.String
PN_AUTOPLAY
static java.lang.String
PN_DESIGN_AUTOPLAY_DEFAULT_VALUE
static java.lang.String
PN_DESIGN_AUTOPLAY_ENABLED
static java.lang.String
PN_DESIGN_LOOP_DEFAULT_VALUE
static java.lang.String
PN_DESIGN_LOOP_ENABLED
static java.lang.String
PN_DESIGN_MUTE_DEFAULT_VALUE
static java.lang.String
PN_DESIGN_MUTE_ENABLED
static java.lang.String
PN_DESIGN_PLAYS_INLINE_DEFAULT_VALUE
static java.lang.String
PN_DESIGN_PLAYS_INLINE_ENABLED
static java.lang.String
PN_DESIGN_RELATED_VIDEOS_DEFAULT_VALUE
static java.lang.String
PN_DESIGN_RELATED_VIDEOS_ENABLED
static java.lang.String
PN_HEIGHT
Name of the resource property that defines the height of the iFrame hosting the YouTube video.static java.lang.String
PN_LAYOUT
Name of the resource property that defines the layout type of the youtube video.static java.lang.String
PN_LOOP
static java.lang.String
PN_MUTE
static java.lang.String
PN_PLAYS_INLINE
static java.lang.String
PN_REL
static java.lang.String
PN_VIDEO_ID
Name of the resource property that defines the id of the YouTube video.static java.lang.String
PN_WIDTH
Name of the resource property that defines the width of the iFrame hosting the YouTube video.
-
Method Summary
All Methods Instance Methods Default Methods Modifier and Type Method Description default @Nullable java.lang.String
getAccessibilityLabel()
default @Nullable java.lang.String
getIFrameAspectRatio()
default @Nullable java.lang.String
getIFrameHeight()
default @Nullable java.lang.String
getIFrameSrc()
default @Nullable java.lang.String
getIFrameWidth()
default @Nullable java.lang.String
getLayout()
default boolean
isEmpty()
-
Methods inherited from interface com.adobe.cq.wcm.core.components.models.embeddable.Embeddable
getData
-
-
-
-
Field Detail
-
PN_VIDEO_ID
static final java.lang.String PN_VIDEO_ID
Name of the resource property that defines the id of the YouTube video.- See Also:
- Constant Field Values
-
PN_WIDTH
static final java.lang.String PN_WIDTH
Name of the resource property that defines the width of the iFrame hosting the YouTube video.- See Also:
- Constant Field Values
-
PN_HEIGHT
static final java.lang.String PN_HEIGHT
Name of the resource property that defines the height of the iFrame hosting the YouTube video.- See Also:
- Constant Field Values
-
PN_ASPECT_RATIO
static final java.lang.String PN_ASPECT_RATIO
Name of the resource property that defines the aspect ratio of the iFrame hosting the YouTube video.- See Also:
- Constant Field Values
-
PN_LAYOUT
static final java.lang.String PN_LAYOUT
Name of the resource property that defines the layout type of the youtube video.- See Also:
- Constant Field Values
-
PN_AUTOPLAY
static final java.lang.String PN_AUTOPLAY
- See Also:
- Constant Field Values
-
PN_MUTE
static final java.lang.String PN_MUTE
- See Also:
- Constant Field Values
-
PN_LOOP
static final java.lang.String PN_LOOP
- See Also:
- Constant Field Values
-
PN_REL
static final java.lang.String PN_REL
- See Also:
- Constant Field Values
-
PN_ACCESSIBILITY_LABEL
static final java.lang.String PN_ACCESSIBILITY_LABEL
- See Also:
- Constant Field Values
-
PN_PLAYS_INLINE
static final java.lang.String PN_PLAYS_INLINE
- See Also:
- Constant Field Values
-
PN_DESIGN_MUTE_ENABLED
static final java.lang.String PN_DESIGN_MUTE_ENABLED
- See Also:
- Constant Field Values
-
PN_DESIGN_MUTE_DEFAULT_VALUE
static final java.lang.String PN_DESIGN_MUTE_DEFAULT_VALUE
- See Also:
- Constant Field Values
-
PN_DESIGN_AUTOPLAY_ENABLED
static final java.lang.String PN_DESIGN_AUTOPLAY_ENABLED
- See Also:
- Constant Field Values
-
PN_DESIGN_AUTOPLAY_DEFAULT_VALUE
static final java.lang.String PN_DESIGN_AUTOPLAY_DEFAULT_VALUE
- See Also:
- Constant Field Values
-
PN_DESIGN_LOOP_ENABLED
static final java.lang.String PN_DESIGN_LOOP_ENABLED
- See Also:
- Constant Field Values
-
PN_DESIGN_LOOP_DEFAULT_VALUE
static final java.lang.String PN_DESIGN_LOOP_DEFAULT_VALUE
- See Also:
- Constant Field Values
-
PN_DESIGN_RELATED_VIDEOS_ENABLED
static final java.lang.String PN_DESIGN_RELATED_VIDEOS_ENABLED
- See Also:
- Constant Field Values
-
PN_DESIGN_RELATED_VIDEOS_DEFAULT_VALUE
static final java.lang.String PN_DESIGN_RELATED_VIDEOS_DEFAULT_VALUE
- See Also:
- Constant Field Values
-
PN_DESIGN_PLAYS_INLINE_ENABLED
static final java.lang.String PN_DESIGN_PLAYS_INLINE_ENABLED
- See Also:
- Constant Field Values
-
PN_DESIGN_PLAYS_INLINE_DEFAULT_VALUE
static final java.lang.String PN_DESIGN_PLAYS_INLINE_DEFAULT_VALUE
- See Also:
- Constant Field Values
-
-
Method Detail
-
getAccessibilityLabel
@Nullable default @Nullable java.lang.String getAccessibilityLabel()
-
getIFrameWidth
@Nullable default @Nullable java.lang.String getIFrameWidth()
-
getIFrameHeight
@Nullable default @Nullable java.lang.String getIFrameHeight()
-
getIFrameAspectRatio
@Nullable default @Nullable java.lang.String getIFrameAspectRatio()
-
getLayout
@Nullable default @Nullable java.lang.String getLayout()
-
getIFrameSrc
@Nullable default @Nullable java.lang.String getIFrameSrc() throws java.net.URISyntaxException
- Throws:
java.net.URISyntaxException
-
isEmpty
default boolean isEmpty()
-
-