Is YouTube considered a social media?

Social media is a phenomenon so large as to have a myriad different definitions. Therefore, answering a question whether anything is considered a social media platform will depend on the definition you're using.

With that said, YouTube is indeed considered a social media by the majority of people. It is also frequently used as a search engine for guides, how-tos, lessons, and so on.