function onLoadFn() {
    // make gapi.client calls
    gapi.client.setApiKey(YOUTUBE_API_KEY);
    gapi.client.load('youtube','v3').then(function() {
	console.log('youtube api loaded');
    });
    
}
// Google api needs to be included before this
Google api needs to be included before this
Google api needs to be included before this
function onLoadFn() {
    gapi.client.setApiKey(YOUTUBE_API_KEY);
    gapi.client.load('youtube','v3').then(function() {
	console.log('youtube api loaded');
    });
}
function onLoadFn ( ) { gapi . client . setApiKey ( YOUTUBE_API_KEY ) ; gapi . client . load ( 'youtube' , 'v3' ) . then ( function ( ) { console . log ( 'youtube api loaded' ) ; } ) ; }
Google api needs to be included before this
Google api needs to be included before this
// make gapi.client calls