diff --git a/app-games/src/main/java/com/aptoide/android/aptoidegames/videos/presentation/YoutubePlayer.kt b/app-games/src/main/java/com/aptoide/android/aptoidegames/videos/presentation/YoutubePlayer.kt index 3b7572b161..8ad7f78630 100644 --- a/app-games/src/main/java/com/aptoide/android/aptoidegames/videos/presentation/YoutubePlayer.kt +++ b/app-games/src/main/java/com/aptoide/android/aptoidegames/videos/presentation/YoutubePlayer.kt @@ -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 }