Quantcast
Channel: Cocos中文社区 - 最新主题
Viewing all articles
Browse latest Browse all 88774

求助:微信小游戏中AudioContext貌似无效?

$
0
0

@wzjiji 写道:

window.AudioContext = window.AudioContext || window.webkitAudioContext || window.mozAudioContext || window.msAudioContext;
this.audioContext = new AudioContext();

浏览器没啥问题,但是微信开发者工具测试时会报错:
TypeError: AudioContext is not a constructor

求教大神怎么破。。。

帖子: 1

参与者: 1

阅读整个主题


Viewing all articles
Browse latest Browse all 88774

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>