From 7d0bc851530aa7d9c18e6575dfd87765e756168f Mon Sep 17 00:00:00 2001 From: ccd0 Date: Sat, 3 Oct 2015 19:44:10 -0700 Subject: [PATCH] Clean up LiveLeak embed code, fix iframe size. --- src/Linkification/Embedding.coffee | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/Linkification/Embedding.coffee b/src/Linkification/Embedding.coffee index b4de965c5..747d701f2 100644 --- a/src/Linkification/Embedding.coffee +++ b/src/Linkification/Embedding.coffee @@ -208,12 +208,10 @@ Embedding = key: 'LiveLeak' regExp: /^\w+:\/\/(?:\w+\.)?liveleak\.com\/.*\?.*i=(\w+)/ httpOnly: true + style: 'border: none; width: 640px; height: 360px;' el: (a) -> el = $.el 'iframe', - width: "640", - height: "360", src: "http://www.liveleak.com/ll_embed?i=#{a.dataset.uid}", - frameborder: "0" el.setAttribute "allowfullscreen", "true" el ,