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?