sync/player/ustream.coffee

13 lines
381 B
CoffeeScript
Raw Normal View History

2015-06-30 01:32:18 +00:00
window.UstreamPlayer = class UstreamPlayer extends EmbedPlayer
2015-06-21 14:39:16 +00:00
constructor: (data) ->
if not (this instanceof UstreamPlayer)
return new UstreamPlayer(data)
@load(data)
load: (data) ->
data.meta.embed =
tag: 'iframe'
src: "https://www.ustream.tv/embed/#{data.id}?v=3&wmode=direct&autoplay=1"
super(data)