![](https://secure.gravatar.com/avatar/2d50f43cdaa7268303da9f33b424fc9d?rating=PG&size=50&default=https%3A%2F%2Fcdn.desk.com%2Fassets%2Funknown_user_50-8ad5644bbe6b1bd7454f2ea465f782bd.png)
iOS SDk : Download Video and play it on device using only app
Hello, we have a JWPlayer enterprise account and we are building an app that plays encrypted movies (using apple FairPlay Streaming). We want to add the option to download a movie on device (the extension is m3u8), and play it using the app. I would appreciate if somebody could refer me some iOS demo or or give some general guidance post some code preferably in swift
Specifically I have 2 questions about the process:
1 . The file extensions are m3u8 so when I download an m3u8 file all I get is a text file. How do I get the actual video link to download it using the m3u8 file?
2. For encrypted movies, how to play them offline on the device in app player only?
Best Regards!