Importing audio using the downloaded editor

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.


commenting to make sure this post doesn't close

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


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.


This topic is now closed. Topics are closed after 180 days of inactivity.

Support

Forums