It's an easy out. But it's better than nothing.
Online classroom platforms are now accommodating YouTube videos.
But it's not what online courses really need. What online courses really need are original instructor produced audio presentations for each unit of the course.
That's what students want. They want to hear their own teacher.
Here's my 14 minute YouTube video produced professionally by NASA TED conference. But to hear me teach, take my course.