You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Youtube has a few different URL structures. Share, Share with playlist, share on specific time shortlink etc. Below a few examples, all for the same video. We only need the basic structure. But people might copy/past another one. Can we make them all work, or should we ask users for one specific structure?
If you want to log-in to practice creating a how-to then use the same username/pw that you do on the dev.onearmy.world site.
I still need to add some tests but the main functionality should hopefully all be there (add url, show error if badly formatted or other images exist, display on how-to page).
The youtube url expects the standard url bar format which is given as an example placeholder https://www.youtube.com/watch?v=..., although if we want it would be easy to add support for other formats as well as other streaming platforms. Here's a demo of the package I'm using to display with full list of examples: https://cookpete.com/react-player/
Dev Todo
Component infos
Description
Having the ability to embed a Youtube video instead of images as a step in the how-to
Page where it will be used
Notes
Youtube has a few different URL structures. Share, Share with playlist, share on specific time shortlink etc. Below a few examples, all for the same video. We only need the basic structure. But people might copy/past another one. Can we make them all work, or should we ask users for one specific structure?
Same video, different urls:
Mockup
The text was updated successfully, but these errors were encountered: