Youtube Api android autostart

后端 未结 6 1488
梦谈多话
梦谈多话 2020-12-01 10:56

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         


        
6条回答
  •  抹茶落季
    2020-12-01 11:14

    Check that autoplay feature is set to 1. Player will load initial video in autoplay by default.

    Please refer Youtube Autoplay parameters for more.

提交回复
热议问题