Code samples for YouTube APIs, including the YouTube Data API, YouTube Analytics API, and YouTube Live Streaming API. The repo contains language-specific directories that contain the samples.
The line:
if (authResult) {
will be always true (authResult is an object, connection failed or not).
So, if we replace this line by this one:
if (authResult && authResult.status.signed_in) {
it's work :)
Hi,
In the file javascript/auth.js
The line:
if (authResult) {
will be always true (authResult is an object, connection failed or not). So, if we replace this line by this one:if (authResult && authResult.status.signed_in) {
it's work :)(enfin.. pour moi ca marche en tout cas)