Created a media player class instead of doing it in the ViewController. Now checks to make sure the file is a supported video format before trying to play it as such.