Security News
Supply Chain Attack Detected in Solana's web3.js Library
A supply chain attack has been detected in versions 1.95.6 and 1.95.7 of the popular @solana/web3.js library.
embedia-vue
Advanced tools
A vue component package to embed videos such as Facebook, Instagram, TikTok, YouTube/Shorts, Twitter/X, Vimeo, and Dailymotion.
Embedia Vue is an embed package for Vue which can embed from platforms like Facebook, Instagram, TikTok, YouTube/Shorts, Twitter/X, Vimeo and Dailymotion.
Framework | Supported versions |
---|---|
3 & above |
Major Changes:
v1.0.0
Minor Changes:
v1.2.0
v1.1.0
Patch Changes:
v1.1.1
v1.1.2
v1.1.3
To install the Embedia Vue, you can use the following npm command:
npm install embedia-vue
Attributes | ||||
---|---|---|---|---|
Required? width | optional | |||
Required? height | optional | |||
Required? fullscreen | optional | |||
Required? controls | optional | |||
Required? autoplay | optional | |||
Required? cssname | optional | optional | optional | optional |
Required? clip | yes | yes | yes | yes |
Attributes | |||
---|---|---|---|
Required? width | optional | optional | optional |
Required? height | optional | optional | optional |
Required? fullscreen | optional | optional | optional |
Required? controls | optional | optional | optional |
Required? autoplay | optional | optional | optional |
Required? cssname | optional | optional | optional |
Required? clip | yes | yes | yes |
Value | Width and Height |
---|---|
854x480 | width: 854, height: 480 |
640x360 | width: 640, height: 360 |
426x240 | width: 426, height: 240 |
256x144 | width: 256, height: 144 |
<EmbediaVue
clip=""
width=""
height=""
:autoplay="false"
:fullscreen="false"
:controls="true"
cssname="rename-me-now"
/>
You can use any importing syntax script format:
<script setup>
import { EmbediaVue } from 'embedia-vue';
</script>
or
<script>
import { EmbediaVue } from 'embedia-vue';
export default {
components: {
EmbediaVue
}
};
</script>
For global usage (main.js)
import { createApp } from 'vue';
import './style.css';
import App from './App.vue';
import router from './router';
import { EmbediaVue } from 'embedia-vue'; // Import global
createApp(App)
.component('EmbediaVue', EmbediaVue)
.use(router)
.mount('#app');
If you choose global, you can use the code below:
<template>
<EmbediaVue
clip=""
width=""
height=""
/>
</template>
<style scoped>
</style>
<template>
<EmbediaVue
clip="https://www.youtube.com/watch?v=oEXFMGK7IC0"
width="640"
height="360"
cssname="embed-clip"
/>
</template>
<script setup>
import { EmbediaVue } from 'embedia-vue';
</script>
<style scoped>
.embed-clip {
border: 2px solid green;
}
</style>
In your built-in default style.css ( body only )
Change the display value from flex to block.
body {
margin: 0;
display: block; // this code makes responsive
place-items: center;
min-width: 320px;
min-height: 100vh;
}
MIT
Demjhon Silver
FAQs
A vue component package to embed videos such as Facebook, Instagram, TikTok, YouTube/Shorts, Twitter/X, Vimeo, and Dailymotion.
The npm package embedia-vue receives a total of 2 weekly downloads. As such, embedia-vue popularity was classified as not popular.
We found that embedia-vue demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 0 open source maintainers collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
A supply chain attack has been detected in versions 1.95.6 and 1.95.7 of the popular @solana/web3.js library.
Research
Security News
A malicious npm package targets Solana developers, rerouting funds in 2% of transactions to a hardcoded address.
Security News
Research
Socket researchers have discovered malicious npm packages targeting crypto developers, stealing credentials and wallet data using spyware delivered through typosquats of popular cryptographic libraries.