Security News
Research
Data Theft Repackaged: A Case Study in Malicious Wrapper Packages on npm
The Socket Research Team breaks down a malicious wrapper package that uses obfuscation to harvest credentials and exfiltrate sensitive data.
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 React, Vue, Angular, and Svelte 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-alpha.1
To install the Embedia Vue, you can use the following npm command:
npm install embedia-vue
Attributes | Type | ||||
---|---|---|---|---|---|
width | number | optional | |||
height | number | optional | |||
fullscreen | boolean | optional | |||
controls | boolean | ||||
autoplay | boolean | ||||
cssname | string | required | required | required | required |
clip | string | required | required | required | required |
Attributes | Type | |||
---|---|---|---|---|
width | number | optional | optional | optional |
height | number | optional | optional | optional |
fullscreen | boolean | optional | optional | optional |
controls | boolean | optional | optional | optional |
autoplay | boolean | optional | optional | optional |
cssname | string | required | required | required |
clip | string | required | required | required |
Value | Width and Height |
---|---|
854x480 | width: 854, height: 480 |
640x360 | width: 640, height: 360 |
426x240 | width: 426, height: 240 |
256x144 | width: 256, height: 144 |
Reminder:
<Embedia
clip="https://www.youtube.com/watch?v=oEXFMGK7IC0"
width=""
height=""
:autoplay="false"
:fullscreen="false"
:controls="true"
cssname="rename-me-now"
/>
<template>
<Embedia
clip="https://www.youtube.com/watch?v=oEXFMGK7IC0"
width="640"
height="360"
cssname="embed-clip"
/>
</template>
<script setup>
import { Embedia } from 'embedia-vue';
</script>
<style scoped>
.embed-clip {
float: right;
}
</style>
To make responsive clip
In your default style.css (body only)
Change the display value from flex to block.
body {
margin: 0;
display: block;
place-items: center;
min-width: 320px;
min-height: 100vh;
}
You can do anything here:
.embed-clip {
float: left;
border: 2px solid green;
}
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 83 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
Research
The Socket Research Team breaks down a malicious wrapper package that uses obfuscation to harvest credentials and exfiltrate sensitive data.
Research
Security News
Attackers used a malicious npm package typosquatting a popular ESLint plugin to steal sensitive data, execute commands, and exploit developer systems.
Security News
The Ultralytics' PyPI Package was compromised four times in one weekend through GitHub Actions cache poisoning and failure to rotate previously compromised API tokens.