jarallax
jarallax copied to clipboard
Youtube videos (except 16:9) don't stretched properly
You will see the black lines if you try to add 21:9 video on background. This video for example: https://www.youtube.com/watch?v=eWvKQx4PPtM
Possibly this link will help to get video size https://www.youtube.com/oembed?url=https://www.youtube.com/watch?v=eWvKQx4PPtM&format=json
But the best way - get it using API.
Tested up. OEmbed URL's https://www.youtube.com/oembed?...
contains wrong video sizes. So, we need to find another solution but have no idea yet.