I need to play videos from several video sources (Facebook & Instagram) for my iOS app.
I create an AVPlayerItem with the video URL and it's work for Instagram but not for facebook.
URLs layout are as following :
The problem was the way how I recovered the video.
The following URL allow recovering an iFrame, not a playable file
According to Facebook Video API, you can get "A URL to the raw, playable video file" with "source" field.