Fix https support for youtube videos

It checks the location protocol and add matching matching protocol to
the embedded youtube link