Move video open and close to separate methods