Update openings.moe embedding.

This commit is contained in:
ccd0 2017-07-15 02:27:54 -07:00
parent e9281514a7
commit fdb76f59f0

View File

@ -354,13 +354,13 @@ Embedding =
el el
, ,
key: 'Openings.moe' key: 'Openings.moe'
regExp: /^\w+:\/\/openings.moe\/\?video=([^&=]+\.webm)/ regExp: /^\w+:\/\/openings.moe\/\?video=([^.&=]+)/
style: 'max-width: 80vw; max-height: 80vh;' style: 'max-width: 80vw; max-height: 80vh;'
el: (a) -> el: (a) ->
$.el 'video', $.el 'video',
controls: true controls: true
preload: 'auto' preload: 'auto'
src: "//openings.moe/video/#{a.dataset.uid}" src: "//openings.moe/video/#{a.dataset.uid}.webm"
loop: true loop: true
, ,
key: 'Pastebin' key: 'Pastebin'