2b1b does a video on how you raise e to a matrix (hint: raising something to e is converted into another function where it's not nonsensical to do such a thing.) In about 10 minutes he explains something my math methods instructor struggled with over two weeks (4 classes). I was resistant to the view that YouTube could host "decent" instructional content for a long time. That video was one of the first that was CLEAR…
They are complementary, an entertaining YouTube video may first give you motivation to get into a seemingly boring subject. It may also help you after you took your classes, to help make elements fall into place, but it only works if you have learned the elements beforehand.
As educative these videos are, they are entertainment, and they are driven by the rules of entertainment, they wouldn't get much views otherwise. So it leans heavily on accessible and clever explanations, surprising results and relatively short form, the boring stuff is often left out, and unfortunately, some of it is necessary to progress. Most science YouTubers admit it, and urge everyone to take school seriously.
I have never learned a field just from YouTube videos. It either left me with superficial knowledge (which is better than nothing) or acted as a way to consolidate knowledge I already had.