NUKnightLab / NUKnightLab/StoryMapJS

Handle YouTube Shorts URLs

Open
#480 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
JavaScript
Stars
248
Forks
61
Avg merge
1m
Merged PRs (30d)
1

Description

In a ZenDesk report, we learned that while StoryMapJS correctly interprets Shorts URLs (like https://youtube.com/shorts/yjGBkWXC55w?feature=share ) as something which should use the YouTube media type, it doesn't correctly extract the media ID from the URL, which results in users seeing a YouTube player which errors when the play button is pressed.

Shorts (YouTube's answer to TikTok) are fundamentally vertical, so even if we were to correctly embed them, I am not sure we could come up with a satisfying design, but logging the issue here for future consideration.

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reproducing the issue with the Shorts URL https://youtube.com/shorts/yjGBkWXC55w?feature=share and tracing the YouTube media-ID extraction path. Done means the URL produces a functioning YouTube player with the correct media ID; the vertical Shorts design concern is left for future consideration.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
frontend, web-dev
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.