diff --git a/source/js/Core/Media/VMM.MediaType.js b/source/js/Core/Media/VMM.MediaType.js index fee7c96..f8f3e8e 100644 --- a/source/js/Core/Media/VMM.MediaType.js +++ b/source/js/Core/Media/VMM.MediaType.js @@ -133,7 +133,7 @@ if(typeof VMM != 'undefined' && typeof VMM.MediaType == 'undefined') { media.id = wiki_id.replace(" ", "%20"); media.lang = d.split("//")[1].split(".wikipedia")[0]; success = true; - } else if (d.indexOf('http://') == 0) { + } else if (d.indexOf('http://') == 0 || d.indexOf('https://') == 0) { media.type = "website"; media.id = d; success = true; @@ -156,4 +156,4 @@ if(typeof VMM != 'undefined' && typeof VMM.MediaType == 'undefined') { } return false; } -} \ No newline at end of file +}