Importing audio using the downloaded editor

YourLocalCherriBerri
08 May 2024, 21:52

I've been recently trying out the image setups and got them to work, however, it seems that it doesn't work the same with audio.

I've tried the following:

<audio src="audio\scream.ogg" type="audio/ogg" controls/>

and

<audio controls>
  <source src="scream.ogg" type="audio/ogg">
  <source src="scream.mp3" type="audio/mpeg">
  Your browser does not support the audio element.
</audio>

Both neither working. I have both the .ogg and .mp3 versions of the audio.

However, this snippet from an older post worked

<audio src="http://media.textadventures.co.uk/games/1RurGHLuLUqrWdMJh53LTQ/bushcave-explicit-r9/sounds/bushcave.ogg" controls/>

It had a place from the web where they hosted the audio, and they didn't expand where they stored it. I even tried getting a YouTube link to play, but that didn't work either.


YourLocalCherriBerri
11 May 2024, 05:48

commenting to make sure this post doesn't close

Still haven't found a way to get it to work


IFforClassroom
12 May 2024, 09:47

A long time ago I made a toy for myself that had sound. Only I didn't comment it and now I can't tell why it works. If you're better at reading JavaScript than I am, here is the story.js and mrangel's handy dandy DeSquiff tool will extract the Squiffy source for you.