No-dependencies library for displaying background videos...

Why iwideo?

I wanted to create an easy and no-dependeny background video library for one of my projects that supports local hosted videos as well as Youtube and Vimeo. This library can be used with any project without any dependencies. It's only 4KB gzipped.

Documentation (GitHub)


  • Supports self hosted, YouTube and Vimeo videos
  • Same API for all providers
  • Responsive out of the box
  • Lighweight, only includes necessary features but extendable via JavaScript
  • Mobile detection (Mobile or devices under 768px)
  • Only 4KB gzipped

Simple self hosted bg

Simple YouTube hosted bg

Simple Vimeo hosted bg

Works on non-full-width elements as well, of course

And comes with a simple API: