A reworking of the popular jQuery fitvids plugin for MooTools.
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
LICENSE
README.md
fitvids-mootools.js

README.md

fitvids-mootools

A reworking of the popular jQuery fitvids plugin (https://github.com/davatron5000/FitVids.js) for MooTools.

Usage

<script src="path/to/mootools.js"></script>
<script src="path/to/fitvids-mootools.js"></script>
<script>
  var initFitVids = function() {
    new Fitvids({
      customSelector: '.make-vid-responsive',
	    ignore: '.ignore-this-class'
    });
  }
  
  document.addEvent('domready', initFitVids);
</script>