Skip to content

Commit

Permalink
add using video component props
Browse files Browse the repository at this point in the history
  • Loading branch information
devonbeard committed Jan 14, 2025
1 parent 80e8a48 commit aa92cb1
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions markdoc/tags.js
Original file line number Diff line number Diff line change
Expand Up @@ -168,6 +168,7 @@ const tags = {
attributes: {
src: { type: String },
classes: { type: String },
embed: { type: Boolean },
},
},
apiRenderer: {
Expand Down
2 changes: 1 addition & 1 deletion src/components/Video.jsx
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
function Video({ src, classes, embed = true }) {
function Video({ src, classes, embed = false }) {
return (
<div
className={classes}
Expand Down
2 changes: 1 addition & 1 deletion src/pages/aura/using-aura-endpoints.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ metaTitle: Aura Endpoints | Aura
description: How to get started with Aura Endpoints
---

{% video src="https://www.youtube.com/embed/TSkt0_t3cs4?si=d4NQxpexH0rpO2lG?&autoplay=1&mute=1" classes="m-auto" /%}
{% video src="https://www.youtube.com/embed/TSkt0_t3cs4?si=d4NQxpexH0rpO2lG?&autoplay=1&mute=1" classes="m-auto" embed="true" /%}

## Login to Aura

Expand Down

0 comments on commit aa92cb1

Please sign in to comment.