Changing video quality based on device using MPMoviePlayer

142 Views Asked by At

I used an MPMoviePlayer to play an .mp4 video within my app, which works fine. I tried my app on an Android device using Apportable but the video wasn't playing till I later realized that it was because the video quality was too high for the device. Is it possible to change the video quality (of an .mp4) based on the device running the app using MPMoviePlayer? If yes, how can this be done?

1

There are 1 best solutions below

0
Allen S On

If you simply have one video that plays on iOS and one that plays on Android via Apportable, you could opt to simply have two files of the same name where one file is added to the project and attached to the iOS build target and the other is attached to the Apportable build target.