GoogleChrome / GoogleChrome/webdev-infra

Allow for 4:3 Video embeds

Open
#28 19 comments 1 reaction 0 assignees View on GitHub
Dominant language
JavaScript
Stars
39
Forks
29
PR merge metrics
No merged PRs in 30d

Description

@argyleink has requested a clean way to use the `Video` shortcode to embed with a 4:3 aspect ratio, instead of 16:9.

He's currently resorting to the following hack:

```

.adjusted-aspect-ratio {
aspect-ratio: 4/3;
}

{% Video
src="video/vS06HQ1YTsbMKSFTIPl2iogUQP73/rx8k6w5iQnEOwqOoUNNG.mp4",
autoplay="true",
loop="true",
muted="true",
class="adjusted-aspect-ratio"
%}
```

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.