So, I think if I’m understanding right the TADS toolkit should support use of the tag built into html tads.
main(args)
{
while(true)
{
local msg = inputLine;
if(msg.toLower() == 'music')
{
"Music Starting<SOUND SRC='menu19.ogg' BACKGROUND REPEAT=LOOP></SOUND>";
}
if(msg.toLower() == 'quit')
{
break;
}
tadsSay(msg);
}
}
I can’t figure out how to get this to work though, the menu19.ogg is in the root file with the .t3 project. Pretty much nothing I’m doing is getting it to play, is there something crucial I’m just missing or overlooking? When ‘music’ is input the screen flashes for a second implying something is happening, but no actual audio plays.
Would appreciate any help on this. (This mini code file was made specifically to quickly test sound playback and it’s taken an hour off my life)