jeffehobbs / embedresponsively

Embed Responsively helps web content producers transform fixed width embedded content into fluid responsive embeds.
673 stars 141 forks source link

Use // rather than http:// for the src attribute #8

Closed moosetoga closed 10 years ago

moosetoga commented 11 years ago

I'd recommend changing src attribute from http://www.youtube.com/embed/something to //www.youtube.com/embed/something in order to eliminate issues with videos loading in https:// pages.

jeffehobbs commented 10 years ago

Ah, yeah, I would, but that causes problems in webviews in apps when YouTube content traverses from web to app. Damned if do, Damned if you don't. I'm leaving this as an exercise for the reader.