In this section, we will learn more about ds.youtube
component and its usage.
ds.youtube
component creates a rectangular region in your page where the embedded YouTube video will be displayed. You specify the source of the content using the v
property, which can be a vertion of a YouTube video.-- cb.code: lang: java -- ds.youtube: v: UzAC8aOf2is width: fill-container height.fixed.px: 450
ds.youtube
componentv - type: string
It’s used to add YouTube video versionto ds.youtube
component.
For e.g. the YouTube link of above example video is https://www.youtube.com/watch?v=UzAC8aOf2is
in this link v=UzAC8aOf2is
version value is the value of v
property.
width - type: ftd.resizing
It’s used to add width to ds.youtube
component.
type: ftd.resizing
It’s used to add height to ds.youtube
component.