Clean up LiveLeak embed code, fix iframe size.

This commit is contained in:
ccd0 2015-10-03 19:44:10 -07:00
parent f8961720e0
commit 7d0bc85153

View File

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