Refactoring video panels.