I want a video play from 20 second to 30 second position and loop in it.
after mediaplayer->play() I call mediaplayer->setPosition(20*1000), but player still play from 0.
When I can call setPosition?
I want a video play from 20 second to 30 second position and loop in it.
after mediaplayer->play() I call mediaplayer->setPosition(20*1000), but player still play from 0.
When I can call setPosition?
You can only change the position after the video has started playing. Calling play() does not actually start it play but only schedules a play.
Bookmarks