Support » Plugin: Viper's Video Quicktags » SSL & Schemeless URLs for embed tags

  • 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 = '' . $videoid;

    Works better if modified to this:

    $iframeurl = '//' . $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 🙂

Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
  • The topic ‘SSL & Schemeless URLs for embed tags’ is closed to new replies.