refator video view and media controller