Android YouTubePlayer do loop

Is it possible to install the new YouTubePlayer for Android so that it plays the video in a loop (repeatedly)?

I have not found such methods in docs yet .

+4
source share
1 answer

You can attach YouTubePlayer.PlayerStateChangeListener, then run the video in onVideoEnded.

+2
source

Source: https://habr.com/ru/post/1534448/


All Articles