Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[FIX] scaron#156 Browser complains about mixed content
If a site is loaded using https:// youtube videos (and probably other embeds) will not load because the script hard codes http in the video URLs The following fix is as follows: - only applies to video urls (any impact on other embeds unknown) - checks for the current document protocol (http: or https:) - if protocol is file:, then it defaults to - http for youtube as it is existing behaviour - specified protocol in the vimeo url (new behaviour) See this fix in action at by clicking the vimeo videos on the right. https://www.listcorp.com/asx/ler
- Loading branch information