Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[#1213] Rewrites http:// video embeds to use protocol relative URLs
* ... only if they support them (all the big sites do, smaller ones may or may not). We don't want to force to https if it isn't supported because the behavior is unreliable. An http embed on https may throw up a browser warning. A non-working https embed may, e.g., show a cryptic error message about internal server error, a blank page, or (in one case) an unrelated internal service * added arguments so that we only change the URL if we're going to display the embed (as opposed to editing the embed, or cleaning for saving in the database). Fixes #1213.
- Loading branch information
Showing
4 changed files
with
46 additions
and
35 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters