Skip to content

Instantly share code, notes, and snippets.

@PierfrancescoSoffritti
Last active February 12, 2019 06:23
Show Gist options
  • Save PierfrancescoSoffritti/b8139fc90851bdf3b63bc76302158b17 to your computer and use it in GitHub Desktop.
Save PierfrancescoSoffritti/b8139fc90851bdf3b63bc76302158b17 to your computer and use it in GitHub Desktop.
<LinearLayout
xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:app="http://schemas.android.com/apk/res-auto"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:orientation="vertical" >
<com.pierfrancescosoffritti.androidyoutubeplayer.core.player.views.YouTubePlayerView
android:id="@+id/youtube_player_view"
android:layout_width="match_parent"
android:layout_height="wrap_content"
app:videoId="S0Q4gqBUs7c"
app:autoPlay="true"
app:useWebUi="true" />
</LinearLayout>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment