Skip to content

Commit

Permalink
[AND-230] Add automatic replay to carousel videos
Browse files Browse the repository at this point in the history
  • Loading branch information
pedroagostinhoaptoide committed Jan 29, 2025
1 parent 11bde97 commit b29d74d
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@ fun CarouselAppYoutubePlayer(
PlayerConstants.PlayerState.PAUSED,
PlayerConstants.PlayerState.PLAYING -> showVideo = true

PlayerConstants.PlayerState.ENDED -> youtubePlayer?.cueVideo(videoId, 0f)
PlayerConstants.PlayerState.ENDED -> youtubePlayer?.seekTo(0f)

else -> Unit
}
Expand Down

0 comments on commit b29d74d

Please sign in to comment.