get rid of unwanted style on embeds

This commit is contained in:
ccd0 2014-04-13 00:39:34 -07:00
parent c5733e47bc
commit 3b3ec60dbe

View File

@ -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'