Viewing 2 replies - 1 through 2 (of 2 total)
  • Thread Starter hawaiiwp

    (@hiarlen)

    I can send you the very minor change I made to one file in your plugin. I’m not a hardcore developer so there might be better ways to code it.

    The correct thing to do is to not specify the protocol at all, like they do for the Vimeo shortcode in includes/shortcodes.php .

    Change line 667 from:

    $video .= 'src="https://www.youtube.com/embed/' ...

    to:

    $video .= 'src="//www.youtube.com/embed/' ...

    This way, the request to YouTube will be made with the same protocol (HTTP or HTTPS) that the parent page was requested with.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘youtube Videos not displaying on HTTPS site’ is closed to new replies.