Update Openings.moe embedding.
This commit is contained in:
parent
5070f2c613
commit
96bb1d66ad
@ -413,13 +413,12 @@ Embedding =
|
||||
,
|
||||
key: 'Openings.moe'
|
||||
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 'video',
|
||||
controls: true
|
||||
preload: 'auto'
|
||||
src: "//openings.moe/video/#{a.dataset.uid}.webm"
|
||||
loop: true
|
||||
el = $.el 'iframe',
|
||||
src: "https://openings.moe/?video=#{a.dataset.uid}",
|
||||
el.setAttribute "allowfullscreen", "true"
|
||||
el
|
||||
,
|
||||
key: 'Pastebin'
|
||||
regExp: /^\w+:\/\/(?:\w+\.)?pastebin\.com\/(?!u\/)(?:[\w.]+(?:\/|\?i\=))?(\w+)/
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user