Skip to content

Commit 92e5a1b

Browse files
authored
Update style-guide.md
1 parent f8eede5 commit 92e5a1b

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

docs/contributing/style-guide.md

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1533,6 +1533,10 @@ If you need to use mouse actions to be specific, use:
15331533
15341534
## Videos
15351535
1536+
:::note
1537+
While embeding the video, always define the Iframe component by including `import Iframe from 'react-iframe';` with the markdown.
1538+
:::
1539+
15361540
### YouTube
15371541
15381542
To embed a YouTube video on a doc:
@@ -1629,7 +1633,7 @@ You can use similar coding to embed videos from other vendors than YouTube. Foll
16291633
</TabItem>
16301634
<TabItem value="Result">
16311635

1632-
<Iframe url="https://fast.wistia.net/embed/iframe/yebz0v90tx?web_component=true&seo=true&videoFoam=false"
1636+
<Iframe url="https://fast.wistia.net/embed/iframe/<videoID>?web_component=true&seo=true&videoFoam=false"
16331637
width="854px"
16341638
height="480px"
16351639
id="wistiaVideo"
@@ -1643,5 +1647,5 @@ You can use similar coding to embed videos from other vendors than YouTube. Foll
16431647
</Tabs>
16441648

16451649
:::note
1646-
Typically you must include `import Iframe from 'react-iframe';` with the markdown. It is not included in the example above because it was already called in the previous markdown for YouTube.
1650+
In the `url` key, replace the <videoID> with the ID number you find in the Wista video URL. For example, if the video URL is `https://sumo-logic.wistia.com/medias/abcd0123`, replace <videoID> with `abcd0123`.
16471651
:::

0 commit comments

Comments
 (0)