android-youtube-player icon indicating copy to clipboard operation
android-youtube-player copied to clipboard

autoPlay = false is not working

Open text4lilac opened this issue 3 years ago • 2 comments

<com.pierfrancescosoffritti.androidyoutubeplayer.core.player.views.YouTubePlayerView android:layout_gravity="center" android:id="@+id/andExoPlayerView" app:autoPlay="false" app:enableAutomaticInitialization="true" app:enableLiveVideoUi="false" app:handleNetworkEvents="false" app:showFullScreenButton="false" app:showSeekBar="true" app:showVideoCurrentTime="true" app:showVideoDuration="true" app:showYouTubeButton="false" app:useWebUi="false" android:layout_width="match_parent" android:layout_height="@dimen/_180sdp" />

text4lilac avatar Mar 25 '21 08:03 text4lilac

Try using cueVideo in player's OnReady callback

muankit avatar May 01 '21 12:05 muankit

https://github.com/PierfrancescoSoffritti/android-youtube-player/blob/master/core-sample-app/src/main/java/com/pierfrancescosoffritti/androidyoutubeplayer/core/sampleapp/examples/recyclerViewExample/RecyclerViewAdapter.java

UzBestDeveloper avatar Mar 04 '22 11:03 UzBestDeveloper