sync/player/ustream.coffee

13 lines
365 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'
2017-03-03 02:47:47 +00:00
src: "/ustream_bypass/embed/#{data.id}?html5ui&autoplay=1"
2015-06-21 14:39:16 +00:00
super(data)