Added calls from JS api to Player