add video api & handle src status in play page