Toggles between play/pause depending on the current player state. if the player was playing, it will pause. If it is paused, it will initiate a play.
true if the playback was started, otherwise
false. Reasons for not starting can be that the player is not ready or already playing.
var api = new alphaTab.AlphaTabApi(document.querySelector('#alphaTab'));
var api = new AlphaTabApi<MyControl>(...);