Store video in flask g object. Replace request form with args