hyperoslo / hyperoslo/Lightbox
Playing local videos not working.
- Dominant language
- Swift
- Stars
- 1.7k
- Forks
- 332
- PR merge metrics
- No merged PRs in 30d
Description
Hi, I want to play local videos which fetched from assets. Here is my code :
manager.requestAVAsset(forVideo: media, options: videoOption, resultHandler: { (asset, audioMix, info) in
if let urlAsset = asset as? AVURLAsset {
let localVideoUrl = urlAsset.url
images.append(LightboxImage(image: UIImage(named: "play2")!, text: "", videoURL: localVideoUrl))
}
})
But screen is empty. Anyone can help me, please?

Contributor guide
Assessment
This issue has not been assessed yet.