Skip to content

Conversation

@ffub
Copy link

@ffub ffub commented Jun 25, 2013

When a page is served over HTTPS, the module should serve videos that way. Both YouTube and Vimeo support using SSL connections for Oembed.

The protocol should probably defined globally at init rather than the hacky way I have done it within each function.

@ryancramerdesign
Copy link
Owner

Thanks good idea! I have updated this to support https.

@plauclair
Copy link

Hey. I fixed my HTTPS embed problem by changing line 86 to:

86. $embedCode = str_replace('http','https',$data['html']);

My issue came from the fact that OEmbed service only returns http links even if the url that is fed is using https. This gave errors when embedding on https pages.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants