Home > Mobile >  VLC how to set up a video loop
VLC how to set up a video loop

Time:09-25

Beg god taught vlcMediaplay no setloop method

CodePudding user response:

That there should be a play to complete monitoring method, broadcast on listening to complete the reset position

CodePudding user response:

reference 1st floor qq_37077845 response:
that there should be a play to complete monitoring method, in listening to broadcast reset the playback position can be completed

And no this really a face of meng

CodePudding user response:

Media. SetEventListener (new media. The EventListener () {
@ Override
Public void onEvent (Media Event Event) {
The d (" VLC - playing: ", the event type + "");
Switch (event type) {
In case Opening://open
ShowDialog1 (" open ");
break;
In case the Buffering://buffer
ShowDialog1 (" buffer ");
break;
In case Paused://pause
ShowDialog1 (" pause ");
break;
In case the Error: Error//play
ShowDialog1 (" playback error ");
break;
Error case Ended://play
Toast. MakeText (LiveActivity. This, "broadcast complete", Toast. LENGTH_SHORT), show ();
break;
In case Playing://play
If (huds!=null) {
{if (huds. IsShowing ())
Huds. Dismiss ();

}
}
break;
});
Don't know the completion status can reset the listening, you try it yourself
  • Related