From 28f9801ca53875e55434cb1bc69ddbb214e0b759 Mon Sep 17 00:00:00 2001 From: ccd0 Date: Sat, 13 Feb 2016 10:23:32 -0800 Subject: [PATCH] Change default embed size to 640x360. --- 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 bc66209fb..39508601a 100644 --- a/src/Linkification/Embedding.coffee +++ b/src/Linkification/Embedding.coffee @@ -136,7 +136,7 @@ Embedding = el.style.cssText = if type.style? type.style else - "border:0;width:640px;height:390px" + 'border: none; width: 640px; height: 360px;' return container @@ -176,7 +176,6 @@ Embedding = , key: 'Dailymotion' regExp: /^\w+:\/\/(?:(?:www\.)?dailymotion\.com\/(?:embed\/)?video|dai\.ly)\/([A-Za-z0-9]+).*((?:\?.*)?)/ - style: 'border: none; width: 640px; height: 360px;' el: (a) -> options = if (start = a.dataset.options.match /[?&](start=\d+)/) then "?#{start[1]}" else '' $.el 'iframe', @@ -219,7 +218,6 @@ Embedding = key: 'LiveLeak' regExp: /^\w+:\/\/(?:\w+\.)?liveleak\.com\/.*\?.*i=(\w+)/ httpOnly: true - style: 'border: none; width: 640px; height: 360px;' el: (a) -> el = $.el 'iframe', src: "http://www.liveleak.com/ll_embed?i=#{a.dataset.uid}",