You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi,
I'm trying to use the library as a standalone player, without the UI part.
Since it's not documented, all I'm trying to do is:
var player = new Modplayer();
player.load('chiptune.mod');
player.onReady = function () {
player.play();
}
It starts playing but after a short while (a couple of seconds) the song gets stuck in a loop (like repeating the same bar) and in the console I see this error:
Uncaught TypeError: Cannot read property 'player' of undefined
being thrown over and over.
The text was updated successfully, but these errors were encountered:
Hi,
I'm trying to use the library as a standalone player, without the UI part.
Since it's not documented, all I'm trying to do is:
It starts playing but after a short while (a couple of seconds) the song gets stuck in a loop (like repeating the same bar) and in the console I see this error:
Uncaught TypeError: Cannot read property 'player' of undefined
being thrown over and over.
The text was updated successfully, but these errors were encountered: