Author Archives: Google Blogs

A solar-powered round-the-world tour to promote clean technologies

According to NASA, 2014 was the warmest year ever. Yet when Google’s News Lab looked at city-level search trends related to climate change over the past decade, we found that interest around "global warming" was actually higher in 2007 than it is today in many major cities. Google is deeply committed to environmental sustainability and renewable energy, and raising awareness about these issues is part of the solution. That's why, in 2013, we became the internet and technology partner of Solar Impulse, a project aiming at flying around the world on a plane using only solar power, in order to raise awareness for what's possible with clean technology and renewable energy.

On the first day of their round-the-world journey, we jointly launched the #FutureIsClean initiative: a platform to encourage the world to support the adoption of necessary clean technological solutions ahead of the upcoming United Nations Climate Change Conference (COP21).

Since Solar Impulse took off from Abu Dhabi in March 2015, it has completed 8 out of 12 legs, completing nearly half of the journey. The most recent leg took 117 hours and 52 minutes, breaking the world record for the longest solo flight. Despite the achievement, the plane's batteries sustained some damage, postponing the second half of their round-the-world solar flight until April 2016. The plane will remain in Hawaii where it landed last.
Solar Impulse in Abu Dhabi before taking off for its first leg. The plane has a 230 feet wingspan (larger than a Boeing 747) and weighs no more than 5,000 pounds (equivalent to a car). © Solar Impulse| Rezo.ch, March 2015

We're inspired by Solar Impulse's pioneering spirit that has allowed them to push the boundaries of clean and renewable technology, and we look forward to cheering them on next year as they complete their round-the-world trip.

From Altamont Pass to Mountain View: Getting more renewable energy on the grid

Technology can help us do more with less. For example, making use of natural climates has helped us make our data centers 50% more efficient than the industry average, and green building technology has helped us limit energy consumption in our offices around the world. Now, we’re doing more with less to power Google’s North Bayshore campus in Mountain View.

We’ve recently signed a long-term agreement to purchase enough local wind energy to offset the electrical consumption of our North Bayshore headquarters on an annual basis. While we’ve been committed to being a carbon-neutral company since 2007, and we purchase clean energy for our data centers, this agreement is the first of its kind when it comes to our offices.

The agreement with NextEra Energy Resources will help to repower an iconic Bay Area wind farm at California’s Altamont Pass with new turbines that will pour 43 MW of electricity onto the grid starting in 2016. This new technology is twice as efficient, and also safer—especially for wildlife.
The new turbines will generate energy that feeds into the grid that powers our North Bayshore buildings in Mountain View. While these electrons can’t be traced once they enter the grid, we can measure how many of them leave the turbines, as well as how many we use on campus on an annual basis (tracked through a system of renewable energy credits, or RECs). So even though the electrons follow an untraceable path through the California electricity grid, we can be sure that we're offsetting the electrical consumption of our North Bayshore headquarters with the renewable energy from the new turbines.

Since our first wind investment in 2010, we’ve developed close relationships with renewable energy providers, helping us secure renewable energy agreements like this one for our campus and data centers—more than 1.1 gigawatt’s worth to date—and it’s also made it possible for us to make equity investments in 17 utility-scale renewable energy projects. And over the years we’ve been thrilled to see other California leaders, from tech companies to universities, also working to bring more renewable energy online.

Finally, if we can geek out for a minute: We think this project is especially cool because back in the 1980’s, the golden hills of Altamont Pass were an early test bed for the first large-scale wind power technology in the U.S. We’ve been blown away (pun intended :)) by how far turbine technology has come since then. Once the installation is complete, and the 370 legacy turbines are replaced, it will take just 24 new ones to generate as much power as our campus uses in a year. Talk about doing more with less.

Behind the Tube

A billion people watch zillions of hours of YouTube video on devices all over the world. Underneath the hood, the magic that makes YouTube isn’t really magic at all—it’s serious engineering at unparalleled scale.

To bring you closer to the people and projects that make YouTube tick, we’re launching the YouTube Engineering and Developers Blog. About once a month, expect to see behind-the-scenes explanations, tools and tips for developers, and explanations of the most fundamental and interesting technical challenges at YouTube.

We look forward to hearing what you think about these topics, so please let us know in the comments or with a video!

WatchMe live stream!

With the new YouTube WatchMe for Android project, you can easily integrate YouTube Live Streaming into your Android app. YouTube WatchMe brings your app the same live broadcasting capabilities that you've seen in great apps like Live on YouTube – by Xperia™ and Re – by HTC.



