Merge remote-tracking branch 'wlerin/streamable'

This commit is contained in:
ccd0 2019-06-24 00:45:47 -07:00
commit 558ff0fcb3

View File

@ -381,6 +381,15 @@ Embedding =
el: (a) ->
$.el 'iframe',
src: "https://www.strawpoll.me/embed_1/#{a.dataset.uid}"
,
key: 'Streamable'
regExp: /^\w+:\/\/(?:www\.)?streamable\.com\/([\w\d]+)/
el: (a) ->
$.el 'iframe',
src: "https://streamable.com/o/#{a.dataset.uid}"
title:
api: (uid) -> "https://api.streamable.com/oembed?url=https://streamable.com/#{uid}"
text: (_) -> _.title
,
key: 'TwitchTV'
regExp: /^\w+:\/\/(?:www\.|secure\.)?twitch\.tv\/(\w[^#\&\?]*)/