nulib / avalon

Variations-on-Video Hydra app
Apache License 2.0
3 stars 0 forks source link

Video embed missing "https://" in src #429

Closed chrisdaaz closed 5 years ago

chrisdaaz commented 5 years ago

The video embed code is missing https: in the src attribute of the <iframe> element.

When users copy and paste the embed code into an HTML document, the iframe fails to load the content into the page.

Embedding works when https: is added at the begining of the src.

image

davidschober commented 5 years ago

from @mbklein

mbklein [2:45 PM] That’s actually by design, because there’s no way of knowing whether the page you’re embedding into is http or https. Most browsers will use a scheme-relative URL correctly.

@chrisdaaz what browser were you using? It should have updated that...