Support BitChute embedding. #2038
This commit is contained in:
parent
8c4a905ec4
commit
b10699d24a
@ -234,6 +234,14 @@ Embedding =
|
|||||||
else
|
else
|
||||||
el.hidden = false
|
el.hidden = false
|
||||||
el
|
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'
|
key: 'Clyp'
|
||||||
regExp: /^\w+:\/\/(?:www\.)?clyp\.it\/(\w{8})/
|
regExp: /^\w+:\/\/(?:www\.)?clyp\.it\/(\w{8})/
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user