Clean up LiveLeak embed code, fix iframe size.
This commit is contained in:
parent
f8961720e0
commit
7d0bc85153
@ -208,12 +208,10 @@ Embedding =
|
|||||||
key: 'LiveLeak'
|
key: 'LiveLeak'
|
||||||
regExp: /^\w+:\/\/(?:\w+\.)?liveleak\.com\/.*\?.*i=(\w+)/
|
regExp: /^\w+:\/\/(?:\w+\.)?liveleak\.com\/.*\?.*i=(\w+)/
|
||||||
httpOnly: true
|
httpOnly: true
|
||||||
|
style: 'border: none; width: 640px; height: 360px;'
|
||||||
el: (a) ->
|
el: (a) ->
|
||||||
el = $.el 'iframe',
|
el = $.el 'iframe',
|
||||||
width: "640",
|
|
||||||
height: "360",
|
|
||||||
src: "http://www.liveleak.com/ll_embed?i=#{a.dataset.uid}",
|
src: "http://www.liveleak.com/ll_embed?i=#{a.dataset.uid}",
|
||||||
frameborder: "0"
|
|
||||||
el.setAttribute "allowfullscreen", "true"
|
el.setAttribute "allowfullscreen", "true"
|
||||||
el
|
el
|
||||||
,
|
,
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user