embetty-vue
| Install | |
|---|---|
npm install embetty-vue |
|
| Latest Version: | 2.2.2 |
| Vue: | 2 |
| License: | MIT |
| Last Updated: | Oct 21, 2026 |
| Links: | GitHub · npm |
embetty-vue 
Embetty displays remote content like tweets or videos without compromising your privacy.
This is a Vue.js alternative to the original embetty implementation (which is based on Web Components). To use it, you need to have a embetty server up and running.
Usage
Setup when using a bundler (webpack, rollup, etc.)
import Vue from 'vue';
import EmbettyVue from 'embetty-vue';
const Vue = require('vue');
const { EmbettyVue } = require('embetty-vue');
Vue.use(EmbettyVue, {
// optional, but recommended
serverUrl: '/path/to/embetty-server', // without trailing slash
// optional
posterImageMode: 'cover' // or 'contain'
});
The CSS can be imported from embetty-vue/dist/embetty-vue.css.
Setup when directly linking the files
In your HTML head:
<link rel="stylesheet" type="text/css" href="dist/embetty-vue.min.css" />
<meta data-embetty-server="/path/to/embetty-server" /> <!-- without trailing slash -->
<script type="text/javascript" src="vue.js"></script>
<script type="text/javascript" src="dist/embetty-vue.browser.min.js"></script>
You can link to the files without .min for debugging.
Using the components
<embetty-tweet status="928365837123227654" />
<embetty-video type="youtube" video-id="m6UOo2YGbIE" />
If you didn't specify the server URL globally (either the options passed to Vue.use or the <meta> tag), you must specify it on every component:
<embetty-tweet server-url="/path/to/embetty-server" status="928365837123227654" />
<embetty-video server-url="/path/to/embetty-server" type="youtube" video-id="m6UOo2YGbIE" />
See src/App.vue for a lot of examples and component options.
Differences to original implementation
embetty-vue's <embetty-video> component supports type native: Provide an URL to a video file as video-id to load it on click in a <video> HTML element.
Development
Project setup
npm install
Compiles and hot-reloads for development
npm run watch
Compiles and minifies for production
npm run build
Related Packages
A vue component package to embed videos such as TikTok, YouTube/Shorts, Twitter/...
An interface to select and display a video from YouTube, Vimeo or a local file f...
Version History
| Version | Released | License |
|---|---|---|
| 2.2.2 | MIT | |
| 2.2.1 | MIT | |
| 2.2.0 | MIT | |
| 2.1.0 | MIT | |
| 2.0.1 | MIT | |
| 2.0.0 | MIT | |
| 1.5.0 | MIT | |
| 1.4.0 | MIT | |
| 1.3.2 | MIT | |
| 1.3.1 | MIT | |
| 1.3.0 | MIT | |
| 1.2.2 | MIT | |
| 1.2.1 | MIT | |
| 1.2.0 | MIT | |
| 1.1.1 | MIT | |
| 1.1.0 | MIT | |
| 1.0.1 | MIT | |
| 1.0.0 | MIT | |
| 0.5.0 | MIT | |
| 0.4.0 | MIT | |
| 0.3.0 | MIT | |
| 0.2.0 | MIT | |
| 0.1.0 | MIT |