| | |
| | | weakSelf.img_cusomter.sd_setImage(with: URL(string: m.wxQrCode.jq_urlEncoded())) |
| | | |
| | | if m.detailUrl.jq_isVideo{ |
| | | weakSelf.videoView = VideoView(url: m.detailUrl.jq_urlEncoded(),autoPlay: false,needFirstImage: true, delegate: self!) |
| | | // weakSelf.videoView!.player.play() |
| | | weakSelf.videoView = VideoView(url: m.detailUrl.jq_urlEncoded(),autoPlay: true,needFirstImage: true, delegate: self!) |
| | | weakSelf.view_video.isHidden = false |
| | | weakSelf.view_video.addSubview(weakSelf.videoView!) |
| | | weakSelf.videoView!.snp.makeConstraints { make in |