Name is required.
Email address is required.
Invalid email address
Answer is required.
Exceeding max length of 5KB

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

1 Community Answers

Todd

JW Player Support Agent  
0 rated :

Thanks for bringing this to our attention. I will certainly escalate this to our engineers. Did you implement the fix directly via the editor in WordPress?

This question has received the maximum number of answers.