matvp91 / indigo-player

Highly extensible, modern, JavaScript video player. Handles MPEG-Dash / HLS / MPEG-4 and is built on top of the HTML5 video element.
https://matvp91.github.io/indigo-player/
Apache License 2.0
1.25k stars 66 forks source link

Vertical cropping #70

Open pbsds opened 4 years ago

pbsds commented 4 years ago

Describe the bug The 16:9 video on the example page crops the lower half of the video when you go fullscreen on a 21:9 monitor. Preferably it should add black bars on the sides instead.

To Reproduce Steps to reproduce the behavior:

  1. Have a 21:9 monitor
  2. Go to https://matvp91.github.io/indigo-player/#/
  3. Click on fullscreen

Expected behavior Black bars on the sides, the full video visible in the middle

Screenshots image image

Desktop