Video Embedding     

Embedding a video like Youtube is easy. It also resizes to fit the container by default.

Installation

Edit /quasar.conf.js:

framework: {
components: ['QVideo']
}

Using QVideo

<q-video
src="https://www.youtube.com/embed/k3_tw44QsZQ?rel=0"
style="width: 853px; height: 480px"
/>

Or, if you prefer the “raw” version for more control:

<div class="q-video">
<iframe
width="853"
height="480"
src="https://www.youtube.com/embed/k3_tw44QsZQ?rel=0"
frameborder="0"
allowfullscreen
></iframe>
</div>