Attributes – src (Audio)

Attributes – src (Audio)

Working with Audio

It is also possible to add audio with the src attribute. Due to problems (the color is missing, tested with A-Frame 0.8) within A-Frame, it is better to create a separate entity for the audio and make it invisible:

An alternative is to use the sound attribute instead of src:

It is also possible to use the <a-sound> Tag

 

Example

You can use this example.

 

 


Comments are closed.