0

for a long time I was using this

<script src="https://apis.google.com/js/client:plusone.js"></script>

In my program to make youtube queries and return results. That request is something I learned reading a different Stack question. But now when I load up my webpage I get these errors

Errors

and gapi is undefined when I try to search for a video (which is on button press). It is on this line

 gapi.client.setApiKey("MY KEY"); //gapi is undefined

It is hard to debug client.js because it is minimized. Has anyone else had this issue?

user3055557
  • 25
  • 1
  • 6

0 Answers0