play
Description​
Starts the playback of the current song if possible.Reasons for not starting can be that the player is not ready yet or it is already playing.
Signatures​
function play()JavaScript |
alphaTab('play')jQuery |
void Play().net |
Parameters​
None
Returns​
true if the playback was started, otherwise false. Reasons for not starting can be that the player is not ready or already playing.
Examples​
var api = new alphaTab.AlphaTabApi(document.querySelector('#alphaTab'));
api.play();
$('#alphaTab').alphaTab('play');
var api = new AlphaTabApi<MyControl>(...);
api.Play();