CyTube/player/ustream.coffee
Calvin Montgomery d706bf63b1 Fix ustream
2018-01-14 15:02:15 -08:00

13 lines
361 B
CoffeeScript

window.UstreamPlayer = class UstreamPlayer extends EmbedPlayer
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}?html5ui"
super(data)