So I have tried 2 things: 1. inserted a MediaPlayer and 2. Inserted a VideoView in my layout, and tried setting the Url of the video.
None have worked, both with an MP4 and FLV file. From what I've read on SO, the videos probably have unsupported encoding or such, and my guess is that I need codecs for them to play.
So naturally, I have these questions:
- If I have the MP4 or FLV files, can I check which codecs I need?
- Once I know which codecs I need, how would I go about adding them in my app? Are there any open source ones, or do I need to write my own?
Note: Chrome on a PC can run these videos just fine.