Friday, February 2, 2024
HomeiOS Developmentios - Downloaded video can't be performed after a while

ios – Downloaded video can’t be performed after a while


I’ve an app with movies to play. I need to add a characteristic to obtain a file.
I obtain a mp4 file into the information folder. I’m able to run an AVPlayer and think about the video within the app. After a while video will not play. If I allow UIFileSharingEnabled and verify if file exists, I can see it is there however then it will not play even from accessing it by means of Information. If I copy the file from iOS to Mac then I can play the video on Mac, however not anymore on iOS.
If I delete the app, set up once more and obtain the video whereas UIFileSharingEnabled and if it is performed within the app it may be performed within the Information app, however once more after a while it is not playable once more… I can see solely first body. I may even see the size of video. It occurs to a number of movies.
Any clues?

downloading app, copying it, copying different recordsdata to information folder and attempting to play it
play utilizing webkit, play utilizing avkit. film file is okay however not playable



Supply hyperlink

RELATED ARTICLES

LEAVE A REPLY

Please enter your comment!
Please enter your name here

- Advertisment -
Google search engine

Most Popular

Recent Comments