Project Information - posth/react-youtube GitHub Wiki

Use case to help us define what needs to be done on the project:

Keywords:

Room: A dynamic page created by users that hosts the YouTube playlist, YouTube video frame, next and back button, and a way for any user that has access to this room to add YouTube videos to the playlist

Conditions:

  • A user can only create one room
  • Guests can only add videos to the playlist which are from YouTube (it should only accept YouTube links)
  • A room is deleted once it is inactive by both guests or the creator after 24hrs
  • Videos are played based on individual users - Would be a good challenge to try to sync the playing of the videos across all users on the page though, and if so, who has master control to play, skip, stop, etc..💃

Flow and use cases:

To create a room and its functionality:

  1. I go to the website, an introductory page shows me what the project is about
  2. I navigate to a listings page which shows all current available rooms
  3. I want to create a room, I click a button to create a room which prompts me for a name of the room and if I want to make it public or private
    • If the room is public, it goes ahead and creates the room, which also adds it to the listings page
    • If the room is private, it asks for a password and password information, and it does not add it to the listings page
  4. Inside the room page, on the left side is a sidebar that will hold the lists of YouTube videos of the playlist - I can select one to have it play
  5. In the center of the page is the frame of the video which will play, below I can navigate next and back.
  6. There should also be a section where a user can add videos via YouTube link, which if they are, will be queued to the add of the playlist and added to the left sidebar list as well

To visit a room as a guest with direct invitation:

  1. I receive a link from a creator that brings me directly to the dynamic room page
  2. If it is public, I directly get access, otherwise the creator has to provide me with a password which will prompt on loading of the page
  3. Once inside, the playlist will begin at video #1, but will not auto-play (please)
  4. I can add a YouTube link, which will queue the video at the end of the playlist

To browse available rooms without direct invitation:

  1. I go to the website, an introductory page shows me what the project is about
  2. I navigate to a listings page which shows all current available rooms
  3. Only public rooms are available for me to see
  4. I click on one and it shows me the room page, where I can listen to the playlist and add videos