[api] support autoplay param as html generator prioritization