SamsungInternet / support

For general Samsung Internet support. You can use the Issues register here as a way to ask support questions.
MIT License
18 stars 0 forks source link

HTML Video element (<video>) doesn't support "object-fit: cover" #103

Open webdevelukas opened 4 years ago

webdevelukas commented 4 years ago

I wanted to use object-fit: cover on an <video> element in a project but it doesn't work in Samsung Internet Browser. I had a look on a few devices via Browserstack. I used it on the <img> element as well and it works.

I have a deployed example here: https://nextjs-example.webdevelukas.vercel.app/ And a repository here: https://github.com/webdevelukas/nextjs-example

The expected behaviour: The video has the defined height and the video is covered inside the box. bs_realdroid_Mobile_Samsung Galaxy S10-9 0-1440x2960 (1)

⚠️ The actual behaviour: The video has full height and is above the text, that shows up after the video. bs_realdroid_Mobile_Samsung Galaxy S10-9 0-1440x2960

In other browsers i got the expected behaviour.

Cheers ✌️