added max video seconds and quality