add Clyp embedding
This commit is contained in:
parent
23290a5d6b
commit
7300414711
@ -422,6 +422,15 @@ Linkify =
|
|||||||
when 'nn' then "http://naenara.eu/loopvids/#{base}"
|
when 'nn' then "http://naenara.eu/loopvids/#{base}"
|
||||||
$.add el, $.el 'source', src: url
|
$.add el, $.el 'source', src: url
|
||||||
el
|
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
|
# dummy entries: not implemented but included to prevent them being wrongly embedded as a subsequent type
|
||||||
key: 'Loopvid dummy'
|
key: 'Loopvid dummy'
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user