mirror of https://github.com/calzoneman/sync.git
Add forgotten file
This commit is contained in:
parent
db48104b80
commit
0bd11c3bba
|
@ -0,0 +1,12 @@
|
||||||
|
window.MixerPlayer = class MixerPlayer extends EmbedPlayer
|
||||||
|
constructor: (data) ->
|
||||||
|
if not (this instanceof MixerPlayer)
|
||||||
|
return new MixerPlayer(data)
|
||||||
|
|
||||||
|
@load(data)
|
||||||
|
|
||||||
|
load: (data) ->
|
||||||
|
data.meta.embed =
|
||||||
|
src: "https://mixer.com/embed/player/#{data.meta.mixer.channelToken}"
|
||||||
|
tag: 'iframe'
|
||||||
|
super(data)
|
Loading…
Reference in New Issue