Tagged: ,

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #27947

    Hi,

    My site has SSL installed.

    I’m using “avia layout builder”>”media element”>”video” to display a youtube video.

    It works for http videos but when I use the link as “https” it automatically turns it into simple “http”

    I don’t know if it’s a bug or if is not possible to identify the right URL to display.

    I have to edit something from “http” to “https” I guess, I don’t mind if it turns all youtube videos to SSL as my whole site is SSL.

    What changes should I do to make https youtube videos to work?

    thanks.

    #135945

    Hi filianluthien,

    Sorry for the delay in responding we have been getting a huge spike in support requests recently.

    It seems that the root of the issue is that the theme uses the built in WordPress embed shortcode and builds on to it. But there is an issue with WordPress core allowing the https vs http. See: http://core.trac.wordpress.org/ticket/18719 .

    That ticket has a suggested ‘fix’ you may want to try adding to your functions.php:

    wp_oembed_add_provider('https://youtu.be/*', 'http://youtube.com/oembed?scheme=https', false );
    wp_oembed_add_provider('#https://(www.)?youtube.com/watch.*#i', 'http://youtube.com/oembed?scheme=https', true);

    Regards,

    Devin

    #135946

    Thank you for answer it.

    It doesn’t work.

    I’m using a plug-in to do the job (lyte youtube), it works fine, so I’m closing this topic.

    thanks.

    #135947

    Glad you were able to find a solution :)

    Let us know if you have any other questions or issues.

    Regards,

    Devin

Viewing 4 posts - 1 through 4 (of 4 total)

The topic ‘youtube & https’ is closed to new replies.