Add forgotten file
This commit is contained in:
parent
db48104b80
commit
0bd11c3bba
12
player/mixer.coffee
Normal file
12
player/mixer.coffee
Normal file
|
@ -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 a new issue