Update Vocaroo embedding.

This commit is contained in:
ccd0 2015-12-04 14:13:56 -08:00
parent 93cc271af4
commit b299e0f16d

View File

@ -274,7 +274,7 @@ Embedding =
el = $.el 'audio',
controls: true
preload: 'auto'
type = if el.canPlayType 'audio/ogg' then 'ogg' else 'mp3'
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
,