Skip to content

Instantly share code, notes, and snippets.

@MaedahBatool
Last active April 4, 2019 12:30
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save MaedahBatool/47065ac1aa84ba89c4c9370bdc0d76c9 to your computer and use it in GitHub Desktop.
Save MaedahBatool/47065ac1aa84ba89c4c9370bdc0d76c9 to your computer and use it in GitHub Desktop.
gatsby-remark-embed-video Plugin Example
plugins: [
{
resolve: `gatsby-transformer-remark`,
options: {
plugins: [
{
// Using gatsby-remark-embed-video before gatsby-remark-images & gatsby-remark-responsive-iframe plugins.
resolve: `gatsby-remark-embed-video`,
options: {
maxWidth: 800,
ratio: 1.77,
height: 400,
related: false,
noIframerder: true,
},
},
{
resolve: `gatsby-remark-images`,
options: {
maxWidth: 590,
},
},
{
resolve: `gatsby-remark-responsive-iframe`,
options: {
wrapperStyle: `margin-bottom: 1.0725rem`,
},
},
],
},
},
]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment