Add forgotten file

This commit is contained in:
Calvin Montgomery 2018-08-26 22:08:59 -07:00
parent db48104b80
commit 0bd11c3bba

12
player/mixer.coffee Normal file
View 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)