YouTube WatchMe for Android is an open-source project that uses the YouTube Data API v3, YouTube Live Streaming API, Google Play Services and Plus API. You can customize it for your app, and you can also contribute to the project by filing merge requests for new features or submitting bug reports.


How to start using the app
  1. Sync the Github repo
    1. Enable the Youtube Data API v3 and Google+ API.
    2. Create a client ID for Android, using your SHA1 and package name.
  2. Include cross-platform compiled streaming libraries.
Either
  • libffmpeg.so under src/main/jniLibs/armeabi,
or
  • another streaming library with modifying VideoStreamingInterface

Main Activity
Main Activity
YouTube player
Live Streaming Activity
This App is still experimental, so stay tuned here and subscribe to the YouTube for Developers channel to keep up on the latest.


Cheers,

Ibrahim Ulukaya, and the YouTube API Team

Have you migrated to Data API v3 yet?

If you’re already using or migrated to the YouTube Data API v3, you can stop reading and go watch this instead.

If you haven’t yet migrated from the previous API version (v2), we wanted to remind you it will be unsupported as of April 20, 2015, and shut down soon thereafter. To make it fast and easy for you to migrate, check out the new Migration Guide. It’ll help you identify the v3 API methods and parameters that correspond to the functionality that you've been using in the v2 API. It also points out new features that the v3 API supports.

Screenshot_9_17_14,_4_10_PM.jpeg

The guide also lists functionality that is yet to be migrated as well as v2 features that will or might be deprecated, so you can check any feature your current app may be using and share feedback with us.

Once you’re done with that, join the rest of the folks who’ve migrated, kick back and enjoy this.

Find videos uploaded from any location with the YouTube Data API v3

When news breaks, it's critical to have immediate, unfiltered access to information about the unfolding developments. During events like the Ukrainian protests and the Arab Spring, people are uploading firsthand, breaking news stories to YouTube. The YouTube Data API (v3) makes it easier to find those videos by supporting the ability to search for videos within a given radius of specified latitude/longitude coordinates. By using this feature in conjunction with the specific Freebase topic filter and upload date with time, you can discover up-to-the-minute breaking news material from people witnessing important world events.


To see an example, check out this web app that uses the new YouTube location search feature and Google Maps APIs. The app is used by news agencies to find legitimate footage and allows them to filter videos based on location, keywords, and upload time.


To search for geotagged videos, set the latitude and longitude to specify the center of a circular geographic area to be searched and the location radius to define the size of the circle. The radius can be in meters, kilometers or miles with a max size of 1000 KM.  

Don’t have the latitude and longitude? Not a problem. The Google Maps API can geo-code search terms (e.g., “Boston”) and return the appropriate geographic coordinates. The Google Maps API also lets you create interactive maps to plot the results of the search. For your convenience, we’re publishing the code as open source for all to use.

Test drive the YouTube APIs

Since the launch of the new YouTube for Developers site, you’ve been able to access API resources, see the showcase apps and hear the stories of successful YouTube Developers. With today’s addition of four new demos, you’ll be able to play with the APIs and find use cases you can easily adapt into your own application.


The Upload Widget demo uses the YouTube Data API, resumable uploads, YouTube Upload Widget, and the YouTube iFrame Player API. Inspired by globalfeed.org, it lets visitors upload videos in which they answer a few questions. On the first page, users can also see answers uploaded by others.

Upload Widget
Via the Freebase API and the YouTube Data API, the Topic Explorer helps visitors find videos related to queries using the Google Knowledge Graph. After the initial query search on Freebase, users can select the exact entity on the Google Knowledge Graph and find videos related to the entity rather than to the simple search term. They can then watch these videos in a player that uses the YouTube iFrame API.
Topic Explorer
By using the YouTube Analytics API, viewers can see the geographic distribution of viewers for Google Developer videos during Google I/O 2013. They can slide through different dates to change the statistics. They can also hover over continents to find the exact viewcounts and the most popular videos for that continent for the selected date.


Analytics
With the power of the YouTube Live Streaming API and the YouTube Data API, visitors can see the most popular YouTube live streams right now. They can click the titles of streams to watch them in a player, which uses the YouTube iFrame API, or simply click one of the empty time slots in the last row to schedule their own broadcasts in the calendar.

Live Widget
Stay tuned here and subscribe to the YouTube for Developers channel to keep up on the latest.

From Lake Tanganyika to Google Earth: Using tech to help our communities

Today we're joined by Dr. Jane Goodall, primatologist and founder of the Jane Goodall Institute and Roots & Shoots program. In this post, Dr. Goodall shares her thoughts on how today’s technology can enable more people around the world to make a difference in their communities. Join Dr. Goodall for a celebratory Birthday Hangout on Air today at 11 a.m. PDT/2 p.m. EDT. -Ed.

