Video
Uploading to YouTube
Uploading and maintaining videos in your Github repository or Google Drive can be challenging due to filesize constraints. We recommend uploading to YouTube so that you can automatically link to the video through the video’s URL.
Linking to Your Video
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
.mdfile in theitemsfolder 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