Support Vocaroo HTTPS embedding

Previously HTTP was forced, causing an unnecessary Mixed Content warning.
This commit is contained in:
Johnny 2018-02-24 08:34:00 +11:00 committed by GitHub
parent 739785f7a5
commit dffb3639a9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -455,7 +455,7 @@ Embedding =
controls: true
preload: 'auto'
type = if el.canPlayType 'audio/webm' then 'webm' else 'mp3'
el.src = "http://vocaroo.com/media_command.php?media=#{a.dataset.uid}&command=download_#{type}"
el.src = "//vocaroo.com/media_command.php?media=#{a.dataset.uid}&command=download_#{type}"
el
,
key: 'YouTube'