By UsmanKurd
on Mon, 10/22/2012 - 12:43
hi Guys i m using Video Playback SampleĀ and i want to play Randomized videos.
how can i achieve this functioinality .
any help /suggestion/ comment will be most welocmmed
thank you
hi Guys i m using Video Playback SampleĀ and i want to play Randomized videos.
how can i achieve this functioinality .
any help /suggestion/ comment will be most welocmmed
thank you
Randomize the Videos
Hi, can you be more specific ? do you want to play one video randomly each time you detect a Target?
is the video one of a predefined set of videos (e.g. a set of 5 - 10 videos predefined) ?
Randomize the Videos
yes i have a set of Videos of 'n' number wher n can be any integer or let restrict it to 10 videos
when ever i detect the marker a random video should be played
thats what i want to do
Randomize the Videos
I would say check where the mVideoPlayerHelper[i].play() is called in the VideoPlayback sample (see VideoPlayback.java), so that you can use that function
Randomize the Videos
also i want to load multiple videos from sdcard rather then assests folder i tried this thing and it worked for 1 single file loading from sdcard successfully but not the multiple files are loading from sdcard
Randomize the Videos
Hi, do you stop and release the media player of the old video before laoding a new one ?
(see the VideoPlayback sample code mMediaPlayer.stop() and mMediaPlayer.release());