flexible video class change