Clarify custom embed error to remove the clause about switching to plain HTTP

This commit is contained in:
Calvin Montgomery 2017-01-09 23:47:11 -08:00
parent ee8cf35cdf
commit e1ad7c63af
3 changed files with 3 additions and 5 deletions

View file

@ -2,7 +2,7 @@
"author": "Calvin Montgomery", "author": "Calvin Montgomery",
"name": "CyTube", "name": "CyTube",
"description": "Online media synchronizer and chat", "description": "Online media synchronizer and chat",
"version": "3.27.0", "version": "3.27.1",
"repository": { "repository": {
"url": "http://github.com/calzoneman/sync" "url": "http://github.com/calzoneman/sync"
}, },

View file

@ -1,9 +1,7 @@
DEFAULT_ERROR = 'You are currently connected via HTTPS but the embedded content DEFAULT_ERROR = 'You are currently connected via HTTPS but the embedded content
uses non-secure plain HTTP. Your browser therefore blocks it from uses non-secure plain HTTP. Your browser therefore blocks it from
loading due to mixed content policy. To fix this, embed the video using a loading due to mixed content policy. To fix this, embed the video using a
secure link if available (https://...), or load this page over plain HTTP by secure link if available (https://...), or find another source for the content.'
replacing "https://" with "http://" in the address bar (your websocket will
still be secured using HTTPS, but this will permit non-secure content to load).'
genParam = (name, value) -> genParam = (name, value) ->
$('<param/>').attr( $('<param/>').attr(

View file

@ -902,7 +902,7 @@
})(Player); })(Player);
DEFAULT_ERROR = 'You are currently connected via HTTPS but the embedded content uses non-secure plain HTTP. Your browser therefore blocks it from loading due to mixed content policy. To fix this, embed the video using a secure link if available (https://...), or load this page over plain HTTP by replacing "https://" with "http://" in the address bar (your websocket will still be secured using HTTPS, but this will permit non-secure content to load).'; DEFAULT_ERROR = 'You are currently connected via HTTPS but the embedded content uses non-secure plain HTTP. Your browser therefore blocks it from loading due to mixed content policy. To fix this, embed the video using a secure link if available (https://...), or find another source for the content.';
genParam = function(name, value) { genParam = function(name, value) {
return $('<param/>').attr({ return $('<param/>').attr({