[video] shortcode is not fitting properly on the AMP page. A poster will not get fit properly if the aspect ratio of the poster image miss matches with the video.Poster must fit with the aspect ratio of the video.
[video src="https://varia.amp.rt.gw/wp-content/uploads/sites/2/2020/05/SampleVideo_1280x720_1mb.mp4" poster="https://varia.amp.rt.gw/wp-content/uploads/sites/2/2020/05/animal-1554745_1920.jpg"]None-AMP page screenshot

AMP page screenshot

_Do not alter or remove anything below. The following sections will be managed by moderators only._
Hi @sagarnasit,
This is not an issue with the plugin. Please open an issue on the ampproject/amphtml repository to have this investigated.
Are we sure it's not an issue with the plugin?
I'm able to replicate this outside of WordPress, see this CodePen for example:

Thank you. @pierlon I created an issue https://github.com/ampproject/amphtml/issues/28383 on amphtml repo.
I've provided an analysis on the issue: https://github.com/ampproject/amphtml/issues/28383#issuecomment-628126140
The reason for the discrepancy is MediaElement.js in the non-AMP version implements cover poster via a background image overlay, but in AMP it's using the poster on the video element. So the object-fit:cover would need to be applied to the video but only until the video starts playing, but that is a challenge to do in AMP.
@westonruter Is there any reason to only keep object-fit:cover until the video starts playing? Just curious. I checked this css property with video playing, I don't see anything affected by it. As soon as we play video, the cover image disappears and never shows back again. It will be all video frames later.
That's a good question. If we can confirm that the aspect ratio of the video is correctly reflected in the width and height, then there's no reason to not do object-fit:cover. However, if this can't be guaranteed then the result can be cropped video playback, which could be bad if not intended. Right?
You are right Weston. After testing with some more images and variations we found that the video aspect ratio changes if we set horizontal image for the vertical video and vice versa.
But, in the case when we're able to determine the dimensions of the video, for example when the video file is in the media library:
Then adding object-fit:cover would seem to make sense, since it won't impact the video playback.
Yes, that makes sense.
Then again, it would be preferable for a user to select a poster image with the same aspect ratio, as otherwise there are pixels being downloaded which are never displayed. But as a small enhancement, giving videos with poster images that have known dimensions a object-fit:cover seems like a good mini enhancement.