My goal:
I want to add a video player inside a rounded “box”. I want the mp4-file to autoplay and loop, no controls. Just as an aesthetic element mixed with images. I work a lot in Premiere so I can adjust and adapt the video file size, ratio etc to whatever it needs to be to fit in on the page.
My issues:
Mp4 file is uploaded in Media Library. The video plays as intended in backend but not on the live web page. I have tried it on Mac and PC Chrome+Safari, iPhone 15 Pro Safari. It does not autoplay on either desktop or mobile. On desktop it plays and loops if I click it, but not autoplay.
On mobile (iPhone 15 Pro, Safari, iOS 17) something strange happens. It opens the video in fullscren in Safari.
I started with the Themeco template “Better Faster Stronger” for this page, and modified it a bit.
So all the ratio settings, everything under the Primary-tab, Frame-tab etc. works just fine in backend. But on the live web page there seems to be lots of glitches. I’m thinking that this MIGHT have something to do with the way this template was created(?). It has looper provider and looper consumer, which I don’t really understand or work with. Don’t know when or why to use a Figure as well to be honest. The video player is inside a Figure. I just loaded the template and made some adjustments.
Help appreciated! Check out the page and see my goal at the top of this post. Suggestions on how to achieve this is welcome.
Check it here: https://cheatcode.se/test/