Embeds video tag in your gatsby project
npm install gatsby-remark-video
In your markdown
video: /static/shots-demo-369bfe714a6b8981ecfc743f7e7e7008.mp4
Add the following in your gatsby-config.js
{
resolve: 'gatsby-remark-video',
options: {
width: 800,
height: 'auto',
preload: 'auto',
muted: true,
autoplay: true,
loop: true
}
}