yes there is nothing wrong with the video path and the video plays
fine.
thanks
On Mar 26, 2:18 pm, Yahel wrote:
> Have you checked that your setVideoPath returns a correct video path ?
>
> Can you see the video when calling the start method ?
>
> Yahel
>
> On Mar 26, 6:46 pm, Abhi wrote:
>
> >
Have you checked that your setVideoPath returns a correct video path ?
Can you see the video when calling the start method ?
Yahel
On Mar 26, 6:46 pm, Abhi wrote:
> Hi,
>
> Could anyone tell me how to use getDuration() method for VideoView? I
> tried using getDuration() much after using setVide
Hi,
Could anyone tell me how to use getDuration() method for VideoView? I
tried using getDuration() much after using setVideoPath() but the
result is always the same -1.
Abhi
On Mar 26, 1:19 pm, Abhi wrote:
> I am using VideoView and I tried using getDuration() this way
>
> * defined VideoView
I am using VideoView and I tried using getDuration() this way
* defined VideoView mVideoView earlier in the code..
mVideoView.setVideoPath(getDataSource(path));
long duration = mVideoView.getDuration();
mVideoView.start();
This returns a -1 when I try reading 'duration'
Abi
On Mar 26, 1:12 pm,
4 matches
Mail list logo