Moonshine::Bootstrap::Component::EmbedRes
embed_res({ iframe => { src => "..." } });
returns a Moonshine::Element that renders too..
<div class="embed-responsive embed-responsive-16by9"> <iframe class="embed-responsive-item" src="..."></iframe> </div>
To install Moonshine::Bootstrap, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Moonshine::Bootstrap
CPAN shell
perl -MCPAN -e shell install Moonshine::Bootstrap
For more information on module installation, please visit the detailed CPAN module installation guide.