Actions
Bug #304
closedTrack Play doesnt work in Crome on page load without focus
Start date:
03/14/2020
Due date:
% Done:
0%
Estimated time:
Affected version:
Description
Track Play doesnt work (in CROME) if its the first thing that happens and the canvas doesnt have focus yet. I have to make the user press on the canvas to get focus BEFORE I start playing to hear anything.
It will work in Firefox though...
Here is an example, put this in the "Sound Track"-example and DONT press anything in the browser with your mouse. The program will start, but no sound...
#manifest:"pc"
#fullScreen:true
Track Load "mods/modtuto.mod", 10
Track Play 10,0: Track Volume 16
do
wait vlb
Loop
Actions