微信小程序上云开发插入的视频模拟器显示不出来只有真机调试可以怎么解决
Page({ data: { src: 'cloud://tingla-7g83ox7d65f0c8bd.7469-tingla-7g83ox7d65f0c8bd-1325643426/video/光厂_29437706_片头.mp4', // 替换为您的视频源URL danmuList: [], // 弹幕列表,初始为空 inputValue: '', // 输入框的值 }, videoPlay: function() { console.log('视频开始播放'); }, videoPause: function() { console.log('视频暂停播放'); }, videoErrorCallback: function(e) { console.error('视频播放出错', e.detail); }, bindInputBlur: function(e) { this.setData({ inputValue: e.detail.value }); }, bindSendDanmu: function() { if (this.videoContext) { const danmuMsg = { text: this.data.inputValue, color: '#ff0000' }; this.videoContext.sendDanmu(danmuMsg); this.setData({ inputValue: '' }); } else { console.error('视频上下文未找到,无法发送弹幕'); } }, bindPlay: function() { if (this.videoContext) { this.videoContext.play(); } }, bindPause: function() { if (this.videoContext) { this.videoContext.pause(); } }, onLoad: function () { this.videoContext = wx.createVideoContext('myVideo'); }, }); 微信小程序上云开发插入的视频模拟器显示不出来只有真机调试可以怎么解决