
WordPress plugin embed broken over HTTPS
Hi
The WordPress plugin ( https://wordpress.org/plugins/bits-on-the-run/ ) has a bug where it embeds JWPlayer using a HTTP URL irrespective of whether the current page has been loaded over HTTPS or HTTP. So pages loaded on HTTP work fine but pages loaded on HTTPS won't show JWPlayer embed.
The bug is in bitsontherun.php line 481. Changing it to following resolves the bug:
$url = '//' . $content_mask . '/' . $path;
This would fix it by making the URL use relative protocol and so the browser would use the same protocol on which the current page is loaded.
thanks