It looks like you’re browsing an old version of Froala. Please go to the newer version of our docs for a more updated version.
Miscellaneous
Responsive Videos
Try it yourself:
Embed videos from your favorite service and have them adapt based on the screen size.
The responsive video features enables you to insert videos from Youtube or Vimeo and have them change based on your device screen.
HTML
<div id="froala-editor"> <h3>Embed videos from your favorite service and have them adapt based on the screen size.</h3> <p>The responsive video features enables you to insert videos from Youtube or Vimeo and have them change based on your device screen.</p> </div>
JAVASCRIPT
<script> $(function() { $('div#froala-editor').froalaEditor({ videoResponsive: true, toolbarButtons: ['insertVideo'] }) }); </script>