The video template is a complicated mechanism for generating multiple video pages. There are a lot of variables, UI components, and moving pieces. It is currently a bit difficult to make changes because it can be difficult to keep everything in your head. So this calls out for some refactoring work.
Solution: