Tag Archives: YouTube API

JavaScript parsers: YouTube channel to JSON

via JavaScript parsers: YouTube channel to JSON.

Hello developers! Today I want to show you how its simple to parse YouTube channel to JSON. And in the next post we will be convert JSON to valid MySQL queries to export it into database.

If you don’t know nothing about selfXSS JavaScript or how to work with Google Chrome developer console you can find it in my previous post.

This post is a part of my “JavaScript Parser” series and now we will be use knowledges from my previous post and make some new thinks in this.

You can use any of YouTube channels to make test parser – for example I will use Tiesto`s channel. First what I gonna to do it’s open it in Google Chrome new tab. After that let`s open Google Chrome developer panel and go to “Console”.

Using the YouTube API to Embed Video in an Android App

via Using the YouTube API to Embed Video in an Android App.

The YouTube Android Player API enables you to incorporate video playback functionality into your Android applications. The API allows you to load and play YouTube videos (and playlists) and to customize and control the video playback experience.

You can load or cue videos into a player view embedded in your application’s UI. You can then control playback programmatically. For example play, pause, or seek to a specific point in the loaded video. You can register event listeners to get callbacks for certain events, such as the player loading a video or the player state changing. The API also has helper functionality to support orientation changes as well as transitions to fullscreen playback.

To get started, create a new project. I called mine VideoTube. In the Next screens of the Android Studio wizard select API 10, Blank Activity and MainActivity as the activity name.

Before using the Android Youtube API, you need to register your application, including your digitally signed .apk file’s public certificate in the Google Developers Console. To register the application, follow these steps.

  1. Go to the Google Developers Console
  2. Create a new project. I named mine VideoTube.
  3. On the page that appears after project creation, expand APIs & auth on the left sidebar. Next, click APIs. In the list of APIs, click on YouTube Data API and enable the Youtube Data API v3 on the page that follows.
  4. In the sidebar on the left, select Credentials. For credentials, the API supports OAuth 2.0, the use of an API key and of a Service account. We’ll use the API key option.
  5. Select API key from the Add Credentials dropdown menu. A popup will appear for you to specify the key type. Select Android Key. Next select Add package name and fingerprint and add the Android app’s package name (Mine is com.echessa.videotube) and then run the following command in Terminal to get the SHA-1 certificate fingerprint.

React Native Youtube Animated Video Slide

via React Native Youtube Animated Video Slide — JavaScript Without Grammar.

I was going to spend some time digging into gl-react-native when someone asked in the slack channel how to achieve youtube like video sliding navigation. Now I won’t get into the navigation portion, just the animation part. The navigation portion can be solved by basically treating video routes as a modal. Thus they are always over the top of whatever the previous route was.

How to Control YouTube’s Video Player with JavaScript

via How to Control YouTube’s Video Player with JavaScript | Tutorialzine.

YouTube has become the standard way for delivering high quality video on the web. Sometimes, when you embed a video in your web application or landing page, you need a great deal of control on what and how is displayed. This is why we are going to show you how you can use the YouTube JavaScript Player API.

How to Integrate Google Sign In into Your iOS Apps

via How to Integrate Google Sign In into iOS Apps Using OAuth 2.0.

In my last tutorial we worked with the YouTube API, and through the demo application we managed to make requests to that specific Google API. Actually, we created anAPI key prior to any request, as that key was vital for every request that was about to return data back to our application. This time, we’ll continue working with the Google APIs, and my goal is to show you how to makeauthorized requests after a user has signed in with the Google in the application.

For this purpose we are going to use a special SDK, namedGoogle Sign-In SDK. This one provides all the necessary classes and functionalities we need in order to:

  1. Add the default Google Sign In button in our app.
  2. Go through the whole user authentication process using the OAuth 2.0 protocol and get the necessary tokens.

AngularJS Module to embed Youtube videos

via ArunMichaelDsouza/ng-youtube-embed · GitHub.

Superlight (less than 2KB) and easy to use! Support for Youtube player parameters. No 3rd party JS dependencies.

Building a Video Search App with YouTube API

via How To Use YouTube API in Your iOS Apps.

It’s a well-known fact that Google provides a big number of electronic products and services that can be used from the simplest end-user, to the most sophisticated one. But further than those who just use the Google services as they’re provided, there are people who need to have a different kind of access to them; developers. Indeed, Google gives great assistance to developers of all kind to create multi-platform applications that use their services, as it provides various Application Protocol Interfaces (APIs) that can be used in many ways, as well as already-made libraries and SDKs for various programming languages.

As the Google APIs and services can be utilized in mobile platforms as well, apparently we could not just be left uninterested here, and as a matter of fact, we’ve already dealt with Google technologies in the past. For example, here’s a tutorial about the Google Maps SDK. Now, in this tutorial, we’re going to see for first time a totally different service, the YouTube API.