Clean up LiveLeak embed code, fix iframe size.
This commit is contained in:
parent
f8961720e0
commit
7d0bc85153
@ -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
|
||||
,
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user