sync/player/hitbox.coffee

13 lines
348 B
CoffeeScript
Raw Normal View History

2015-06-30 01:32:18 +00:00
window.HitboxPlayer = class HitboxPlayer extends EmbedPlayer
constructor: (data) ->
if not (this instanceof HitboxPlayer)
return new HitboxPlayer(data)
@load(data)
load: (data) ->
data.meta.embed =
2016-09-20 03:45:21 +00:00
src: "https://www.hitbox.tv/embed/#{data.id}"
tag: 'iframe'
super(data)