UI to allow user to load a Youtube video #10
Loading…
Reference in New Issue
No description provided.
Delete Branch "%!s(<nil>)"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
First step is probably a text field which allows a Youtube URL or ID to be pasted, with a submit button. Upon submit, the video is loaded.
May need simple router implementation?
Hi @rob, I'd like to contribute here.
I agree it seems like a good time to add some routing. This feature would be a good entrypoint for the application, so it makes sense to me for this screen to be on
/
, and then on submission redirecting to/playback?video_id=...
- I'm not sure about the route, though, since it's still not clear to me what can be done.Perhaps
/clip
or/video
or something more generic would be approriate? Open to feedback on this one. Of course, it's easy to change, so not necessary to set it in stone just yet.Whatever the case, my suggestion would be to introduce
react-router-dom
, which is pretty much standard for this sort of routing/navigation.unstyled proof of concept PR here: #15
This all sounds great.
About the naming, there are a lot of unresolved questions with naming in general at the moment (on both the backend and frontend). As a starting point
/video/:id
would seem to make sense from a user's perspective but as you say it'll be easy to change later.