WordPress.org

Ready to get started?Download WordPress

Forums

Viper's Video Quicktags
SSL & Schemeless URLs for embed tags (2 posts)

  1. YellowShark
    Member
    Posted 10 months ago #

    Hey there Mr. Developer, would like to point out something I had to mod in your code, in order to make things play nice over SSL. In /vipers-video-quicktags.php, line 3166, from VipersVideoQuicktags->shortcode_vimeo(), this code here:

    $iframeurl = 'http://player.vimeo.com/video/' . $videoid;

    Works better if modified to this:

    $iframeurl = '//player.vimeo.com/video/' . $videoid;

    You're actually forcing non-ssl http all over the place, from $this->default_settings in the constructor, through most of the shortcode_* methods, and likely beyond. I think it's pretty safe these days to just use the schemeless "//" protocol for almost all URLs, assuming of course that the respective services support SSL on an individual basis. Most of the big guys do though, YouTube & Vimeo for sure. Anyhow, thanks of course for the code, much respect & thanks. Holler if I can be of any assistance whatsoever :)

    http://wordpress.org/plugins/vipers-video-quicktags/

  2. idleberg
    Member
    Posted 3 months ago #

    while i don't like messing in a plugin's code, i was very happy to have come across this. thanks!

Reply

You must log in to post.

About this Plugin

About this Topic