sync/player/ustream.coffee

13 lines
361 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'
2018-01-14 23:02:15 +00:00
src: "https://www.ustream.tv/embed/#{data.id}?html5ui"
2015-06-21 14:39:16 +00:00
super(data)