Skip to content

Commit

Permalink
Add and configure gatsby-remark-video plugin.
Browse files Browse the repository at this point in the history
  • Loading branch information
mstenta committed May 16, 2023
1 parent 8ef1a99 commit 0082f7a
Show file tree
Hide file tree
Showing 3 changed files with 104 additions and 7 deletions.
13 changes: 13 additions & 0 deletions gatsby-config.js
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,19 @@ module.exports = {
icon: "src/images/icon-512x512.png",
},
},
{
resolve: 'gatsby-remark-video',
options: {
width: 800,
height: 'auto',
preload: 'auto',
muted: true,
autoplay: true,
playsinline: true,
controls: true,
loop: true
}
},
"gatsby-plugin-sharp",
"gatsby-transformer-sharp",
{
Expand Down
97 changes: 90 additions & 7 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@
"gatsby-remark-autolink-headers": "^4.11.0",
"gatsby-remark-images": "^4.2.0",
"gatsby-remark-prismjs": "^5.11.0",
"gatsby-remark-video": "^1.2.5",
"gatsby-source-filesystem": "^3.14.0",
"gatsby-source-git": "^1.1.0",
"gatsby-theme-material-ui": "^4.13.0",
Expand Down

0 comments on commit 0082f7a

Please sign in to comment.