Video
You can automatically link to a YouTube video if you know the YouTube video’s URL.
To get the link to a YouTube video:
- In YouTube, go to the desired video and press the “Share” button (typically located below the video player).
- Press the “Copy” button to copy the YouTube link to your clipboard.
- Note: If the URL it provides contains the flag
?si=
, you may want to consider removing this as well as any text that follows it.
- Note: If the URL it provides contains the flag
- Open the corresponding item
.md
file in theitems
folder and look for the lines that start withexternalurl:
andembedurl:
. - Choose how you want your video to appear.
- If you want a tiny version of the video to be automatically embedded in the page, paste the copied URL after
embedurl:
. - If you want the video to be linked with the text “For more information, visit….”, paste the copied URL after
externalurl:
.
- If you want a tiny version of the video to be automatically embedded in the page, paste the copied URL after
For an example of how this looks, visit https://digitalarcplatform.github.io/demo/items/Item-3-video.html