WordPress.org

Forums

Featured Video Plus
[resolved] Fix for videos over SSL (4 posts)

  1. vwbusguy
    Member
    Posted 1 year ago #

    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/

  2. vwbusguy
    Member
    Posted 1 year ago #

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

  3. Alexander Hoereth
    Member
    Plugin Author

    Posted 1 year ago #

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

  4. vwbusguy
    Member
    Posted 1 year ago #

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

    Scott

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • Featured Video Plus
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic