Support BitChute embedding. #2038

This commit is contained in:
ccd0 2019-06-24 02:40:45 -07:00
parent 8c4a905ec4
commit b10699d24a

View File

@ -234,6 +234,14 @@ Embedding =
else
el.hidden = false
el
,
key: 'BitChute'
regExp: /^\w+:\/\/(?:www\.)?bitchute\.com\/video\/([\w\-]+)/
el: (a) ->
el = $.el 'iframe',
src: "https://www.bitchute.com/embed/#{a.dataset.uid}/"
el.setAttribute "allowfullscreen", "true"
el
,
key: 'Clyp'
regExp: /^\w+:\/\/(?:www\.)?clyp\.it\/(\w{8})/