From 3b3ec60dbe654d6f132db795026bbeda434b1777 Mon Sep 17 00:00:00 2001 From: ccd0 Date: Sun, 13 Apr 2014 00:39:34 -0700 Subject: [PATCH] get rid of unwanted style on embeds --- src/Linkification/Linkify.coffee | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/Linkification/Linkify.coffee b/src/Linkification/Linkify.coffee index b01696321..4579aa856 100755 --- a/src/Linkification/Linkify.coffee +++ b/src/Linkification/Linkify.coffee @@ -261,6 +261,7 @@ Linkify = ordered_types: [ key: 'audio' regExp: /(.*\.(mp3|ogg|wav))$/ + style: '' el: (a) -> $.el 'audio', controls: true @@ -448,6 +449,7 @@ Linkify = , key: 'video' regExp: /(.*\.(ogv|webm|mp4))$/ + style: 'border: 0; width: auto; height: auto;' el: (a) -> $.el 'video', controls: 'controls'