You must enable a couple of API (in new google console) for things to work as expected.
Go to https://console.developers.google.com and make sure under “APIs” that you have following APIs enabled:
- “Contacts API”
- “Google+ API”
More Related Contents:
- YouTube iframe API: how do I control an iframe player that’s already in the HTML?
- How to pause a YouTube player when hiding the iframe?
- YouTube Player API: How to get duration of a loaded/cued video without playing it?
- Pause youtube video, youtube api
- Use a content script to access the page context variables and functions
- Why am I seeing an “origin is not allowed by Access-Control-Allow-Origin” error here? [duplicate]
- Failed to execute ‘postMessage’ on ‘DOMWindow’: https://www.youtube.com !== http://localhost:9000
- YouTube iframe player API – OnStateChange not firing
- Why am I seeing an “origin is not allowed by Access-Control-Allow-Origin” error here? [duplicate]
- Stop embedded youtube iframe?
- How to embed an autoplaying YouTube video in an iframe?
- Listening for Youtube Event in JavaScript or jQuery
- How to get number of video views with YouTube API?
- Event when YouTube video finished
- How do you mute an embedded Youtube player?
- How can I stop a video with Javascript in Youtube?
- Make youtube video fullscreen using iframe and javascript API
- How to find out the exact number of followers on YouTube?
- Access variables and functions defined in page context using a content script
- How to call Greasemonkey’s GM_ functions from code that must run in the target page scope?
- What is the best way to have a fallback image in NextJS?
- Youtube iframe api not triggering onYouTubeIframeAPIReady
- gapi.client.youtube is undefined?
- loading multiple video players with youtube api
- Changing the browser zoom level
- Hiding the address bar of a browser (popup)
- Closing WebSocket correctly (HTML5, Javascript)
- Using ‘let’ as a variable name is not throwing any errors in google v8
- Is async await truly non-blocking in the browser?
- creating highchart with ajax json data