CodeYourFuture / CodeYourFuture/curriculum

YouTube shortcode doesn't work for clips

Open
#936 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
HTML
Stars
76
Forks
135
Avg merge
1d 3h
Merged PRs (30d)
20

Description

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:

```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?

{{}}
+
+{{}}https://youtube.com/clip/UgkxvXsnm_98Rx0NUZq25apQWA6POccRoQzw{{}}
```

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.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.