Hi! I have a background video in the hero space of my website (www.shootit.se) that loops, and I want to center it on both desktop and mobile. I have managed to get it to cover the full height and width of both mobile and desktop, and it looks ok on desktop with the somewhat correct width of the browser, but on mobile it only shows the top left corner. I have edited the video so that “the most interesting” parts are in the middle of the video, thus it would work to crop the 16:9 video to 8:16 ratio, if the cropping is made equally from both left and right side.
I have checked this topic Center background video on desktop and mobile but I did not manage to get it to work. Where/how should I put that code? Or is there another solution?
Appreciate your help!
/Markus