杨锴
2024-11-12 4fb1e7db45ddf4dfacd2bfb4dbfe0b9f269bedb7
XQMuse/Root/Other/View/VideoView.swift
@@ -49,13 +49,16 @@
                                    player.url = Url
            if needFirstImage{
                URL.jq_splitVideoFileUrlFps(splitFileUrl: Url, fps: 30) {[weak self] state, images in
                    if let first = images.first{
                        DispatchQueue.main.async {
                            self?.addPlaceHoderView(firstFPSImage: first)
                        }
                    }
                if let imageV = Url.jq_getVideoThumbnail(){
                    self.addPlaceHoderView(firstFPSImage:imageV)
                }
//                URL.jq_splitVideoFileUrlFps(splitFileUrl: Url, fps: 1) {[weak self] state, images in
//                    if let first = images.first{
//                        DispatchQueue.main.async {
//                            self?.addPlaceHoderView(firstFPSImage: first)
//                        }
//                    }
//                }
            }
                                    if autoPlay{