YouTube support for VideoJS

Is there a way to add youtube support? It seems that VideoJS supports it with a plugin. https://videojs.com/guides/faqs/#q-can-videojs-play-youtube-videos Also there is a plugin for DRM content ;) Any way to enable either?
FAQs | Video.js
Some frequently asked questions about Video.js
Solution:
For the youtube link, add &controls=0&autoplay=1 at the end. In the options, click allow auto play...
Jump to solution
5 Replies
Serenaphic
Serenaphicā€¢14mo ago
Using Iframes and the embed function of youtube it should yes, but in the future this will also be supported in the notebook widget
AlepounašŸŒ™
AlepounašŸŒ™OPā€¢14mo ago
Yeah thing is with the iframe it doesn't autoplay and shows the yt UI
Solution
Serenaphic
Serenaphicā€¢14mo ago
For the youtube link, add &controls=0&autoplay=1 at the end. In the options, click allow auto play
Serenaphic
Serenaphicā€¢14mo ago
There's only so much of the youtube UI you can hide unfortunately but that's a limitation on their part Also, autoplay doesn't work on all browsers
AlepounašŸŒ™
AlepounašŸŒ™OPā€¢14mo ago
Ah that works great
Want results from more Discord servers?
Add your server