mirror of https://github.com/calzoneman/sync.git
13 lines
363 B
CoffeeScript
13 lines
363 B
CoffeeScript
window.SmashcastPlayer = class SmashcastPlayer extends EmbedPlayer
|
|
constructor: (data) ->
|
|
if not (this instanceof SmashcastPlayer)
|
|
return new SmashcastPlayer(data)
|
|
|
|
@load(data)
|
|
|
|
load: (data) ->
|
|
data.meta.embed =
|
|
src: "https://www.smashcast.tv/embed/#{data.id}"
|
|
tag: 'iframe'
|
|
super(data)
|