Create a single screen app which will download multiple videos simultaneously and store the video file in local directory to be accessed during offline
- Using Table view List all the videos according to the attached design.
- You can wite your custom title like Title 1, Title 2 etc..
- For each cell when video is not downloaded show download button
- Generate thumbnails from video url to display for each cell as per design.
- When user clicked on download button, start downloading the video and show the download progress as per the UI design
- User can delete the downloaded video so when video successfully downloaded, show delete button to delete video from documents directory
- Show retry button when video failed to download and show the alert for reason for failure
- On tap cell, play the video using system player once the video is downloaded.
- Since these are large video file sizes, it might take time to download all video simultaneously, so the user might switch to a different app or lock the phone. So if you manage to continue video download even in the background (suspended state) is highly appreciated.
Video URL
use below direct urls to download the videos
- https://player.vimeo.com/external/451569305.m3u8?s=c7da8176e60471cc9c51156ae3f35fc2c62ce72f
- https://player.vimeo.com/external/433925279.m3u8?s=8930e1062fd90896c870a234a018a66ef544e74d
- https://player.vimeo.com/external/432904528.m3u8?s=2eea9d6430a2ee2c760701e34178352b693b3f1b
- https://player.vimeo.com/external/432902374.m3u8?s=ca1aabae12ccb24bfb83def94fa3ee6e38d939ae
- https://player.vimeo.com/external/433664412.m3u8?s=a511c3907db8d1832de247987b28ce1ac788763b