Support VidLii embedding.
This commit is contained in:
parent
fbffa9c158
commit
da45a0a9eb
@ -419,6 +419,15 @@ Embedding =
|
||||
cont
|
||||
else
|
||||
el
|
||||
,
|
||||
key: 'VidLii'
|
||||
regExp: /^\w+:\/\/(?:www\.)?vidlii\.com\/watch\?v=(\w{11})/
|
||||
style: 'border: none; width: 640px; height: 392px;'
|
||||
el: (a) ->
|
||||
el = $.el 'iframe',
|
||||
src: "https://www.vidlii.com/embed?v=#{a.dataset.uid}&a=0"
|
||||
el.setAttribute "allowfullscreen", "true"
|
||||
el
|
||||
,
|
||||
key: 'Vimeo'
|
||||
regExp: /^\w+:\/\/(?:www\.)?vimeo\.com\/(\d+)/
|
||||
|
||||
BIN
src/css/linkify.vidlii.png
Normal file
BIN
src/css/linkify.vidlii.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 1.1 KiB |
Loading…
x
Reference in New Issue
Block a user