Add forgotten file

This commit is contained in:
Calvin Montgomery 2018-08-26 22:08:59 -07:00
parent db48104b80
commit 0bd11c3bba
1 changed files with 12 additions and 0 deletions

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)