Skip to content

Commit

Permalink
Clarify custom embed error to remove the clause about switching to pl…
Browse files Browse the repository at this point in the history
…ain HTTP
  • Loading branch information
calzoneman committed Jan 10, 2017
1 parent ee8cf35 commit e1ad7c6
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 5 deletions.
2 changes: 1 addition & 1 deletion package.json
Expand Up @@ -2,7 +2,7 @@
"author": "Calvin Montgomery",
"name": "CyTube",
"description": "Online media synchronizer and chat",
"version": "3.27.0",
"version": "3.27.1",
"repository": {
"url": "http://github.com/calzoneman/sync"
},
Expand Down
4 changes: 1 addition & 3 deletions player/embed.coffee
@@ -1,9 +1,7 @@
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).'
secure link if available (https://...), or find another source for the content.'

genParam = (name, value) ->
$('<param/>').attr(
Expand Down
2 changes: 1 addition & 1 deletion www/js/player.js
Expand Up @@ -902,7 +902,7 @@

})(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) {
return $('<param/>').attr({
Expand Down

0 comments on commit e1ad7c6

Please sign in to comment.