this.video_.setAttribute('webkit-playsinline', "true") this.video_.setAttribute('playsinline', "true") this.video_.setAttribute('x-webkit-airplay', "true") this.video_.setAttribute('x5-video-player-type', "h5") this.video_.setAttribute('x5-video-orientation', "portraint")
把这段代码加到插件源码的
this.video_ = document.createElement('video')
这段代码下边就能兼容苹果手机了
这是源码仓库地址:现在连不上gitee,晚点发出来