Created
February 11, 2019 19:02
-
-
Save PierfrancescoSoffritti/8054d4ef0a79787a2004d528b9023c89 to your computer and use it in GitHub Desktop.
android-youtube-player, an open source alternative to the official YouTube Player API: https://medium.com/@soffritti.pierfrancesco/how-to-play-youtube-videos-in-your-android-app-c40427215230
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<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:showFullScreenButton="false" /> | |
</LinearLayout> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment