{"id":36362,"date":"2016-06-24T17:30:20","date_gmt":"2016-06-24T12:00:20","guid":{"rendered":"https:\/\/2thenew.online\/blog\/?p=36362"},"modified":"2016-12-19T15:02:55","modified_gmt":"2016-12-19T09:32:55","slug":"youtube-player-integration-in-android","status":"publish","type":"post","link":"https:\/\/2thenew.online\/blog\/youtube-player-integration-in-android\/","title":{"rendered":"YouTube Player Integration in Android"},"content":{"rendered":"<p>YouTube allows you to play it&#8217;s <a title=\"Video Application Development\" href=\"https:\/\/2thenew.online\/mobile-smart-tv-application-development\">video in your app<\/a> using the\u00a0youtube player. It also provides data APIs to put like, dislike, or rate comments on a video.<\/p>\n<p>To integrate youtube player you need API key from google console and you can get it using following steps:<\/p>\n<p>1. Get SHA1 fingerprint first by executing &#8220;keytool -list -v -keystore ~\/.android\/debug.keystore -alias androiddebugkey -storepass android -keypass android&#8221; command on terminal.<\/p>\n<p>2. Now visit the\u00a0<a title=\"google console\" href=\"https:\/\/console.developers.google.com\/\">Developer console<\/a> and create credential -&gt; API key under the credentials section.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-36557\" src=\"\/blog\/wp-ttn-blog\/uploads\/2016\/06\/console2.png\" alt=\"console2\" width=\"1300\" height=\"707\" \/><\/p>\n<p>3. Get Android API key by passing your package name and SHA1 fingerprint that you got in step 1.<\/p>\n<p>Now download the zip file available at this link <a title=\"Youtube Player\" href=\"https:\/\/developers.google.com\/youtube\/android\/player\/downloads\/\">Download Youtube Player<\/a>.<br \/>\nExtract youtubeAndroidplayer.jar from the\u00a0zip folder and put that in the libs folder of your project.<\/p>\n<p>Open your activity class (let&#8217;s say YoutubeVideoPlayerActivity.java), the activity should extend\u00a0from YouTubeBaseActivity, which will be present in YouTubeAndroidPlayerApi.jar. This activity also contains few initialization listener methods to know the status of the youtube player.<\/p>\n<p>[sourcecode language=&#8221;java&#8221;]<\/p>\n<p>public class YouTubePlayerActivity extends YouTubeBaseActivity implements YouTubePlayer.OnInitializedListener {<\/p>\n<p>private static final int RECOVERY_REQUEST = 1;<br \/>\nprivate YouTubePlayerView youTubeView;<br \/>\nVideoView videoView;<br \/>\nprivate String videoId;<\/p>\n<p>@Override<br \/>\nprotected void onCreate(Bundle savedInstanceState) {<br \/>\nsuper.onCreate(savedInstanceState);<br \/>\nsetContentView(R.layout.activity_main);<\/p>\n<p>videoId = &quot;fhWaJi1Hsfo&quot;;<\/p>\n<p>youTubeView = (YouTubePlayerView) findViewById(R.id.youtube_view);<br \/>\nyouTubeView.initialize(Config.YOUTUBE_API_KEY, this);<br \/>\n}<\/p>\n<p>@Override<br \/>\nprotected void onActivityResult(int requestCode, int resultCode, Intent data) {<br \/>\nif (requestCode == RECOVERY_REQUEST) {<br \/>\n\/\/ Retry initialization if user performed a recovery action<br \/>\ngetYouTubePlayerProvider().initialize(Config.YOUTUBE_API_KEY, this);<br \/>\n}<br \/>\n}<\/p>\n<p>private YouTubePlayer.Provider getYouTubePlayerProvider() {<br \/>\nreturn youTubeView;<br \/>\n}<\/p>\n<p>@Override<br \/>\npublic boolean onCreateOptionsMenu(Menu menu) {<br \/>\nreturn super.onCreateOptionsMenu(menu);<br \/>\n}<\/p>\n<p>@Override<br \/>\npublic boolean onOptionsItemSelected(MenuItem item) {<br \/>\nreturn super.onOptionsItemSelected(item);<br \/>\n}<\/p>\n<p>@Override<br \/>\npublic void onInitializationSuccess(YouTubePlayer.Provider provider, YouTubePlayer youTubePlayer, boolean wasRestored) {<br \/>\nif (!wasRestored) {<br \/>\nyouTubePlayer.cueVideo(videoId); \/\/ Plays https:\/\/www.youtube.com\/watch?v=fhWaJi1Hsfo<br \/>\n}<br \/>\n}<\/p>\n<p>@Override<br \/>\npublic void onInitializationFailure(YouTubePlayer.Provider provider, YouTubeInitializationResult errorReason) {<\/p>\n<p>if (errorReason.isUserRecoverableError()) {<br \/>\nerrorReason.getErrorDialog(this, RECOVERY_REQUEST).show();<br \/>\n} else {<br \/>\n\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 String error = String.format(getString(R.string.player_error), errorReason.toString());<br \/>\n\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 Toast.makeText(this, error, Toast.LENGTH_LONG).show();<br \/>\n}<\/p>\n<p>}<\/p>\n<p>}<\/p>\n<p>[\/sourcecode]<\/p>\n<p>In the above activity, you need to replace YOUTUBE_API_KEY with your API key you got from your console and <span style=\"color: #000000\">videoId <\/span>with the id of the\u00a0video you want to play in your player.<\/p>\n<p>In your XML file put YouTubePlayerView to play video:<\/p>\n<p>[sourcecode language=&#8221;java&#8221;]<br \/>\n&lt;com.google.android.youtube.player.YouTubePlayerView<br \/>\nandroid:id=&quot;@+id\/youtube_view&quot;<br \/>\nandroid:layout_width=&quot;match_parent&quot;<br \/>\nandroid:layout_height=&quot;wrap_content&quot;\/&gt;;<br \/>\n[\/sourcecode]<\/p>\n<p>Also, you will need internet permission in your manifest file<\/p>\n<p>[sourcecode language=&#8221;java&#8221;]<br \/>\nuses-permission android:name=&quot;android.permission.INTERNET&quot;;<br \/>\n[\/sourcecode]<\/p>\n<p>After running the app, your youtube player will look like:<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-36582\" src=\"\/blog\/wp-ttn-blog\/uploads\/2016\/06\/scrrenshot_youtube1.png\" alt=\"scrrenshot_youtube\" width=\"1280\" height=\"720\" \/><\/p>\n<p><strong>To like and dislike a video you need to call the following &#8216;GET&#8217; youtube APIs.<\/strong><\/p>\n<p>To like a video-<br \/>\n<span style=\"text-decoration: underline\"><br \/>\n<\/span><\/p>\n<p>To dislike a video-<br \/>\n<span style=\"text-decoration: underline\"><br \/>\n<\/span><\/p>\n<p>Further, to get video statistics such as total number of likes, dislikes, or view count:<br \/>\n<span style=\"text-decoration: underline\"><br \/>\n<\/span><\/p>\n<p>&nbsp;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>YouTube allows you to play it&#8217;s video in your app using the\u00a0youtube player. It also provides data APIs to put like, dislike, or rate comments on a video. To integrate youtube player you need API key from google console and you can get it using following steps: 1. Get SHA1 fingerprint first by executing &#8220;keytool [&hellip;]<\/p>\n","protected":false},"author":156,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"iawp_total_views":0,"footnotes":""},"categories":[518],"tags":[4845,2591,1494],"class_list":["post-36362","post","type-post","status-publish","format-standard","hentry","category-android","tag-android","tag-technology-2","tag-youtube"],"aioseo_notices":[],"aioseo_head":"\n\t\t<!-- All in One SEO 5.0.0.1 - aioseo.com -->\n\t<meta name=\"description\" content=\"YouTube allows you to play it&#039;s video in your app using the youtube player. It also provides data APIs to put like, dislike, or rate comments on a video. To integrate youtube player you need API key from google console and you can get it using following steps: 1. Get SHA1 fingerprint first by executing &quot;keytool\" \/>\n\t<meta name=\"robots\" content=\"max-image-preview:large\" \/>\n\t<meta name=\"author\" content=\"Vaibhav Chahal\"\/>\n\t<link rel=\"canonical\" href=\"https:\/\/2thenew.online\/blog\/youtube-player-integration-in-android\/\" \/>\n\t<meta name=\"generator\" content=\"All in One SEO (AIOSEO) 5.0.0.1\" \/>\n\t\t<meta property=\"og:locale\" content=\"en_US\" \/>\n\t\t<meta property=\"og:site_name\" content=\"TO THE NEW BLOG\" \/>\n\t\t<meta property=\"og:type\" content=\"blog\" \/>\n\t\t<meta property=\"og:title\" content=\"YouTube Player Integration in Android | TO THE NEW Blog\" \/>\n\t\t<meta property=\"og:description\" content=\"YouTube allows you to play it&#039;s video in your app using the youtube player. It also provides data APIs to put like, dislike, or rate comments on a video. To integrate youtube player you need API key from google console and you can get it using following steps: 1. Get SHA1 fingerprint first by executing &quot;keytool\" \/>\n\t\t<meta property=\"og:url\" content=\"https:\/\/2thenew.online\/blog\/youtube-player-integration-in-android\/\" \/>\n\t\t<meta property=\"og:image\" content=\"https:\/\/2thenew.online\/blog\/wp-content\/themes\/ttn\/images\/social-logo.png\" \/>\n\t\t<meta property=\"og:image:secure_url\" content=\"https:\/\/2thenew.online\/blog\/wp-content\/themes\/ttn\/images\/social-logo.png\" \/>\n\t\t<meta name=\"twitter:card\" content=\"summary\" \/>\n\t\t<meta name=\"twitter:site\" content=\"@tothenew\" \/>\n\t\t<meta name=\"twitter:title\" content=\"YouTube Player Integration in Android | TO THE NEW Blog\" \/>\n\t\t<meta name=\"twitter:description\" content=\"YouTube allows you to play it&#039;s video in your app using the youtube player. It also provides data APIs to put like, dislike, or rate comments on a video. To integrate youtube player you need API key from google console and you can get it using following steps: 1. Get SHA1 fingerprint first by executing &quot;keytool\" \/>\n\t\t<meta name=\"twitter:image\" content=\"https:\/\/2thenew.online\/blog\/wp-content\/themes\/ttn\/images\/social-logo.png\" \/>\n\t\t<script type=\"application\/ld+json\" class=\"aioseo-schema\">\n\t\t\t{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/youtube-player-integration-in-android\\\/#article\",\"name\":\"YouTube Player Integration in Android | TO THE NEW Blog\",\"headline\":\"YouTube Player Integration in Android\",\"author\":{\"@id\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/author\\\/vaibhav-chahalintelligrape-com\\\/#author\"},\"publisher\":{\"@id\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/#organization\"},\"image\":{\"@type\":\"ImageObject\",\"url\":\"\\\/blog\\\/wp-ttn-blog\\\/uploads\\\/2016\\\/06\\\/console2.png\",\"@id\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/youtube-player-integration-in-android\\\/#articleImage\"},\"datePublished\":\"2016-06-24T17:30:20+05:30\",\"dateModified\":\"2016-12-19T15:02:55+05:30\",\"inLanguage\":\"en-US\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/youtube-player-integration-in-android\\\/#webpage\"},\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/youtube-player-integration-in-android\\\/#webpage\"},\"articleSection\":\"Android, Android, technology, youtube\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/youtube-player-integration-in-android\\\/#breadcrumblist\",\"itemListElement\":[{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/www.tothenew.com\\\/blog#listItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/www.tothenew.com\\\/blog\",\"nextItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/category\\\/android\\\/#listItem\",\"name\":\"Android\"}},{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/category\\\/android\\\/#listItem\",\"position\":2,\"name\":\"Android\",\"item\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/category\\\/android\\\/\",\"nextItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/youtube-player-integration-in-android\\\/#listItem\",\"name\":\"YouTube Player Integration in Android\"},\"previousItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/www.tothenew.com\\\/blog#listItem\",\"name\":\"Home\"}},{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/youtube-player-integration-in-android\\\/#listItem\",\"position\":3,\"name\":\"YouTube Player Integration in Android\",\"previousItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/category\\\/android\\\/#listItem\",\"name\":\"Android\"}}]},{\"@type\":\"Organization\",\"@id\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/#organization\",\"name\":\"TO THE NEW Blog\",\"url\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/\"},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/author\\\/vaibhav-chahalintelligrape-com\\\/#author\",\"url\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/author\\\/vaibhav-chahalintelligrape-com\\\/\",\"name\":\"Vaibhav Chahal\",\"image\":{\"@type\":\"ImageObject\",\"@id\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/youtube-player-integration-in-android\\\/#authorImage\",\"url\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/3398aeee6e2c0b9628213013b8ab63af0b60fd4f4619846feac746f12e39459d?s=96&d=mm&r=g\",\"width\":96,\"height\":96,\"caption\":\"Vaibhav Chahal\"}},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/youtube-player-integration-in-android\\\/#webpage\",\"url\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/youtube-player-integration-in-android\\\/\",\"name\":\"YouTube Player Integration in Android | TO THE NEW Blog\",\"description\":\"YouTube allows you to play it's video in your app using the youtube player. It also provides data APIs to put like, dislike, or rate comments on a video. To integrate youtube player you need API key from google console and you can get it using following steps: 1. Get SHA1 fingerprint first by executing \\\"keytool\",\"inLanguage\":\"en-US\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/#website\"},\"breadcrumb\":{\"@id\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/youtube-player-integration-in-android\\\/#breadcrumblist\"},\"author\":{\"@id\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/author\\\/vaibhav-chahalintelligrape-com\\\/#author\"},\"creator\":{\"@id\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/author\\\/vaibhav-chahalintelligrape-com\\\/#author\"},\"datePublished\":\"2016-06-24T17:30:20+05:30\",\"dateModified\":\"2016-12-19T15:02:55+05:30\"},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/#website\",\"url\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/\",\"name\":\"TO THE NEW Blog\",\"inLanguage\":\"en-US\",\"publisher\":{\"@id\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/#organization\"}}]}\n\t\t<\/script>\n\t\t<!-- All in One SEO -->\n\n","aioseo_head_json":{"title":"YouTube Player Integration in Android | TO THE NEW Blog","description":"YouTube allows you to play it's video in your app using the youtube player. It also provides data APIs to put like, dislike, or rate comments on a video. To integrate youtube player you need API key from google console and you can get it using following steps: 1. Get SHA1 fingerprint first by executing \"keytool","canonical_url":"https:\/\/2thenew.online\/blog\/youtube-player-integration-in-android\/","robots":"max-image-preview:large","keywords":"","webmasterTools":{"miscellaneous":""},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/2thenew.online\/blog\/youtube-player-integration-in-android\/#article","name":"YouTube Player Integration in Android | TO THE NEW Blog","headline":"YouTube Player Integration in Android","author":{"@id":"https:\/\/2thenew.online\/blog\/author\/vaibhav-chahalintelligrape-com\/#author"},"publisher":{"@id":"https:\/\/2thenew.online\/blog\/#organization"},"image":{"@type":"ImageObject","url":"\/blog\/wp-ttn-blog\/uploads\/2016\/06\/console2.png","@id":"https:\/\/2thenew.online\/blog\/youtube-player-integration-in-android\/#articleImage"},"datePublished":"2016-06-24T17:30:20+05:30","dateModified":"2016-12-19T15:02:55+05:30","inLanguage":"en-US","mainEntityOfPage":{"@id":"https:\/\/2thenew.online\/blog\/youtube-player-integration-in-android\/#webpage"},"isPartOf":{"@id":"https:\/\/2thenew.online\/blog\/youtube-player-integration-in-android\/#webpage"},"articleSection":"Android, Android, technology, youtube"},{"@type":"BreadcrumbList","@id":"https:\/\/2thenew.online\/blog\/youtube-player-integration-in-android\/#breadcrumblist","itemListElement":[{"@type":"ListItem","@id":"https:\/\/2thenew.online\/blog#listItem","position":1,"name":"Home","item":"https:\/\/2thenew.online\/blog","nextItem":{"@type":"ListItem","@id":"https:\/\/2thenew.online\/blog\/category\/android\/#listItem","name":"Android"}},{"@type":"ListItem","@id":"https:\/\/2thenew.online\/blog\/category\/android\/#listItem","position":2,"name":"Android","item":"https:\/\/2thenew.online\/blog\/category\/android\/","nextItem":{"@type":"ListItem","@id":"https:\/\/2thenew.online\/blog\/youtube-player-integration-in-android\/#listItem","name":"YouTube Player Integration in Android"},"previousItem":{"@type":"ListItem","@id":"https:\/\/2thenew.online\/blog#listItem","name":"Home"}},{"@type":"ListItem","@id":"https:\/\/2thenew.online\/blog\/youtube-player-integration-in-android\/#listItem","position":3,"name":"YouTube Player Integration in Android","previousItem":{"@type":"ListItem","@id":"https:\/\/2thenew.online\/blog\/category\/android\/#listItem","name":"Android"}}]},{"@type":"Organization","@id":"https:\/\/2thenew.online\/blog\/#organization","name":"TO THE NEW Blog","url":"https:\/\/2thenew.online\/blog\/"},{"@type":"Person","@id":"https:\/\/2thenew.online\/blog\/author\/vaibhav-chahalintelligrape-com\/#author","url":"https:\/\/2thenew.online\/blog\/author\/vaibhav-chahalintelligrape-com\/","name":"Vaibhav Chahal","image":{"@type":"ImageObject","@id":"https:\/\/2thenew.online\/blog\/youtube-player-integration-in-android\/#authorImage","url":"https:\/\/secure.gravatar.com\/avatar\/3398aeee6e2c0b9628213013b8ab63af0b60fd4f4619846feac746f12e39459d?s=96&d=mm&r=g","width":96,"height":96,"caption":"Vaibhav Chahal"}},{"@type":"WebPage","@id":"https:\/\/2thenew.online\/blog\/youtube-player-integration-in-android\/#webpage","url":"https:\/\/2thenew.online\/blog\/youtube-player-integration-in-android\/","name":"YouTube Player Integration in Android | TO THE NEW Blog","description":"YouTube allows you to play it's video in your app using the youtube player. It also provides data APIs to put like, dislike, or rate comments on a video. To integrate youtube player you need API key from google console and you can get it using following steps: 1. Get SHA1 fingerprint first by executing \"keytool","inLanguage":"en-US","isPartOf":{"@id":"https:\/\/2thenew.online\/blog\/#website"},"breadcrumb":{"@id":"https:\/\/2thenew.online\/blog\/youtube-player-integration-in-android\/#breadcrumblist"},"author":{"@id":"https:\/\/2thenew.online\/blog\/author\/vaibhav-chahalintelligrape-com\/#author"},"creator":{"@id":"https:\/\/2thenew.online\/blog\/author\/vaibhav-chahalintelligrape-com\/#author"},"datePublished":"2016-06-24T17:30:20+05:30","dateModified":"2016-12-19T15:02:55+05:30"},{"@type":"WebSite","@id":"https:\/\/2thenew.online\/blog\/#website","url":"https:\/\/2thenew.online\/blog\/","name":"TO THE NEW Blog","inLanguage":"en-US","publisher":{"@id":"https:\/\/2thenew.online\/blog\/#organization"}}]},"og:locale":"en_US","og:site_name":"TO THE NEW BLOG","og:type":"blog","og:title":"YouTube Player Integration in Android | TO THE NEW Blog","og:description":"YouTube allows you to play it's video in your app using the youtube player. It also provides data APIs to put like, dislike, or rate comments on a video. To integrate youtube player you need API key from google console and you can get it using following steps: 1. Get SHA1 fingerprint first by executing &quot;keytool","og:url":"https:\/\/2thenew.online\/blog\/youtube-player-integration-in-android\/","og:image":"https:\/\/2thenew.online\/blog\/wp-content\/themes\/ttn\/images\/social-logo.png","og:image:secure_url":"https:\/\/2thenew.online\/blog\/wp-content\/themes\/ttn\/images\/social-logo.png","twitter:card":"summary","twitter:site":"@tothenew","twitter:title":"YouTube Player Integration in Android | TO THE NEW Blog","twitter:description":"YouTube allows you to play it's video in your app using the youtube player. It also provides data APIs to put like, dislike, or rate comments on a video. To integrate youtube player you need API key from google console and you can get it using following steps: 1. Get SHA1 fingerprint first by executing &quot;keytool","twitter:image":"https:\/\/2thenew.online\/blog\/wp-content\/themes\/ttn\/images\/social-logo.png"},"aioseo_meta_data":{"post_id":"36362","title":null,"description":null,"keywords":null,"keyphrases":null,"primary_term":null,"canonical_url":null,"og_title":"","og_description":"","og_object_type":"blog","og_image_type":"default","og_image_url":null,"og_image_width":null,"og_image_height":null,"og_image_custom_url":null,"og_image_custom_fields":null,"og_video":"","og_custom_url":null,"og_article_section":"","og_article_tags":"","twitter_use_og":false,"twitter_card":"summary","twitter_image_type":"default","twitter_image_url":null,"twitter_image_custom_url":null,"twitter_image_custom_fields":null,"twitter_title":null,"twitter_description":null,"schema":{"blockGraphs":[],"customGraphs":[],"default":{"data":{"Article":[],"Course":[],"Dataset":[],"FAQPage":[],"Movie":[],"Person":[],"Product":[],"ProductReview":[],"Car":[],"Recipe":[],"Service":[],"SoftwareApplication":[],"WebPage":[]},"graphName":"Article","isEnabled":true},"graphs":[]},"schema_type":null,"schema_type_options":null,"pillar_content":false,"robots_default":true,"robots_noindex":false,"robots_noarchive":false,"robots_nosnippet":false,"robots_nofollow":false,"robots_noimageindex":false,"robots_noodp":false,"robots_notranslate":false,"robots_max_snippet":null,"robots_max_videopreview":null,"robots_max_imagepreview":"large","priority":null,"frequency":null,"local_seo":null,"limit_modified_date":false,"created":"2021-04-29 14:48:08","updated":"2024-02-29 09:25:23","focus_keyword":null,"additional_keywords":null,"truseo_locale":null,"ai":null,"breadcrumb_settings":null,"seo_analyzer_scan_date":null},"aioseo_breadcrumb":"<div class=\"aioseo-breadcrumbs\"><span class=\"aioseo-breadcrumb\">\n\t\t\t<a href=\"https:\/\/2thenew.online\/blog\" title=\"Home\">Home<\/a>\n\t\t<\/span><span class=\"aioseo-breadcrumb-separator\">&raquo;<\/span><span class=\"aioseo-breadcrumb\">\n\t\t\t<a href=\"https:\/\/2thenew.online\/blog\/category\/android\/\" title=\"Android\">Android<\/a>\n\t\t<\/span><span class=\"aioseo-breadcrumb-separator\">&raquo;<\/span><span class=\"aioseo-breadcrumb\">\n\t\t\tYouTube Player Integration in Android\n\t\t<\/span><\/div>","aioseo_breadcrumb_json":[{"label":"Home","link":"https:\/\/2thenew.online\/blog"},{"label":"Android","link":"https:\/\/2thenew.online\/blog\/category\/android\/"},{"label":"YouTube Player Integration in Android","link":"https:\/\/2thenew.online\/blog\/youtube-player-integration-in-android\/"}],"_links":{"self":[{"href":"https:\/\/2thenew.online\/blog\/wp-json\/wp\/v2\/posts\/36362","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/2thenew.online\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/2thenew.online\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/2thenew.online\/blog\/wp-json\/wp\/v2\/users\/156"}],"replies":[{"embeddable":true,"href":"https:\/\/2thenew.online\/blog\/wp-json\/wp\/v2\/comments?post=36362"}],"version-history":[{"count":0,"href":"https:\/\/2thenew.online\/blog\/wp-json\/wp\/v2\/posts\/36362\/revisions"}],"wp:attachment":[{"href":"https:\/\/2thenew.online\/blog\/wp-json\/wp\/v2\/media?parent=36362"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/2thenew.online\/blog\/wp-json\/wp\/v2\/categories?post=36362"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/2thenew.online\/blog\/wp-json\/wp\/v2\/tags?post=36362"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}