Site visitors can see the top 3 random streamers on the home page when the page loads or refreshes. Visitors can also see top 10 games being streamed for the day and search for games based on game name, genre or release dates. Finally, site visitors can see the top video on demand clips being streamed for the day.
Twitch Authentication Instructions: https://dev.twitch.tv/docs/authentication
Use the link above to register your app to get:
client secret ID, client ID & application token
Non-Interactive Inline Frames for Live Streams and VODs:
src="https://player.twitch.tv/?<channel, video, or collection>&parent=streamernews.example.com"
API Name: | Data retrieved from API: |
---|---|
Twitch | Random streamers, games streamed, game images and live VOD |
IGDB | Game names, release dates and genre |
We decided to use Twitch's Non-Interactive Inline Frames for Live Streams and VODs instead of a third party library for better system performance and stability.
Dev Notes: NOTE: All development was done remotely via Zoom Meeting & Live Server due to covid-19 pandemic
File Name: | File Data: |
---|---|
.gitignore | used to exclude specific packages from being uploaded into github |
clips.js | code used to render video clips |
games.js | code used to search & render games, release dates and genre in search bar |
index.js | code used to render top games being streamed and top 3 random streamers |
clips.html | video main page |
games.html | search main page |
index.html | home main page |
index.css | used to style the index.html, games.html and clips.htlm pages |
/img | images for carousel |
Bootstrap:
<script src="https://code.jquery.com/jquery-3.2.1.slim.min.js" integrity="sha384-KJ3o2DKtIkvYIK3UENzmM7KCkRr/rE9/Qpg6aAZGJwFDMVNA/GpGFF93hXpG5KkN" crossorigin="anonymous"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/popper.js/1.12.9/umd/popper.min.js" integrity="sha384-ApNbgh9B+Y1QKtv3Rn7W3mgPxhU9K/ScQsAP7hUibX39j7fakFPskvXusvfa0b4Q" crossorigin="anonymous"></script>
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/4.0.0/js/bootstrap.min.js" integrity="sha384-JZR6Spejh4U02d8jOt6vLEHfe/JQGiRRSQQxSfFWpi1MquVdAyjUar5+76PVCmYl" crossorigin="anonymous"></script>
Build and designed by:
Aaron Hedge
Chase Taegun Owners
Jada Quandt
Jaland Swain
Nick Howland
Kelvin Lester
Reena Gouldbourne (DIR)