Lux Vimeo not showing up on https site
-
It seems that Lux Vimeo creates the iFrame without looking at the parent protocal (http vs. https):
HTTP site iFrame code:
<iframe src=’http://player.vimeo.com/video/83451677?title=1&byline=1&portrait=1&color=’ width=’400′ height=’225′ frameborder=’0′></iframe>HTTPS site iFrame code:
<iframe src=’http://player.vimeo.com/video/83451677?title=1&byline=1&portrait=1&color=’ width=’400′ height=’225′ frameborder=’0′></iframe>Since the iFrame is HTTP (instead of HTTPS) on the page served through HTTPS, it is not loaded.
The solution is to modify the code as follows (line 36/37):
$ssl = is_ssl()?"s":""; return "<iframe src='http$ssl://player.vimeo.com/video/$clip_id?title=$title&byline=$byline&portrait=$portrait&color=$color' width='$width' height='$height' frameborder='0'></iframe>";
The topic ‘Lux Vimeo not showing up on https site’ is closed to new replies.