Binary Mosaic is Gavin Conway
iOS Developer

A Custom Video Player for iOS with AVFoundation

08.16.15 Posted in Uncategorized by

For video streaming on iOS, Apple’s Media Player framework provides a handy works-out-of-the-box view controller called MPMoviePlayerController complete with playback controls. It only takes a few lines of code to build a working implementation. However, it won’t be long before a savvy user (or client or UX designer) requests you to remove a button or perhaps modify the video player UI so that the look and feel matches the rest of the app. In fact, there is a good chance you are reading this now because you might already know that it isn’t possible to alter the Media Player’s UI (without some evil hack). You can, however, create your own customised video player UI with Apple’s AVFoundation framework. Here’s how.

Read More…