Refactored video resource backend code and updated video zoom logic