In one screen I have a looping background video (upon which normal UI elements are shown), implemented with VideoView like this:
String resPath = \"android.
Copy paste VideoView from Android sources and comment out these lines:
AudioManager am = (AudioManager) getContext().getSystemService(Context.AUDIO_SERVICE);
am.requestAudioFocus(null, AudioManager.STREAM_MUSIC, AudioManager.AUDIOFOCUS_GAIN);
You could name the new class MutedVideoView, for example.
gist here: https://gist.github.com/vishna/7e9d3466bced8502fcdd