Sample code for working with video on Android