Only two lines needs some change…
<param name="movie" value="https://www.youtube.com/v/'.$id.'?version=3'.$pxsol_youtube_switch.'"></param>
and then…
<embed src="https://www.youtube.com/v/'.$id.'?version=3'.$pxsol_youtube_switch.'" type="application/x-shockwave-flash" allowfullscreen="'.$pxsol_youtube_fullScreen.'"
allowScriptAccess="always" width="'.$pxsol_youtube_width.'" height="'.$pxsol_youtube_height.'"></embed>
I guess the following should be enough to apply SSL compatibility…
<param name="movie" value="//www.youtube.com/v/'.$id.'?version=3'.$pxsol_youtube_switch.'"></param>
<embed src="//www.youtube.com/v/'.$id.'?version=3'.$pxsol_youtube_switch.'" type="application/x-shockwave-flash" allowfullscreen="'.$pxsol_youtube_fullScreen.'"
allowScriptAccess="always" width="'.$pxsol_youtube_width.'" height="'.$pxsol_youtube_height.'"></embed>
Removed the http:
part. It’d be awesome, if the fix is available with the plugin itself so that we needn’t update the code everytime the plugin gets updated.
Thanks.