android - MediaPlayer Error (1,-2147483648) and VideoView Error 1,-2147483648 -


ı trying play video on emulator. uploaded multiple videos. 1 of them playing , others not. ın fact, way ı uploaded same. getting error "can't play video". how can ı fix this?

        uri video1 = uri.parse("android.resource://" + "com.jsupport.listviewimages" +       "/"+ r.raw.den);         uri video2 = uri.parse("android.resource://" + "com.jsupport.listviewimages" + "/"+ r.raw.de1);         uri video3 = uri.parse("android.resource://" + "com.jsupport.listviewimages" + "/"+ r.raw.de2);        uri video4 = uri.parse("android.resource://" + "com.jsupport.listviewimages" + "/"+ r.raw.de3); 

video list

            private uri[] viduri = {         video1,         video2,         video3,         video4,         }; 

where ı create videoview

            exercisevideo = (videoview) findviewbyid(r.id.video);     exercisevideo.setvideouri(viduri[imagenum-1]); 


Comments

Popular posts from this blog

monitor web browser programmatically in Android? -

Shrink a YouTube video to responsive width -

wpf - PdfWriter.GetInstance throws System.NullReferenceException -