[Solved] I have an error with audiotracks on javascript, an error with “lenght”


Seeing as the comment is being ignored

According to documentation

HTMLMEdiaElement.audioTracks is only available in

  • Edge
  • Safari
  • Opera
  • Firefox (if specifically enabled)

It’s not at all available in Chrome and most likely not in Internet Exploder

At a guess, you are using one of the 3 browsers this property is NOT available in

Which is why it is undefined

2

solved I have an error with audiotracks on javascript, an error with “lenght”