YouTube Card
Card type:
youtube
The YouTube card embeds a YouTube video inside your notebook or dashboard using an <iframe>
. The YouTube video must be publicly accessible and allow embedding.
In addition to the common parameters the youtube card has the following configuration options:
Name | Type | Required | Description |
---|---|---|---|
video_id | string | Yes | The YouTube video ID to be embedded. |
fill_card | boolean | No | When set to True , the video will fill the entire card space including the header area. When False (default), the video will be positioned below the header. |
Example
datacards.publish.card(
type='youtube',
video_id='bKL1HTM0ij0',
label='My YouTube Video',
fill_card=False,
logic_view_size=(4,2)
)
Last updated on