YouTube Plugin for CaRP Evolution HTTPS Bug Fixed
by Antone Roundy | CaRP
A bug has been fixed in the YouTube plugin for CaRP Evolution. The new version is available for download. Find it under "CaRP Evolution / Individual Parts / Plugins", or in the full "CaRP Evolution 4 (with plugins)" archive.
This update fixes a bug that prevented the "use-https" setting from working. The purpose of this setting is to tell the plugin to use HTTPS URLs to load videos, which may be required by some web browsers or configurations when videos are being displayed on a secure page.
To use this setting, add the following line of code after the line where the YouTube plugin is loaded -- ie. CarpLoadPlugin('youtube.php');
$youtubeconf['use-https']=1;
If inserting this code inside a function, be sure to access $youtubeconf as a global variable. Here are two ways to do that:
global $youtubeconf;
$youtubeconf['use-https']=1;
or:
$GLOBALS['youtubeconf']['use-https']=1;