I don’t think the markup for `<video autoplay muted loop>` is an issue. These attributes exist for this use case.
That being said, video in CSS background is a legit feature request.
Re:AnimGIFs need a better codec
by TazeTSchnitzel on Saturday July 19, 2014 @10:14PM
(#8059376)
>doesn't loop when you share the URL directly
You can deal with that server-side by checking referrers and other headers and serving HTML.
Annoyingly GIF isn't supported as a source in <video> either, which adds extra complexity when you want to provide a proper fallback.