Single check catches only long urls https://www.youtube.com/watch?v=gLDYtH1RH-U but fails to catch short urls http://youtu.be/gLDYtH1RH-U hence the second check. We could probably got for `/^(https?:\/\/)?(www\.)?(youtube\.com|youtu\.be)\//` instead.