use toma.hk api to generate the player so that we have can control it via js