chrismcginlay / eduduck

An abandoned online course hosting platform/marketplace

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Construct video URI from ID

chrismcginlay opened this issue · comments

Youtube ID should be used to construct the video embed uri used in templates. Otherwise too much emphasis is placed on the user entering the correct embed uri.

At the same time, ensure Youtube loads over https
Currently we're using youtube over http which means that modern browsers will block it (mixed active content)

Commit c3d9e64 forces https protocol, allowing youtube embeds to be loaded with strict checking browsers on https://www.eduduck.com
Merged this commit to master.