MediaController inside VideoView

All your problems with Audio, Video and Images.

MediaController inside VideoView

Postby m1shk4 » Mon Jun 13, 2011 9:51 am

Is there any way to display MediaController inside the linked VideoView?
After the code:
Syntax: [ Download ] [ Hide ]
Using java Syntax Highlighting
  1. VideoView videoView = findViewById(;
  2. MediaController mediaController = new MediaController(this);
  3. mediaController.setMediaPlayer(videoView);
  4. videoView.setMediaController(mediaController);
Parsed in 0.013 seconds, using GeSHi

MediaController width is equal to the VideoView's, but the controller is located at the bottom of the screen, not the bottom of the VideoView.
P.S. Sorry for a bit confusing message, english is not my native language :)
Posts: 38
Joined: Wed Jan 12, 2011 4:26 pm
Location: UA


Return to Multimedia Problems

Who is online

Users browsing this forum: No registered users and 5 guests