YouTube video search application using YouTube REST API, JavaScript, jQuery, and NodeJS.
DEMO
-
Deployed to Heroku Cloud:
Note: It is only running on a free dyno, so it may take some time before it responds.
Features
- The application is using the data from youtube rest api and display and play multiple videos at a time.
- The application implements the auto-complete search functionality by calling google's search API.
- In order to see the video on youtube, it shows link below the videos which will redirect to youtube.
- At max 50 videos will be shown which is the limitation of the youtube rest api.
Steps for executing:
-
Get the Youtube API KEY in order to access the Rest API. You need to register from here.
-
Download/Clone the repository.
-
Replace the "process.env.YOUTUBE_API_KEY" variable with your key and "process.env.PORT" variable with your desire port number in server.js
-
Run the server.js on the node server.
node server.js
-
Run the URL in your web browser on your localhost ip and port number which is assigned in server.js
http://127.0.0.1:7070
References