Ich benutze Youtube Api in meiner App, aber mein Problem ist es ist nicht automatisch spielen, muss Play-Taste drücken.Youtube Api Android Autostart
Mein Code ist:
setContentView(R.layout.playerview_demo);
((YouTubePlayerView)findViewById(R.id.youtube_view)).initialize(DEV_KEY, this);
youtube_view Layout:
<com.google.android.youtube.player.YouTubePlayerView
android:id="@id/youtube_view"
android:layout_width="fill_parent"
android:layout_height="wrap_content" />
Ich brauche CueVideo-Methode +1 für das –