Remove misguided code
This commit is contained in:
parent
19a0893da2
commit
87b7734d81
@ -384,14 +384,9 @@ Embedding =
|
|||||||
,
|
,
|
||||||
key: 'Streamable'
|
key: 'Streamable'
|
||||||
regExp: /^\w+:\/\/(?:www\.)?streamable\.com\/([\w\d]+)/
|
regExp: /^\w+:\/\/(?:www\.)?streamable\.com\/([\w\d]+)/
|
||||||
el: (a) ->
|
el: (a) ->
|
||||||
api = "https://api.streamable.com/oembed?url=https://streamable.com/#{a.dataset.uid}"
|
$.el 'iframe',
|
||||||
el = $.el 'iframe',
|
|
||||||
src: "https://streamable.com/o/#{a.dataset.uid}"
|
src: "https://streamable.com/o/#{a.dataset.uid}"
|
||||||
width: api.width
|
|
||||||
height: api.height
|
|
||||||
el.setAttribute "allowfullscreen", "true"
|
|
||||||
el
|
|
||||||
title:
|
title:
|
||||||
api: (uid) -> "https://api.streamable.com/oembed?url=https://streamable.com/#{uid}"
|
api: (uid) -> "https://api.streamable.com/oembed?url=https://streamable.com/#{uid}"
|
||||||
text: (_) -> _.title
|
text: (_) -> _.title
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user