Allow Streamable embeds to be made fullscreen.
This commit is contained in:
parent
558ff0fcb3
commit
8c4a905ec4
@ -385,8 +385,10 @@ Embedding =
|
||||
key: 'Streamable'
|
||||
regExp: /^\w+:\/\/(?:www\.)?streamable\.com\/([\w\d]+)/
|
||||
el: (a) ->
|
||||
$.el 'iframe',
|
||||
el = $.el 'iframe',
|
||||
src: "https://streamable.com/o/#{a.dataset.uid}"
|
||||
el.setAttribute "allowfullscreen", "true"
|
||||
el
|
||||
title:
|
||||
api: (uid) -> "https://api.streamable.com/oembed?url=https://streamable.com/#{uid}"
|
||||
text: (_) -> _.title
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user