set video mode via params