How to create YouTube owner button to open Hangouts? - youtube

How to create button for owner YouTube account for opening streaming live video?
In YouTube, on Creator Studio in "Live Streaming" there is list of events. Each events with status "Live Now" has button "Resume Hangout On Air". This button has property named data-token which allows to open Hangouts.
The link looks like: https://hangouts.google.com/hangouts/_/ytl/[data-token]
The question is, how I can get data-token from YouTube API or maybe there are other ways?

Related

Youtube API 3 get latest videos - but I want the URL to just open and PLAY that video

So, I have read numerous sites and a bunch of code that can find "the newest video" uploaded or Published, but NONE of them show how to format a URL LINK to just open THAT most recent video in a new tab/window and PLAY it.
I am missing something, obviously, and would love direction and help.
Here is the code that locates the correct video listing...
https://www.googleapis.com/youtube/v3/search?part=snippet&channelId=Myin&maxResults=1&order=date&type=video&key=MyinAlso
And it literally shows up in a new tab, but just white code on a black background - NO VIDEO.
I would love this URL to just open and play that Newest uploaded/streamed video.
I have tried appending "watch?v=" with such items as "playnext=1&index=1", "videos.xml?channel_id=Myin&orderedby=published&playnext=1&index=1" and many other variations of these and other switches/directories/commands - all as links only.
By channel, playlist {when correct one is chosen} works using some variation - but - the newest Live uploaded video only exists in a non-existent list under "/streams", named or "filtered" as "Recently Uploaded" on the "LIVE" tab, or also in another non-existent List/category on the "Home" tab, named "Past Live Streams".
I just want a link that I never have to change, to play the Most Recently Uploaded Live video. This should NOT be this hard and frustrating.

Is there any way to listen the youtube channel events?

The requirement is to get events (subscribe button click ,like button click , comments , etc ) from youtube to my Nodejs or php application.
I found some websites like livestreamalerts.com, they are providing feature like this
Thanks in advance. :)

How do I deep link to Netflix on tvOS?

I'm hoping to open a deep link to a show or movie in the Netflix app on the new 4th gen Apple TV.
I'm able to make deep linking work on iOS. The link below will open the Netflix app to a specific show or movie.
nflx://title/{showID}
for house of cards it's: nflx://title/70178217
When I try the same format on Apple TV, all that happens is the Netflix app opens without opening a specific show or movie. Siri search can open the app directly to a media item, so it seems like there should be a way for this to work.
Figured this out. Turns out you can use the regular netflix url structure, but replace http with nflx.
nflx://www.netflix.com/title/70291117 - Will open a show page
nflx://www.netflix.com/watch/70291117 - Will begin playing the video

Youtube-API: How to determine if I liked a video before?

I am developing a client of Youtube for iOS devices. I want to check if logged user did Like or dislike a specified video or not. But I can't find any support API (here)
When I load the feed of videos, I just found rating information below , No thing shows that logged user liked or disliked this video.
{
"gd$rating":{
"average":4.8963733,
"max":5,
"min":1,
"numRaters":193,
"rel":"http://schemas.google.com/g/2005#overall"
},
"yt$statistics":{
"favoriteCount":"0",
"viewCount":"111626"
},
"yt$rating":{
"numDislikes":"5",
"numLikes":"188"
}
}
Did I make any mistake?
It can be done using YouTube Data API v3.
https://developers.google.com/youtube/v3/docs/videos/getRating
This is API v3, checkout this page :
https://developers.google.com/youtube/v3/docs/playlists
Currently, The official client youtube on android and iOS devices does not support this. User can't see that he/she liked or disliked a video. And, when I press "like" or "dislike" on iPad youtube app, the number of like on the youtube web does not change.
Unbelievable!

YouTube API, Can I add a developer tag to an uploaded video?

My youtube videos have no developer tag and now I want to add one for them
I can get the videoEntry for those videos
I can add new developer tag as new MediaCategory
I can add MediaCategory as new Category to my video entry (displayed fine)
After I called VideoEntry.update() and use my own function to display the developer tag, it shows me the video has no dev tag. The function is working since I tested with my newly uploaded video(with dev tag during uploaing process)
My question is, Is it possible to add a developer tag after a video had been uploaded.
If possible, What's the essential steps? Do I use VideoEntry.update() ?
I currently have the same problem. According to this, you cannot add developer tags after the video has been uploaded. I do not know why Youtube has this restriction.

Resources