Gathering detailed insights and metrics for @joyfulelement/gatsby-remark-embed-video
Gathering detailed insights and metrics for @joyfulelement/gatsby-remark-embed-video
Gathering detailed insights and metrics for @joyfulelement/gatsby-remark-embed-video
Gathering detailed insights and metrics for @joyfulelement/gatsby-remark-embed-video
An easy way to display videos in Markdown For Gatsby.JS
npm install @joyfulelement/gatsby-remark-embed-video
Typescript
Module System
Node Version
NPM Version
TypeScript (97.69%)
JavaScript (2.31%)
Total Downloads
0
Last Day
0
Last Week
0
Last Month
0
Last Year
0
MIT License
160 Commits
12 Branches
1 Contributors
Updated on Dec 13, 2020
Latest Version
3.1.1
Package Id
@joyfulelement/gatsby-remark-embed-video@3.1.1
Unpacked Size
41.70 kB
Size
12.41 kB
File Count
30
NPM Version
6.14.4
Node Version
10.21.0
Cumulative downloads
Total Downloads
Last Day
0%
NaN
Compared to previous day
Last Week
0%
NaN
Compared to previous week
Last Month
0%
NaN
Compared to previous month
Last Year
0%
NaN
Compared to previous year
Embed a Youtube Video in your Markdown
Inspired by gatsby-remark-embed-youtube
1npm i @joyfulelement/gatsby-remark-embed-video 2 3yarn add @joyfulelement/gatsby-remark-embed-video
gatsby-config.js
:1module.exports = { 2 plugins: [ 3 { 4 resolve: "gatsby-transformer-remark", 5 options: { 6 plugins: [ 7 { 8 resolve: "gatsby-remark-embed-video", 9 options: { 10 width: 800, 11 ratio: 1.77, // Optional: Defaults to 16/9 = 1.77 12 height: 400, // Optional: Overrides optional.ratio 13 related: false, //Optional: Will remove related videos from the end of an embedded YouTube video. 14 noIframeBorder: true, //Optional: Disable insertion of <style> border: 0 15 loadingStrategy: 'lazy', //Optional: Enable support for lazy-load offscreen iframes. Default is disabled. 16 urlOverrides: [ 17 { 18 id: "youtube", 19 embedURL: videoId => 20 `https://www.youtube-nocookie.com/embed/${videoId}`, 21 }, 22 ], //Optional: Override URL of a service provider, e.g to enable youtube-nocookie support 23 containerClass: "embedVideo-container", //Optional: Custom CSS class for iframe container, for multiple classes separate them by space 24 }, 25 }, 26 ], 27 }, 28 }, 29 ], 30};
Note: if you also rely on gatsby-remark-responsive-iframe
, gatsby-remark-images
, or gatsby-remark-prismjs
, you have to define the embed-youtube plugin first:
1plugins: [ 2 "gatsby-remark-embed-video", 3 "gatsby-remark-responsive-iframe", 4 "gatsby-remark-prismjs", 5 "gatsby-remark-images" 6]
Note: you can style the videoIframe using .embedVideo-container
or by specifying a custom class
1# Look at this Video:
2
3`video: https://www.youtube.com/embed/2Xc9gXyf2G4`
4`youtube: https://www.youtube.com/watch?v=2Xc9gXyf2G4`
5`youtube: 2Xc9gXyf2G4`
6
7`vimeo: https://vimeo.com/5299404`
8`vimeo: 5299404`
9
10`videoPress: https://videopress.com/v/kUJmAcSf`
11`videoPress: kUJmAcSf`
12
13`twitch: https://player.twitch.tv/?channel=dakotaz`
14`twitch: https://player.twitch.tv/?autoplay=false&video=v273436948`
15`twitch: 273436948`
16`twitchLive: dakotaz`
Version 3 Added A11y support
video: [VideoTitle](https://www.youtube.com/embed/2Xc9gXyf2G4)
youtube: [Cool Youtube Video](https://www.youtube.com/watch?v=2Xc9gXyf2G4)
MIT
No vulnerabilities found.
Reason
no dangerous workflow patterns detected
Reason
no binaries found in the repo
Reason
license file detected
Details
Reason
dependency not pinned by hash detected -- score normalized to 3
Details
Reason
detected GitHub workflow tokens with excessive permissions
Details
Reason
0 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 0
Reason
no SAST tool detected
Details
Reason
Found 0/30 approved changesets -- score normalized to 0
Reason
no effort to earn an OpenSSF best practices badge detected
Reason
security policy file not detected
Details
Reason
project is not fuzzed
Details
Reason
branch protection not enabled on development/release branches
Details
Reason
32 existing vulnerabilities detected
Details
Score
Last Scanned on 2025-07-07
The Open Source Security Foundation is a cross-industry collaboration to improve the security of open source software (OSS). The Scorecard provides security health metrics for open source projects.
Learn More