Update Openings.moe embedding.
This commit is contained in:
parent
5070f2c613
commit
96bb1d66ad
@ -413,13 +413,12 @@ Embedding =
|
|||||||
,
|
,
|
||||||
key: 'Openings.moe'
|
key: 'Openings.moe'
|
||||||
regExp: /^\w+:\/\/openings.moe\/\?video=([^.&=]+)/
|
regExp: /^\w+:\/\/openings.moe\/\?video=([^.&=]+)/
|
||||||
style: 'max-width: 80vw; max-height: 80vh;'
|
style: 'width: 1280px; height: 720px; max-width: 80vw; max-height: 80vh;'
|
||||||
el: (a) ->
|
el: (a) ->
|
||||||
$.el 'video',
|
el = $.el 'iframe',
|
||||||
controls: true
|
src: "https://openings.moe/?video=#{a.dataset.uid}",
|
||||||
preload: 'auto'
|
el.setAttribute "allowfullscreen", "true"
|
||||||
src: "//openings.moe/video/#{a.dataset.uid}.webm"
|
el
|
||||||
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