Docusaurus - YouTube integration
· 2 min read
On the first page of Docusaurus there is a frame with a YouTube video. How to do it? In this post I will describe how to integrate Docusaurus with YouTube, because as it turns out, it is not that difficult, but to achieve all the functionalities, such as displaying the video in full screen, we have to follow the rules, which do not seem obvious at all. I spent a few hours on it before I managed to achieve the expected effect, so I decided to share this knowledge with others.