def do_video_event(): url = quorum.get_field("url") pusher = quorum.get_pusher() pusher.trigger("global", "video.open", { "url" : url }) return flask.redirect( flask.url_for("base_events") )
def video(): url = quorum.get_field("url") pusher = quorum.get_pusher() pusher.trigger("global", "video.open", { "url" : url }) return flask.redirect( flask.url_for("index") )