NUKnightLab / NUKnightLab/StoryMapJS
Handle YouTube Shorts URLs
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
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- 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