When I first set foot on the shores of Lake Tanganyika in 1960 to study chimpanzee behavior, I carried with me notebooks, pencils and a pair of second-hand binoculars. I was, at the time, a young woman with no scientific training, but had a strong passion for learning about animals in Africa. In later years I founded the Jane Goodall Institute, dedicated to preserving the habitat of chimpanzees and other animals worldwide.
The author connects with a member of the Kasakela chimpanzee community in Gombe. 
Photo courtesy of JGI.

Today, the mapping technology available to all of us is completely changing the potential for animal and environmental research. My trip in 1960 would have looked quite different today. You have much more power at your fingertips, and you don't even have to leave your home. Tools like Google Earth let you visit the shores of Lake Tanganyika with just a few keystrokes. And in Gombe, local villagers are using Android smartphones and tablets, in conjunction with Google Maps Engine and Earth Engine, to monitor changes in the forest habitat that affect chimpanzee populations. Technology makes it so easy for people to find and share information and to understand the world around them. And once we understand, we can start to foster positive change.
The Jane Goodall Institute engages local communities from Tanzania, Uganda and across Africa to collect data on forests, wildlife and human activities using Google Android handheld devices. 
Photo courtesy of JGI/Lilian Pintea.

That’s one of the reasons we started the Roots & Shoots program to connect young people with the knowledge and tools they need to solve problems in their communities. The projects undertaken by these young people help them learn important science, technology, engineering and math (STEM) skills while developing real leadership capabilities. Today, Roots & Shoots is launching a new community mapping tutorial for young people to help them use digital mapping technology to identify and address needs in their community. If you’re an educator, we offer online professional development to help you fit our youth leadership model into your classroom and curriculum. You can sign up for the Roots & Shoots MOOC to learn more.
Roots & Shoots groups from Uganda, Tanzania, and Republic of Congo share their projects.
There are more than 8,000 Roots & Shoots groups in 136 countries. Photos courtesy of JGI.

Today, on my 80th birthday, my wish is for young people around the world to think about the ways you can use technology to learn more about the wonderful world we share. Then, to take action, and inspire others to do the same. You have the power to do so much more than I did in 1960, to spark change I could only imagine back then. And you can do it no matter where in the world you are.

Introducing YouTube developer stories

Over the years, we have seen many amazing applications built using the YouTube APIs. These applications span different verticals and extend YouTube to a broader audience. We invited four developers to share their stories and give you inspiration for your work.

Fullscreen

Fullscreen helps creators and brands supercharge their online presence by building tools on top of YouTube data.





Tubular Labs


A great video is nothing without an audience. Tubular helps YouTube creators and marketers grow their audience and take them to the next level.





Capella Systems


Using the power of YouTube, Capella builds live streaming software that makes broadcasting a breeze.





Kamcord


Kamcord helps mobile gamers capture their favorite moments and share them with the world via YouTube.




Stay tuned for more YouTube developer stories in the future, visit YouTube.com/developers to learn more about YouTube APIs and start your own story.

-Amanda Surya and the YouTube for Developers team

Committing to the YouTube Data API v3

Since the YouTube Data API v3 launch in 2012, many of you have used the v3 API to create integrations like Next Big Sound and Interesante.

The YouTube Data API v3 is now on the list of APIs identified in our deprecation policy, which means we will notify developers a year in advance before deprecating v3. Note, however, that some specific v3 features are excluded from this notice requirement. You can find the list here. As a reminder, v3 gives you the ability to get information about Freebase topics associated with the videos, more search features, improved client libraries support and much more.

To focus on improving v3, it’s time to say goodbye to our old friend, v2. In keeping with deprecation policy, most API functionality will remain available for use until April 20, 2015, so you have more than a year to move to the new API. See the deprecation policy in the Terms of Service for more details.

While v3 offers the majority of v2 functionality, there are currently a couple of tasks that can only be done with the older API. Specifically, applications that manage captions or that work with video comments still need to use the v2 API until modern equivalents are available. Our goal is to provide similar functionality well before the April 2015 shut-off date—please subscribe to this blog, the YouTube Data API v3 revision history page, or follow +YouTubeDev on Google+ to keep up-to-date.

If you’re a v2 developer who’s looking for help migrating to v3, the best place to start is with our documentation and FAQs. We've also made several videos that explain v3 concepts, such as registering for API access and handling authorization with OAuth 2.0.




Cheers,