This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Error installing nghttp2 during make: | |
# Last 15 lines from /Users/omarmilini/Library/Logs/Homebrew/nghttp2/02.make: | |
# _LIBCPP_INLINE_VISIBILITY unique_ptr(auto_ptr<_Up>&& __p, | |
brew install gcc | |
brew install --cc=gcc-8 nghttp2 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!DOCTYPE html> | |
<html> | |
<head> | |
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> | |
<title>YouTube API</title> | |
<script src="//ajax.googleapis.com/ajax/libs/jquery/1.10.1/jquery.min.js"></script> | |
<script src="auth.js" type="text/javascript"></script> | |
<script type="text/javascript"> | |
function handleAPILoaded() { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// The client id is obtained from the Google APIs Console at https://code.google.com/apis/console | |
// If you run access this code from a server other than http://localhost, you need to register | |
// your own client id. | |
var OAUTH2_CLIENT_ID = 'OauthClientId'; | |
var OAUTH2_SCOPES = [ | |
'https://www.googleapis.com/auth/youtube' | |
]; | |
// This callback is invoked by the Google APIs JS client automatically when it is loaded. | |
googleApiClientReady = function() { |