Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

I can't get music to play in Twine 2 [Harlowe]

Hi, so I've been trying to get music to play in the background of my new project on Twine 2. I'm using Harlowe.

I went into the "Edit story Javascript" and put in this code:
<li><audio controls style="width:130px;height:60px;">
  <source src="My Mp3 file" type="audio/mpeg">
</audio></li>

When I tried to upload the program it was in as a test, I received the error message

" There is a problem with this story's script (#1):

expected expression, got '<': "

I then checked to see if maybe I should put it into the "stylesheet" but that didn't work either, though I got no error message. What am I doing wrong?

Comments

Sign In or Register to comment.