sync/player/ustream.coffee

13 lines
365 B
CoffeeScript
Raw Normal View History

2015-06-29 18:32:18 -07:00
window.UstreamPlayer = class UstreamPlayer extends EmbedPlayer
2015-06-21 10:39:16 -04:00
constructor: (data) ->
if not (this instanceof UstreamPlayer)
return new UstreamPlayer(data)
@load(data)
load: (data) ->
data.meta.embed =
tag: 'iframe'
2017-03-02 18:47:47 -08:00
src: "/ustream_bypass/embed/#{data.id}?html5ui&autoplay=1"
2015-06-21 10:39:16 -04:00
super(data)