Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

TIL: AVIF can be nicely embedded and looped like a gif. That's awesome. With most of the video embedding I've seen so far, the issue has always been that it was embedded as a video player.


Huh? What is wrong with

  <video autoplay muted loop playsinline preload="auto">
    <source src="video.mp4" type="video/mp4">
  </video>
  
If you can't host the video yourself get a hoster that offers a link to the video file (e.g. Vimeo).




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: