Retrieving Youtube metadata on Android device - youtube

I am building an Android app that needs to know what the user is playing on Youtube in real time.
Is it possible to receive the Youtube metadata broadcast like you can with music apps?
Thanks

Related

Chromecast support for youtube videos played via the youtube player API

When I watch videos in the official youtube app on my Android device, I see the familiar cast icon in the toolbar, which sends the playing video to my chromecast.
I want to write my own app that uses the official youtube player API for Android. Playing with the Android samples (https://developers.google.com/youtube/android/player/sample-applications), I've noticed that the chromecast icon is missing.
What is the best way to add chromecast support to my app which uses YoutubePlayerView or YoutubePlayerFragment to play videos?
Well, if you want to use chromecast for the YouTube API, then you can start by knowing how to integrate Cast in an Android App. You will learn here the basic information that you need to know. Also, check this YouTube Android Player API to know how it is works.
I found here a demo that shows how to integrate YouTube APIs with Chromecast. It is designed for developers who are learning about the Chromecast SDK or YouTube APIs, or for those wishing to run a code lab on various Google technologies.

How to safely store videos on iOS device (encrypted)?

I'm building an app that is supposed to play video streams (f4v) from Adobe Media Server.
One of the features requires the videos on the device for offline playing. These are premium subscription only videos and we would like registered users only to be able to play them.
Is there any way that I can store them on the iDevice, possibly encrypted, so the videos can't be stolen even if the filesystem on the device is being accessed ?

Access Apple Music Api outside iOS

I'm looking at creating a playlist creation tool for Apple Music.
Apple just release an api for iOS that allows this functionality. Does anyone know if it is possible to use this api from NodeJS or some other service side technology?
Music Api Doucmentation
https://developer.apple.com/library/ios/releasenotes/General/WhatsNewIniOS/Articles/iOS9_3.html
Apple Music Api Announcements
https://affiliate.itunes.apple.com/resources/blog/new-apple-music-api/
No that's not possible with the current API. "An Apple Music API is now available that allows iOS Apps to directly control Apple Music playback for Members among other features." The API allows iOS to interact with the music app locally on the user's device. Not remotely from a server.

Is there an API for sending Youtube links to the Youtube applications on Tivo/Smart TVs?

I'm having trouble finding documentation on Youtube's developer website whether there is an API for "Youtube for Devices" to send videos to set top boxes like the newer Tivos and similar players.
There is a feature in the Android app that allows a Youtube video to be played via the Tivo when you hit a button, similar to Chromecast.
I thought it might share an API with Chromecast in some way, but I tried the Chromecast extension on Google Chrome for Windows and it failed to detect the Tivo.
Is there an API for this, or is it a proprietary feature of the Youtube app?

API for youtube TV pairing in android

I wonder is there open android API for Youtube TV pairing.
As I know, we can control Youtube on TV or browser(www.youtube.com/tv) using Youtube on mobile or "Youtube remote" app in play store.
But to do this, we should pair Youtubes in TV(or browser) and mobile first.
I try to find some API related with paring or youtube paring application, but I can't.
Please let me know it is possible to use Youtube pairing API for android.
ex)API for generate pairing code.
If you're looking to build general "pairing" functionality, this can be done using something called "OAuth for Devices". You could add videos to a playlist which is being autocycled in a browser. A demo of this functionality is here, with source code for the sample app in Python here.

Resources