Name is required.
Email address is required.
Invalid email address
Answer is required.
Exceeding max length of 5KB

Image fits into the player with vertical borders


Title image fits into the player with vertical borders even if its dimensions flush with the player.
But title image in the player should always occupy its entire area, borderless and scaling.

My case:
I have prepared a placeholder for the player 727x409 px. It's ≈ 1.77777(7) aspect ratio.
I generated image with desired dimensions (727x409 px).
Video for the player have other dimensions (1280, 720p, 480p, 360p), but it's always ≈ 1.77777(7) aspect ratio.
When initializing the player the following parameters are listed:
width: 727,
height: 409,
stretching: 'uniform'

As a result:
Player and placeholder (picture) are 1 to 1 — great.
After initialization, picture fits into its box with vertical fields — unexpected behavior.
When playing video the dimensions are exactly the same with the size of the player — great.

What's wrong with the picture?
http://demo.ural1.ru/programs/pyatiminutka-pravdy/stories/premiera-v-znameni

2 Community Answers

mediacentr

User  
0 rated :

Public link: https://ural1.ru/programs/pyatiminutka-pravdy/stories/premiera-v-znameni

Todd

JW Player Support Agent  
0 rated :

From what I can see, your poster image https://ural1.ru/uploads/vod/video_preview_image/588/cover_big_Goblin.jpg has dimensions of 708 × 442, which is a 1.6 aspect ratio. If you use a 1.777 aspect ratio poster image, it should fill the space perfectly where you do not see the vertical bars.

This question has received the maximum number of answers.