make videos flexible