HackerOne users: Testing against this community violates our program's Terms of Service and will result in your bounty being denied.
Please upgrade here. These earlier versions are no longer being updated and have security issues.

Does this support https?

This discussion is related to the Mediator addon.

My forum is hosted on https.

So any youtube, image, etc must also use the https embed as to not display non-secure content.

I tried looking into the .js, and I guess I am a little lost, but I tried this area-

var urlo = (url == document.URL) ? document.location : $('')[0],
            urlp = {
                protocol: urlo.protocol.slice(0, urlo.protocol.length - 1),
                host: urlo.hostname,
                port: urlo.port,
                path: urlo.pathname,
                query: urlo.search,

and

var newel = $(''),
            id = 'YT_'+ hash +'_'+ (new Date).getTime();
        newel.attr('height', height);
        newel.attr('src', 'https://www.youtube.com/embed/'+ hash +'?rel=0&autoplay=1&theme=light&enablejsapi=1&width='+width+'&height='+height);

Comments

Sign In or Register to comment.