This app is a clone of the Netflix frontend (Javascript and React), but consumes the Youtube API and exclusively displays the contents of a single YouTube channel
Before being generalized to be used with any YouTube channel, this program was originally intended to showcase the YT channel for the Fresno Community Media Access Collaborative (CMAC). CMAC is a membership-based, 501(c)(3) non-profit organization created to help citizens, schools, non-profits, public agencies and others better connect with our Fresno/Clovis (California) community through the use of media.
- Clone the repo
- Create a .env file in the project root and add your Youtube API key
- REACT_APP_YOUTUBE_API_KEY=[your API key]
- Access index.html in a browser or deploy to your website.
Features
- The following features will be limited to a single, configured YouTube channel
- Suggest Youtube playlists from the channel in the same way netflix suggests genres
- Search bar that only searches the channel
- Clicking on a thumbnail will bring up a hero banner of the video that loops the first 10 seconds, overlaid with:
- the description and likes
- play button
- close button
- mute toggle button
- Start the video from the beginning if the play button or large thumbnail is clicked
- Auto-queue the next video if the video was part of a playlist or...
- play the next suggested video (is this in the api?) (confirm the suggested video is from the correct channel?)
- "Still watching?" prompt after 3 auto-play videos
- Additional features if logged in ?
- From stackoverflow: YouTube doesn't expose fullscreen in their API, but you can call the native browser requestFullScreen() function from the playerStateChange() event from the YouTube API or make your own custom play button