diff --git a/src/Linkification/Linkify.coffee b/src/Linkification/Linkify.coffee index f4e7f9bd3..2dba77a68 100755 --- a/src/Linkification/Linkify.coffee +++ b/src/Linkification/Linkify.coffee @@ -422,6 +422,15 @@ Linkify = when 'nn' then "http://naenara.eu/loopvids/#{base}" $.add el, $.el 'source', src: url el + , + key: 'Clyp' + regExp: /^\w+:\/\/(?:www\.)?clyp\.it\/(\w+)/ + style: '' + el: (a) -> + $.el 'audio', + controls: true + preload: 'auto' + src: "http://clyp.it/#{a.dataset.uid}.ogg" , # dummy entries: not implemented but included to prevent them being wrongly embedded as a subsequent type key: 'Loopvid dummy'