Allow Streamable embeds to be made fullscreen.
This commit is contained in:
parent
558ff0fcb3
commit
8c4a905ec4
@ -385,8 +385,10 @@ Embedding =
|
|||||||
key: 'Streamable'
|
key: 'Streamable'
|
||||||
regExp: /^\w+:\/\/(?:www\.)?streamable\.com\/([\w\d]+)/
|
regExp: /^\w+:\/\/(?:www\.)?streamable\.com\/([\w\d]+)/
|
||||||
el: (a) ->
|
el: (a) ->
|
||||||
$.el 'iframe',
|
el = $.el 'iframe',
|
||||||
src: "https://streamable.com/o/#{a.dataset.uid}"
|
src: "https://streamable.com/o/#{a.dataset.uid}"
|
||||||
|
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