Harishkumar V wrote:
> Hi,
> 
> I am trying to  play mp4 video file from mediaplayer demo given in the
> api demos along with android sdk.
> 
> I changed the path to /sdcard/video.mp4..
> 
> If i run mediaplayer_video demo, the audio output is coming, but no
> video is being displayed, the screen is black.
> 
> when i seen the logcat,
> 
> it reports, surfaceCreated called and surfaceChanged called.
> 
> how to fix this...
> 
> meanwhile, any videoplayer is available for android.

Try VideoView.

-- 
Mark Murphy (a Commons Guy)
http://commonsware.com | http://twitter.com/commonsguy

_The Busy Coder's Guide to Android Development_ Version 2.0 Available!

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to