I think you have problems with your path.
let fileURL = NSURL.init(fileURLWithPath: "/Users/macmini/Downloads/QRCodeReader-master 3/QRCodeReader/small.mp4")
just add small.mp4 to your package of your application project
and use this
let urlpath = Bundle.main.path(forResource: "small", ofType: "mp4") let fileURL = NSURL.fileURL(withPath: urlpath!)
source share