Answer the question
In order to leave comments, you need to log in
Why doesn't audio play when clicked?
The mechanism of work is as follows: each pressed button has a data-tile attribute. For example, let's take data-tile = 3. When the button is clicked, sound src="3.mp3" is inserted into the html and the sound should play. But it does not play, although the file, in my opinion, is connected correctly. Example https://codesandbox.io/s/billowing-lake-3gcen?file...
Main app.vue file
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question