I use Youtube Api in my app, but my problem is it\'s not auto play, must press play button.
My code is:
setContentView(R.layout.playerview_demo); ((Y
You need to use player.cueVideo("video_id");
player.cueVideo("video_id");
This will load the video, but it will not start auto playing. The video is auto playing because you're using player.loadVideo("video_id");.
player.loadVideo("video_id");
Hope it helps.