I have try several difference encode and size of the video from avi to difference format of MP4, using the codes below to play the video.
Always get message "Cannot play video Sorry, this video cannot be played"
I have also tried mp4 file taken from camera and still said that the video cannot be played.
Note: the video play file in the camera.
Any body has a working codes that can play mp4 file and would like to share would be very much appreciated.
Sorry, can't do stackoverflow yet, will take a look later
Sub Globals
Dim vv As VideoView
End Sub
Sub Activity_Create(FirstTime As Boolean)
vv.Initialize("vv")
Activity.AddView(vv, 10dip, 10dip, 250dip, 250dip)
vv.LoadVideo(File.DirInternal, "MyFile.mp4")
vv.Play
End Sub
Sub vv_Complete
Log("Playing completed")
End Sub
Always get message "Cannot play video Sorry, this video cannot be played"
I have also tried mp4 file taken from camera and still said that the video cannot be played.
Note: the video play file in the camera.
Any body has a working codes that can play mp4 file and would like to share would be very much appreciated.
Sorry, can't do stackoverflow yet, will take a look later
Sub Globals
Dim vv As VideoView
End Sub
Sub Activity_Create(FirstTime As Boolean)
vv.Initialize("vv")
Activity.AddView(vv, 10dip, 10dip, 250dip, 250dip)
vv.LoadVideo(File.DirInternal, "MyFile.mp4")
vv.Play
End Sub
Sub vv_Complete
Log("Playing completed")
End Sub