From 5070f2c6138749ae70e93e43b38392810d9128ad Mon Sep 17 00:00:00 2001 From: ccd0 Date: Sat, 28 Mar 2020 23:42:40 -0700 Subject: [PATCH] Update Gfycat embedding. --- src/Linkification/Embedding.coffee | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/src/Linkification/Embedding.coffee b/src/Linkification/Embedding.coffee index bb62ee861..ce7c6caa4 100644 --- a/src/Linkification/Embedding.coffee +++ b/src/Linkification/Embedding.coffee @@ -320,8 +320,10 @@ Embedding = key: 'Gfycat' regExp: /^\w+:\/\/(?:www\.)?gfycat\.com\/(?:iframe\/)?(\w+)/ el: (a) -> - div = $.el 'iframe', - src: "//gfycat.com/iframe/#{a.dataset.uid}" + el = $.el 'iframe', + src: "//gfycat.com/ifr/#{a.dataset.uid}" + el.setAttribute "allowfullscreen", "true" + el , key: 'Gist' regExp: /^\w+:\/\/gist\.github\.com\/[\w\-]+\/(\w+)/