hackclub / jams

We're jamming!
https://jams.hackclub.com
33 stars 70 forks source link

Update JamComponent.js to support youtube links #191

Closed BrightTheBackpack closed 10 months ago

BrightTheBackpack commented 10 months ago

perhaps not the most efficient fix to issue #143, but it works. To use a YouTube video, click share, embed, then copy only the embed link. Fixes #143

Edit: changed JamComponet.js to have an If statement checking if the video contains the phrase youtube, then based on that, either returns the componet with a video, or youtube embed

vercel[bot] commented 10 months ago

@BrightTheBackpack is attempting to deploy a commit to the Hack Club Team on Vercel.

A member of the Team first needs to authorize it.

BrightTheBackpack commented 10 months ago

Also included fixes to issue #151 Fixes #151

You can change the text color in pages/index.js line 310 and 316

vercel[bot] commented 10 months ago

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
jams ✅ Ready (Inspect) Visit Preview 💬 Add feedback Nov 6, 2023 6:01pm
lachlanjc commented 10 months ago

📝 Changed routes:

/
Screenshot of /
(view full size)

Commit 181a0d6865447fbcc0e4f3768f3bbfabe69bc5dd (https://jams-d8fsvz4tc.hackclub.dev).

BrightTheBackpack commented 10 months ago

Fixes #74