A web app where one can search YouTube videos in sorted order according to number of likes, comments, views, name and date. It is made using YouTube API v3.
Are you looking for a React App using YouTube API, please check this!
-
Get your YouTube API key here.
-
Replace
API_KEY = XXXXXXXXXX
injs/youtube.js
with your own YouTube API key.
const API_KEY = 'XXXXXXXXXXXX'; // REPLACE IT WITH YOUR YOUTUBE API KEY
-
Open
index.html
with any browser(say chrome, mozilla etc.) Kindly assure the proper internet connectivity before you start browsing videos on Mini YouTube. -
Enter your query(e.g. 'Prank Videos', 'Shreya Ghosal', 'Girls like you' etc.) to browse videos.
-
Click on
Search
icon. -
Navigate through the dropdown menu to sort the results.
- By default, 5 results are returned by YouTube API.
- The retrieved
JSON
Object from YouTube API is displayed in Browser Console. - The website is responsive. Kindly resize the browser window to see it.
- Font Awesome - It is used for importing icons in the web app.
- Google Fonts -
Oxygen
andAcme
Google fonts are used. - JQuery