mirror of https://github.com/calzoneman/sync.git
Add missed file
This commit is contained in:
parent
58e4e09840
commit
46311bd661
|
@ -0,0 +1,12 @@
|
||||||
|
window.TwitchClipPlayer = class TwitchClipPlayer extends EmbedPlayer
|
||||||
|
constructor: (data) ->
|
||||||
|
if not (this instanceof TwitchClipPlayer)
|
||||||
|
return new TwitchClipPlayer(data)
|
||||||
|
|
||||||
|
@load(data)
|
||||||
|
|
||||||
|
load: (data) ->
|
||||||
|
data.meta.embed =
|
||||||
|
tag: 'iframe'
|
||||||
|
src: "https://clips.twitch.tv/embed?clip=#{data.id}"
|
||||||
|
super(data)
|
Loading…
Reference in New Issue