Videos: 2-per-row default, featured opt-in to wide layout
Reverted the global youtube wide treatment per user direction. Videos default to span 6 (pair layout) at 600px+ again. Items with `featured: true` in JSON get a new `card--wide` class that opts them into the same 78%-centered + vertical-breathing layout portfolio uses — meant to promote a hero video without making every video imposing.
This commit is contained in:
@@ -214,10 +214,11 @@ only loads when clicked, so the page stays fast even with many videos.
|
||||
}
|
||||
```
|
||||
|
||||
| field | required? | notes |
|
||||
|---------|-----------|-------|
|
||||
| `id` | yes | YouTube video ID (the `v=` parameter from the URL). |
|
||||
| `title` | yes | Shown over the thumbnail and as the iframe's accessible title. |
|
||||
| field | required? | notes |
|
||||
|------------|-----------|-------|
|
||||
| `id` | yes | YouTube video ID (the `v=` parameter from the URL). |
|
||||
| `title` | yes | Shown over the thumbnail and as the iframe's accessible title. |
|
||||
| `featured` | no | When `true`, the video card spans the full row at 78% max-width centered (like a portfolio plate). Default layout is 2-per-row on tablet+. Use sparingly to promote a hero video. |
|
||||
|
||||
#### `type: "client"` — logo tile
|
||||
|
||||
|
||||
Reference in New Issue
Block a user