Update Gfycat embedding.
This commit is contained in:
parent
e3a29abe8b
commit
5070f2c613
@ -320,8 +320,10 @@ Embedding =
|
|||||||
key: 'Gfycat'
|
key: 'Gfycat'
|
||||||
regExp: /^\w+:\/\/(?:www\.)?gfycat\.com\/(?:iframe\/)?(\w+)/
|
regExp: /^\w+:\/\/(?:www\.)?gfycat\.com\/(?:iframe\/)?(\w+)/
|
||||||
el: (a) ->
|
el: (a) ->
|
||||||
div = $.el 'iframe',
|
el = $.el 'iframe',
|
||||||
src: "//gfycat.com/iframe/#{a.dataset.uid}"
|
src: "//gfycat.com/ifr/#{a.dataset.uid}"
|
||||||
|
el.setAttribute "allowfullscreen", "true"
|
||||||
|
el
|
||||||
,
|
,
|
||||||
key: 'Gist'
|
key: 'Gist'
|
||||||
regExp: /^\w+:\/\/gist\.github\.com\/[\w\-]+\/(\w+)/
|
regExp: /^\w+:\/\/gist\.github\.com\/[\w\-]+\/(\w+)/
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user