You don't need the controls, just use this:

myVideoView = (VideoView) findViewById(R.id.videoView); myVideoView.setVideoURI(Uri.parse("android.resource://" + getPackageName() + "/" + R.raw.bee2)); myVideoView.setOnPreparedListener(new MediaPlayer.OnPreparedListener() { @Override public void onPrepared(MediaPlayer mediaPlayer) { mediaPlayer.setLooping(true); mediaPlayer.setVolume(0,0); } }); myVideoView.start();

  • @becker

Comments and Reviews

This web page has not been reviewed yet.

rating distribution
average user rating0.0 out of 5.0 based on 0 reviews
    Please log in to take part in the discussion (add own reviews or comments).