Title: https support
Last modified: August 20, 2016

---

# https support

 *  Resolved [rriley.cs](https://wordpress.org/support/users/rrileycs/)
 * (@rrileycs)
 * [13 years, 6 months ago](https://wordpress.org/support/topic/https-support-2/)
 * Hi,
 * I’m interested in using this plugin, but my blog makes use of https. So, that
   means that in my system the ffmpeg check code (kg_check_ffmpeg_exists) asks ffmpeg
   to input its file from an https:// url, but ffmpeg doesn’t support https urls(
   only http urls). So it fails.
 * Is there a work around for this? I appreciate your time and effort on this plugin!
 * [http://wordpress.org/extend/plugins/video-embed-thumbnail-generator/](http://wordpress.org/extend/plugins/video-embed-thumbnail-generator/)

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

 *  Plugin Author [Kyle Gilman](https://wordpress.org/support/users/kylegilman/)
 * (@kylegilman)
 * [13 years, 6 months ago](https://wordpress.org/support/topic/https-support-2/#post-3235804)
 * Well, if you’re comfortable hacking a little, you could get past the check by
   hard-coding your URL into the plugin. In the kg_check_ffmpeg_exists function 
   Just replace `'.plugins_url("", __FILE__).'` with [http://www.yourdomain.com/wp-content/plugins/video-embed-thumbnail-generator/](http://www.yourdomain.com/wp-content/plugins/video-embed-thumbnail-generator/)
   but that might only get you to pass the check for FFMPEG. If all of the files
   in your WordPress installation are delivered through https then I can’t think
   of a good fix for you to generate thumbnails other than using the “Embed from
   URL” tab. In future versions of the plugin I’ll try converting https ffmpeg input
   to http.
 *  Thread Starter [rriley.cs](https://wordpress.org/support/users/rrileycs/)
 * (@rrileycs)
 * [13 years, 6 months ago](https://wordpress.org/support/topic/https-support-2/#post-3235809)
 * In my case things are only served over http.
 * Is there a way to get the filesystem path to the plugins directory instead of
   using the URL? It seems like this would fix the problem. (Just access /usr/local/
   wordpress/plugins/video-embed-thumbnail-generator/ or whatever.) I can hack this
   manually into my implementation, but is there a nice WordPress to return that
   path?
 *  Plugin Author [Kyle Gilman](https://wordpress.org/support/users/kylegilman/)
 * (@kylegilman)
 * [13 years, 6 months ago](https://wordpress.org/support/topic/https-support-2/#post-3235810)
 * Yes, you should be able to use plugin_dir_path(__FILE__)
    I vaguely remember 
   that there was a reason I used the URL instead of the path, but it seems like
   this would be better.
 *  Plugin Author [Kyle Gilman](https://wordpress.org/support/users/kylegilman/)
 * (@kylegilman)
 * [13 years, 4 months ago](https://wordpress.org/support/topic/https-support-2/#post-3235820)
 * Version 3.0 and later should solve this problem.

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

The topic ‘https support’ is closed to new replies.

 * ![](https://ps.w.org/video-embed-thumbnail-generator/assets/icon.svg?rev=2965979)
 * [Videopack](https://wordpress.org/plugins/video-embed-thumbnail-generator/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/video-embed-thumbnail-generator/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/video-embed-thumbnail-generator/)
 * [Active Topics](https://wordpress.org/support/plugin/video-embed-thumbnail-generator/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/video-embed-thumbnail-generator/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/video-embed-thumbnail-generator/reviews/)

 * 4 replies
 * 2 participants
 * Last reply from: [Kyle Gilman](https://wordpress.org/support/users/kylegilman/)
 * Last activity: [13 years, 4 months ago](https://wordpress.org/support/topic/https-support-2/#post-3235820)
 * Status: resolved