1、苹果机下underline出现双横线,本地服务器的图片显示##微信小程序开发。安卓机是好的,如图:
2、多个video的唯一播放,已经用代码做了限制,在开发者工具操作正常,但是在真机上不能使用,点击以后,每个视频都会放,不会暂停原来的视频
playVideo: function (e){
var that = this;
var VideoID = e.target.dataset.id
var videoContextOld
var videoContextNew
if (that.data.oldVideoID == ''){
that.setData({
oldVideoID: e.target.dataset.id
})
}
if (VideoID != that.data.oldVideoID && that.data.oldVideoID!='') {
videoContextOld = wx.createVideoContext(that.data.oldVideoID)
videoContextOld.pause()
console.log('videoContextOld', videoContextOld)
videoContextNew = wx.createVideoContext(VideoID)
videoContextNew.play()
videoContextNew.requestFullScreen
console.log('videoContextNew', videoContextNew)
that.setData({
oldVideoID: VideoID
})
}else{
videoContextNew = wx.createVideoContext(that.data.oldVideoID)
videoContextNew.play()
videoContextNew.requestFullScreen
}
},
3、video不能支持滑动,该问题官方已回复是已知问题
本文来自微信小程序开发者论坛 微信小程序工厂 http://www.xcxgc.com 转载请保留。
微信小程序开发者回答:
A***:
有官方的朋友解答一下吗,谢谢!!
本文网址:http://www.91bianli.com/weixinxiaochengxu/53164.html