@vueframe/vueframe
High performance, rich media embed components. For your site, built using Vue.
16,542
69
| Install | |
|---|---|
npm install @vueframe/vueframe |
|
| Latest Version: | 3.0.9 |
| Vue: | 1 · 2 · 3 |
| License: | MIT |
| Last Updated: | Apr 14, 2025 |
| Links: | GitHub · npm |
Maintainer: greenestgoat
Installation
npm install @vueframe/vueframe@3
App.vue
<script setup>
import { YouTube, Vimeo } from '@vueframe/vueframe'
</script>
Youtube
Usage
App.vue
<YouTube id="dCxSsr5xuL8" />
You can also pass in the full URL for the video
<YouTube id="https://youtu.be/dCxSsr5xuL8" />
Optional props
poster
<YouTube
id="dCxSsr5xuL8"
poster="//picsum.photos/1280/720"
/>
posterquality
Options: low, default, high, max
<YouTube
id="dCxSsr5xuL8"
posterquality="low"
/>
params
<YouTube
id="dCxSsr5xuL8"
params="controls=0&mute=1"
/>
title
<YouTube
id="dCxSsr5xuL8"
title="Nuxt in 100 Seconds"
/>
Vimeo
Usage
App.vue
<Vimeo id="32001208" />
You can also pass in the full URL for the video
<Vimeo id="https://vimeo.com/32001208" />
Optional props
poster
<Vimeo
id="32001208"
poster="//picsum.photos/1280/720"
/>
posterquality
Options: low, default, high, max
<Vimeo
id="32001208"
posterquality="low"
/>
params
This component does not currently support params
title
<Vimeo
id="32001208"
title="Earth"
/>
Copyright & license
Licensed under the MIT License, Copyright © 2024-present vueframe.
See LICENSE for more information.
Related Packages
nuxt-lazytube
A Nuxt module for lazy loading YouTube and Vimeo videos with lightweight iframes...
27,303
5
Version History
| Version | Released | License |
|---|---|---|
| 3.0.9 | MIT | |
| 3.0.8 | MIT | |
| 3.0.7 | MIT | |
| 3.0.6 | MIT | |
| 3.0.5 | MIT | |
| 3.0.4 | MIT | |
| 3.0.3 | MIT | |
| 3.0.2 | MIT | |
| 3.0.1 | MIT | |
| 3.0.0 | MIT | |
| 2.0.9 | MIT | |
| 2.0.8 | MIT | |
| 2.0.7 | MIT | |
| 2.0.6 | MIT | |
| 2.0.5 | ||
| 2.0.4 | ||
| 2.0.3 | ||
| 2.0.2 | ||
| 2.0.1 | ||
| 2.0.0 | ||
| 1.0.37 | ||
| 1.0.36 | ||
| 1.0.35 | ||
| 1.0.34 | ||
| 1.0.33 | ||
| 1.0.32 | ||
| 1.0.31 | ||
| 1.0.30 | ||
| 1.0.29 | ||
| 1.0.28 |
Showing the latest 30 of 58. See every release on npm