Currently filter options will naturally reduce the number of videos that are generated, which in turn will affect the page count. However the pagination UI as currently implemented does not measure that, so we will need to move all the logic that generates the page numbers into state so it will update appropriately.
One thing to keep an eye out for is what happens to the users current URL location. I'm not sure what the exact behavior will happen when the state changes, but from a UX point of view what we will want to have happen is the user returns to page 1.