Fluidvids.js for responsive Youtube and Vimeo video not working

Hello, I’m trying to use this amazing plugin to have responsive video in my app.

Someone use it with success?

Maybe I understand.

I have the plugin in my template but I need to call


On api call success. When the template is loaded my video is not still present on the page! Right?

Why not just use css?

Because I’m getting the contents using the api from my main website.
In my main website I have defined the size of the iFrame. I don’t have:

 <iframe src="http://www.youtube.com/embed/KBKXu3Kg4yg?rel=0" frameborder="0" allowfullscreen></iframe>


 <iframe src="http://www.youtube.com/embed/KBKXu3Kg4yg?rel=0" frameborder="0" allowfullscreen width="1080" height="560"></iframe>

Fluidvids is perfect for resizing iframe, but I’m not so skilled in Angular so I don’t understand how to call fluidvids.render();after element insertion in the DOM.

I try with CSS but id doesn’t work if I don’t strip all the size attributes from the iframe.