Security News
tea.xyz Spam Plagues npm and RubyGems Package Registries
Tea.xyz, a crypto project aimed at rewarding open source contributions, is once again facing backlash due to an influx of spam packages flooding public package registries.
vue-cli-plugin-oembed
Advanced tools
Readme
Vue plugin for social media oEmbed. This plugin was developed for supporting latest facebook / instagram / tiktok / youtube oembed api changes.
App in development mode unable to consume Facebook Oembed Graph API?
Take a look into community reference for easier to get permission approval.
npm i vue-cli-plugin-oembed
main.js
import { createApp } from 'vue';
import App from './App.vue';
import Oembed from 'vue-cli-plugin-oembed';
const app = createApp(App);
app.use(Oembed);
Instagram Embed
<instagram-oembed
url="https://www.instagram.com/p/CJD5bFMBt8S/"
app_id="Your App ID"
app_secret="Your App Secret"
></instagram-oembed>
Facebook Embed
<facebook-oembed
url="https://www.facebook.com/POTUS/posts/1511527275583374"
app_id="Your App ID"
app_secret="Your App Secret"
></facebook-oembed>
Tiktok Embed
<tiktok-oembed url="https://www.tiktok.com/@scout2015/video/6718335390845095173"></tiktok-oembed>
Youtube Video
<youtube-oembed url="https://www.youtube.com/watch?v=M7lc1UVf-VE"></youtube-oembed>
Youtube Video List
<youtube-oembed :url="['https://www.youtube.com/watch?v=M7lc1UVf-VE', 'https://www.youtube.com/embed/tgbNymZ7vqY', 'https://www.youtube.com/watch?v=qI3P7zMMsgY', 'https://www.youtube.com/watch?v=KxvKCSwlUv8']"></youtube-oembed>
Event Name | Description |
---|---|
error | Error events feedback. |
Sample: |
<instagram-oembed
url="https://www.instagram.com/p/CJD5bFMBt8S/"
app_id="Your App ID"
app_secret="Your App Secret"
@error="Error Function"
></instagram-oembed>
Customizable Error Display:
<instagram-oembed
url="https://www.instagram.com/p/CJD5bFMBt8S/"
app_id="Your App ID"
app_secret="Your App Secret"
>
<template v-slot:custom_error>
<div>Custom Error HTML Tags</div>
</template>
</instagram-oembed>
FAQs
> Vue plugin for social media oEmbed. > This plugin was developed for supporting latest facebook / instagram / tiktok / youtube oembed api changes.
The npm package vue-cli-plugin-oembed receives a total of 38 weekly downloads. As such, vue-cli-plugin-oembed popularity was classified as not popular.
We found that vue-cli-plugin-oembed demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer 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
Tea.xyz, a crypto project aimed at rewarding open source contributions, is once again facing backlash due to an influx of spam packages flooding public package registries.
Security News
As cyber threats become more autonomous, AI-powered defenses are crucial for businesses to stay ahead of attackers who can exploit software vulnerabilities at scale.
Security News
UnitedHealth Group disclosed that the ransomware attack on Change Healthcare compromised protected health information for millions in the U.S., with estimated costs to the company expected to reach $1 billion.