GoogleChrome / GoogleChrome/webdev-infra
Allow for 4:3 Video embeds
Open
- 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
Assessment
This issue has not been assessed yet.