ampproject / ampproject/amphtml
Custom poster for video is not fitting appropriately
Open
Component: amp-video & interface
Stale
Type: Bug
WG: components
- Dominant language
- JavaScript
- Stars
- 14.9k
- Forks
- 4.1k
- PR merge metrics
- No merged PRs in 30d
Description
## What's the issue?
Custom poster used in amp-video not fitting appropriately if the aspect ratio of poster and video are different.
## How do we reproduce the issue?
Here is the [codepen link](https://codepen.io/sagarnasit/pen/ExVpRXo).
1. Add the amp-video component.
2. Add poster image with different aspect ratio.
## What browsers are affected?
All browsers.
## Which AMP version is affected?
Powered by AMP ⚡ HTML – Version 2005050322002
Contributor guide
Assessment
This issue has not been assessed yet.