How do I embed YouTube videos into my Moodle course?
We’ve activated Moodle’s YouTube filter so you can easily embed videos by providing a valid YouTube URL into a label resource.
You can also embed any video that has an embed code available for you to copy and paste into Moodle. If you’re going to use an embed code, be sure to toggle to the HTML source by clicking the < > icon in the rich text editor.
Link to this FAQ: How do I embed YouTube videos into my Moodle course?