This web part allows to search and view the YouTube videos, across the YouTube API, directly on a SharePoint page, furthermore the property panel offers the possibility to specify the API key, the number of items to display and it is also possible specify a YouTube Channel Id.
This Web Part illustrates the following concepts on top of the SharePoint Framework:
YouTube - How to leverage the YouTube capabilities.
Disclaimer
THIS CODE IS PROVIDED AS IS WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESS OR IMPLIED, INCLUDING ANY IMPLIED WARRANTIES OF FITNESS FOR A PARTICULAR PURPOSE, MERCHANTABILITY, OR NON-INFRINGEMENT.