Project

General

Profile

Bug #304

Track Play doesnt work in Crome on page load without focus

Added by Truls Osmundsen about 4 years ago. Updated about 4 years ago.

Status:
Rejected
Priority:
Normal
Target version:
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

Also available in: Atom PDF