Support » Plugin: Featured Video Plus » Fix for videos over SSL

  • Resolved vwbusguy

    (@vwbusguy)


    Youtube, Vimeo, and DailyMotion videos will not work over https:// due to the unnecessary hardcoding of the $src parameter in php/general.php . When viewing pages with your code over https, the videos simply fail to load on most modern browsers due to mixed-content.

    In each case, simply removing the unnecessarily hard-coded protocol works:

    Vimeo:
    $src = '//player.vimeo.com/video/'...

    Youtube:
    $src = '//www.youtube.com/embed/'

    DailyMotion:
    $dm['src'] = '//www.dailymotion.com/embed/video/

    We’ve been making this edit internally and supporting SSL for WordPress is an absolute must. I hope you’ll consider adding this to a future update to save us and others the upgrade maintenance.

    https://wordpress.org/plugins/featured-video-plus/

Viewing 3 replies - 1 through 3 (of 3 total)
  • vwbusguy

    (@vwbusguy)

    That being said, the plugin is working great besides this. Keep up the good work!

    Plugin Author Alex

    (@ahoereth)

    Thanks for the feedback!
    But I noticed dailymotion by default offers its embed code with http://. Not sure why they prefer it this way?

    vwbusguy

    (@vwbusguy)

    Many thanks! Sorry I missed you were on GitHub. I’ll be glad to submit patches via pull request next time.

    Scott

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Fix for videos over SSL’ is closed to new replies.