Add openings.moe embedding.
This commit is contained in:
parent
49128b5399
commit
8df8fed320
@ -225,6 +225,16 @@ Embedding =
|
|||||||
src: "http://www.liveleak.com/ll_embed?i=#{a.dataset.uid}",
|
src: "http://www.liveleak.com/ll_embed?i=#{a.dataset.uid}",
|
||||||
el.setAttribute "allowfullscreen", "true"
|
el.setAttribute "allowfullscreen", "true"
|
||||||
el
|
el
|
||||||
|
,
|
||||||
|
key: 'openings.moe'
|
||||||
|
regExp: /^\w+:\/\/openings.moe\/\?video=([^&=]+\.webm)/
|
||||||
|
style: 'max-width: 80vw; max-height: 80vh;'
|
||||||
|
el: (a) ->
|
||||||
|
$.el 'video',
|
||||||
|
controls: true
|
||||||
|
preload: 'auto'
|
||||||
|
src: "//openings.moe/video/#{a.dataset.uid}"
|
||||||
|
loop: true
|
||||||
,
|
,
|
||||||
key: 'Pastebin'
|
key: 'Pastebin'
|
||||||
regExp: /^\w+:\/\/(?:\w+\.)?pastebin\.com\/(?!u\/)(?:[\w\.]+\?i\=)?(\w+)/
|
regExp: /^\w+:\/\/(?:\w+\.)?pastebin\.com\/(?!u\/)(?:[\w\.]+\?i\=)?(\w+)/
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user