Update Openings.moe embedding.

This commit is contained in:
ccd0 2020-03-29 11:54:31 -07:00
parent 5070f2c613
commit 96bb1d66ad

View File

@ -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+)/