Web Audio API no sound playing

前端 未结 1 1583
醉话见心
醉话见心 2021-01-14 05:39

I\'m trying to get into the Web Audio API as I\'m looking to make some visualizations based on the music that\'s playing. However all examples I have found, it\'s like the a

相关标签:
1条回答
  • 2021-01-14 06:16

    It's a cross-origin access issue in createMediaElementSource that landed in Chrome 42. You need to setup the appropriate headers for the ogg files and set the crossOrigin attribute. Otherwise you get no audio output at all.

    0 讨论(0)
提交回复
热议问题