If your YouTube video is public, it must adhere to all copyright laws and rules concerning music. You still need the copyright holder’s permission, even if you don’t monetize the video.