typo correction
[KisSync.git] / player / smashcast.coffee
blobf73455266a379297170f050010f279289b39a0ba
1 window.SmashcastPlayer = class SmashcastPlayer extends EmbedPlayer
2     constructor: (data) ->
3         if not (this instanceof SmashcastPlayer)
4             return new SmashcastPlayer(data)
6         @load(data)
8     load: (data) ->
9         data.meta.embed =
10             src: "https://www.smashcast.tv/embed/#{data.id}"
11             tag: 'iframe'
12         super(data)