I think we can move all the FF/Rwd newly added functions to separate file as global functions instead of passing video and FF/Rwd buttons.
Because all the functionality are based on dom[] global array.