'Audio works in Spark-ar but not in Instagram
I've designed a filter which displays some images and plays some audio.
It works well in spark-ar studio, but once exported to Instagram (either directly or through a test link) the images appear, but the sounds don't!
The sound files are .m4a mono channel. Spark-ar studio tells me everything is correct.
Any idea?
Solution 1:[1]
Make sure the audio is sampled at 44.1kHz. Convert it in itunes if you can
Solution 2:[2]
Try to change to codec from alac (default of m4a) to aac.
Solution 3:[3]
I was having the same problem. Make sure your settings are:
.m4a mono channel at 44.1kHz, acc
Re-export your file and upload to Spark AR Hub.
You can then test your file using Capture Video under the Demo Video section.
Good luck!
Solution 4:[4]
to enable sound, play when you are recording you have to Go to your scene and find Microphone. Then, check to disable it. It should work.
Solution 5:[5]
i had same problem,i just change the audio file and now problem solved!
Solution 6:[6]
In case you still haven't found an answer, here's what you need to do:
In the dropdown parent anchor element, change data-bs-toggle="dropdown" to data-bs-hover="dropdown". That's it. Now your parent link will work, too.
However, the data-bs-toggle attribute is needed for the dropdown to work on mobile devices (small resolution screens), so I my solution is to use jQuery to restore it on smaller screens like this:
$(document).ready(function() {
if($(window).width() <= 831) {
$(".nav-link.dropdown-toggle").removeAttr("data-bs-hover");
$(".nav-link.dropdown-toggle").attr("data-bs-toggle", "dropdown");
}
});
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|---|
| Solution 1 | Lena |
| Solution 2 | Daniele Caruso |
| Solution 3 | WhooNo |
| Solution 4 | CODEX |
| Solution 5 | Ali Dehghani |
| Solution 6 |

