Embed Youtube video inside an Android app

后端 未结 9 1254
野性不改
野性不改 2021-01-29 23:01

I\'m using a WebView for displaying embedded Youtube video and that works on Galaxcy S2 (OS 2.3.5) and doesn\'t on Nexus S (OS 2.3.4), all I get is white screen without any vide

9条回答
  •  醉话见心
    2021-01-29 23:38

    Embedding the YouTube player in Android is very simple & it hardly takes you 10 minutes,

    1) Enable YouTube API from Google API console
    2) Download YouTube player Jar file
    3) Start using it in Your app
    

    Here are the detailed steps http://www.feelzdroid.com/2017/01/embed-youtube-video-player-android-app-example.html.

    Just refer it & if you face any problem, let me know, ill help you

提交回复
热议问题