skip to Main Content

How to play video from ipfs url using avplayer in swift – Ios swift

I have an ipfs encrypted video URL. I am not able to play video in avplayer but URL plays well in webview. here is URL: https://ipfs.moralis.io:2053/ipfs/QmUjWnQZVVNmTSVak2QDhTxMkn3dPQozxawa1sm3jE5bLr let currentURL = URL(string: "https://ipfs.moralis.io:2053/ipfs/QmUjWnQZVVNmTSVak2QDhTxMkn3dPQozxawa1sm3jE5bLr")! let playerItem = AVPlayerItem(url: currentURL) playerItem.addObserver(self, forKeyPath: "status", options:…

VIEW QUESTION
Back To Top
Search