What I was after

It had been a while since I’d done a video background on a web page and I noticed the autoplay function wasn’t working on mobile. What did I need to tweak to get that to work?

The Result(s)

This answer from Filipa on the webflow forum did the trick.

The Important Bits

<video autoplay playsinline muted loop poster="posterURL">
  <source src="mp4URL" type="video/mp4">
  <source src="webmURL" type="video/webm">
</video>

It’s important to set your video to muted and to include the playsinline property for the video to play automatically on mobile devices as well as desktop.