An AngularJS directive for fluid videos for Responsive Design. Currently supports YouTube and Vimeo.
The video will always horizontally fill its parent element so this element should be responsive.
To install using Bower and Grunt:
bower install angular-fluidVid --save
grunt bower-installIf you do not use Bower and Grunt, you can download the package and source the dependencies in your HTML.
- Include
angular-fluidVid.jsin your HTML. - Add the
tinacious.fluidVidmodule as an app dependency. - Implement the directive as an element attribute:
<div fluid-video video-type="vimeo" video-id="56733081"></div>