But question is here” how to build an application or website by using youtube videos?”
Its answered is simple you are only follow below steps on by one.
Using YouTube Data API (v3)The YouTube Data API (v3) lets you have as a feature YouTube. You can use the API to get search results and to retrieve, insert, update, and delete resources like videos or playlists.
a. Getting started
- Register your application with Google and submit API requests.
b. Building your application
- Read the Getting Started with the YouTube Data API guide, which explains basic YouTube concepts and provides an overview of supported API operations.
- Select a client library to make things easier your API implementation.
- If your application will use any API methods that require user authorization, read the authentication guide to learn how to implement OAuth 2.0 authorization.
Follow all above steps one by one.
After completation you needs some code.