Strict Standards: Non-static method utf_normalizer::nfc() should not be called statically in /www/htdocs/w006661d/anddev/includes/utf/utf_tools.php on line 1781
[phpBB Debug] PHP Notice: in file /includes/session.php on line 1007: Cannot modify header information - headers already sent by (output started at /includes/utf/utf_tools.php:1781)
[phpBB Debug] PHP Notice: in file /includes/session.php on line 1007: Cannot modify header information - headers already sent by (output started at /includes/utf/utf_tools.php:1781)
[phpBB Debug] PHP Notice: in file /includes/session.php on line 1007: Cannot modify header information - headers already sent by (output started at /includes/utf/utf_tools.php:1781)

Strict Standards: Non-static method utf_normalizer::nfc() should not be called statically in /www/htdocs/w006661d/anddev/includes/utf/utf_tools.php on line 1781
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 4362: Cannot modify header information - headers already sent by (output started at /includes/utf/utf_tools.php:1781)
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 4364: Cannot modify header information - headers already sent by (output started at /includes/utf/utf_tools.php:1781)
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 4365: Cannot modify header information - headers already sent by (output started at /includes/utf/utf_tools.php:1781)
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 4366: Cannot modify header information - headers already sent by (output started at /includes/utf/utf_tools.php:1781)
anddev.org • View topic - MediaController inside VideoView

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(R.id.VideoView);
  2. MediaController mediaController = new MediaController(this);
  3. mediaController.setMediaPlayer(videoView);
  4. videoView.setMediaController(mediaController);
Parsed in 0.014 seconds, using GeSHi 1.0.8.4

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 :)
m1shk4
Developer
Developer
 
Posts: 38
Joined: Wed Jan 12, 2011 4:26 pm
Location: UA

Top

Return to Multimedia Problems

Who is online

Users browsing this forum: No registered users and 7 guests