x
1
2
3
4
5
6
7
8
9
10
<div class="media-card" data-media-alignment="left" data-media-size="medium"> <div class="text-card" data-layout-style="nested"> <h3 class="text-card__title">Watch the tour</h3> <div class="text-card__body"> <p>Take a look inside before your first visit.</p> </div> </div> <div class="iframe-embed media-card__media"><iframe src="https://www.youtube.com/embed/dQw4w9WgXcQ" title="YouTube video player" loading="lazy" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share" allowfullscreen="allowfullscreen"></iframe> </div></div>1
2
3
4
5
6
resolved_layout_style = layout_style == "none" ? nil : layout_stylepattern = build_media_card( title:, body:, asset: build_embedded_code(platform:, embed_code:), layout_style: resolved_layout_style, layout_media_alignment:, layout_media_size:)render GllComponentLibrary::Patterns::MediaCardComponent.new(pattern:)embed_code takes embed markup or a bare share link.
| Param | Description | Input |
|---|---|---|
|
— |
|
|
|
— |
|
|
|
— |
|
|
|
— |
|
|
|
— |
|
|
|
— |
|
|
|
— |
|