Skip to content

YouTube shortcode doesn't work for clips #936

@illicitonion

Description

@illicitonion

On https://programming.codeyourfuture.io/user-data/sprints/1/prep/#branching there is a link to a YouTube video.

I tried to migrate this to use the YouTube shortcode with this diff:

--- a/common-content/en/module/induction/branching/index.md
+++ b/common-content/en/module/induction/branching/index.md
@@ -84,8 +84,10 @@ In the diagram above, we can continue to commit on the "week-1-coursework" branc
 
 1. Open the `education-blog` repository in VSCode.
 
-2. Using this clip, create a new branch called `update-blog-1` in your local repository 👉 https://youtube.com/clip/UgkxvXsnm_98Rx0NUZq25apQWA6POccRoQzw
+2. Using the clip below, create a new branch called `update-blog-1` in your local repository.
 
 📋 How can you check that you've successfully created a branch?
 
 {{</note>}}
+
+{{<youtube>}}https://youtube.com/clip/UgkxvXsnm_98Rx0NUZq25apQWA6POccRoQzw{{</youtube>}}

But the embed didn't work - I assume because it's a clip not a full video.

It would be great to be able to apply this diff and have it work - in the mean time, I will leave it as a link.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    Status

    Icebox

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions