Twine Version: Harlowe 3.2.3
The passage code that should make a sound is like this:
{<audio id="doorOpen" src="https://example1.mp3"></audio>
<br>
<br>
(link: "1")[
(track: 'doorOpen', 'play')
(goto: "1")
]
<br>
(link: "2")[
(track: 'doorOpen', 'play')
(goto: "2")
]
<br>
(link: "3")[
(track: 'doorOpen', 'play')
(goto: "3")
]
}
This is the code for hal.tracksd and of course, when testing it, I use a real mp3 link.
doorOpen: https://example1.mp3
drawerOpen: https://example2.mp3
OUTdoorOpen: https://example3.mp3
The problems I’m having are:
1. When going from a higher level to a lower level, only one of the three sounds plays.
2. When I click on a link I’ve already clicked, the sound doesn’t play.
3. When I go to a lower level and then return to the higher level, the sound doesn’t play.
Strangely, if I start playing from the level where the sound should play, it works fine. Otherwise, either no sound at all or only one of the three identical sounds plays. How can I fix this?