Questions tagged [youtube-api]

The YouTube APIs and Tools enable the integration of YouTube's video content and functionality into a website, application, or device.

0
votes
0answers
6 views

Youtube v3 api not return last video of channel

I call youtube api v3 for get all last 20 videos of channel. All good working but non return last two video. You you have any idea? json_decode(file_get_contents('https://www.googleapis.com/youtube/...
4
votes
3answers
1k views

Getting the sorted playlistItems from google youtube api v3

I am using google youtube data api v3 to get videos in a playlist. Everything is fine but I want the final result to be sorted by date. How can I accomplish this? Following is my query https://www....
2
votes
3answers
1k views

Sorting youtube API, newest first

How to reverse this videos list? https://www.googleapis.com/youtube/v3/playlistItems?part=snippet&playlistId=PLYQWoSxgWOXMjtLQJIikS56pu7eJusSKW&maxResults=25&pageToken=CB4QAA&key=...
12
votes
5answers
7k views

Sorting Youtube API result from playlist

I have been struggling with Youtube's API v3 now and I can't get it work in the way I want. My goal is to load the latest videos from a selected playlist into my website. The problem is that I only ...
0
votes
1answer
15 views

What all detail will get from youtube api by just passing forUsername param

I need to fetch all possible user details of a user by just providing a username from youtube API. I need to know the response forUsername
1
vote
0answers
9 views

Does minimize requests fields saves more quota?

Since YouTube Data API comes with quota limitation, so we could trace our quota based on sent requests with given quota in the documentation. But the documentation only comes down to "part" level ...
0
votes
0answers
18 views

Is there a way to redirect incoming data streams with youtube-dl?

I download my video this way: try: name = random_string(10) ydl = youtube_dl.YoutubeDL( {'outtmpl': name, 'progress_hooks': [hook_func]}) print('Start ...
-3
votes
0answers
14 views

YOUTUBE api V3 search 總是respond 403 “Daily Limit for Unauthenticated Use Exceeded. Continued use requires signup.”

I am using Youtube api V3 to make my own side project However, when using the search api, always respond 403 "Daily Limit for Unauthenticated Use Exceeded. Continued use requires signup." Youtube ...
-4
votes
0answers
9 views

Is it legal to create music app like spotify using Youtube API? [on hold]

We are developing one music app using youtube api and make it public to make money. In order to use this app, someone needs to pay, so we are not selling directly the youtube videos,
1
vote
1answer
28 views

Youtube clip auto play and start from beginning when pressed

Is it possible to have an embed YouTube clip on your website that auto-plays when you load the page and when you press the clip it starts from the beginning <iframe width="420" height="315" src=...
0
votes
0answers
27 views

Youtube Player Api Get Screenshot

There is an iframe on this page I want to get a screenshot from the video tag, so I have to reach video tag that in the iframe tag. When I open the console and run this code: const videoElement = ...
1
vote
1answer
263 views

How to upload videos on Youtube using AWS S3 as Video Source

I have a VIDEO CMS hosted over AWS EC2 where user can upload videos and later share on Facebook and Youtube. I push videos to S3 after uploading and delete it from EC2. Now I want to use S3 to share ...
0
votes
2answers
362 views

YT.Player doesn't return an instance with playVideo()

When I create an instance of YT.Player(HTMLIFrameElement, { options }) I get back an object that has: destroy setSize getIframe addEventListener getVideoEmbedCode getOptions getOption But not ...
9
votes
2answers
14k views

Youtube Iframe: onYouTubePlayerAPIReady() not called

I have a page with an iframe which load a youtube video (the src of iframe is modified in runtime). I based on code by Rob W provided in different answers on this topic <iframe id="browser" class="...
1
vote
3answers
4k views

How to parse YouTube returned date to timestamp?

YouTube returns the Updated date and Submitted on date as follows: 2010-08-22T04:46:18.000Z Is there a PHP function, or a date mask that parses this?
1
vote
0answers
32 views

Developer console not working of YouTube Data API v3

Credentials page not working of YouTube Data API v3. I accessed https://console.developers.google.com and show Dashboard page. I inputed YouTube Data to filter and selected YouTube Data API v3. Show ...
0
votes
1answer
15 views

Google.Apis.YouTube.v3 compiling channel statistics fail “The uri string is too long”

I'm trying to compile channel statistics for a list of channels and for the first page it works, but when I invoke the next page using the token it gives me an error that the URI string is too long. ...
-1
votes
2answers
1k views

How to get all videos of Channel from Youtube API with statistics

With the below URL I am able to get the channel videos but how to get video statistics (viewCount, likeCount etc) along with it? https://www.googleapis.com/youtube/v3/search?key={MY_API_KEY}&...
1
vote
0answers
26 views

Youtube default LiveBroadcast being created without a bound stream ID

As part of our application flow, we create default LiveBroadcasts for the users to stream too. For most of our users the default LiveBroadcasts are automatically bound to the default LiveStreams, ...
0
votes
1answer
77 views

How to get a video from a youtube playlist by count using java?

I need to get a YouTube video from a playlist. How do I get the items from a playlist? Is there a way of parsing them into a list (so that I'm able to filter a specific video out of it)? I'm using ...
0
votes
1answer
73 views

YTPlayerView controls settings don't affect fullscreen mode

I'm trying to play a youtube video in my iOS app using "YTPlayerView". My aim is to play video in fullscreen, don't show any controls, and close it on the first tap to the screen. If I play video ...
0
votes
0answers
21 views

How to could I get list of my subscribers in C# using Youtube API V3?

I want to make an app that can show me the list of my current subscribers, I want to get the channel id. I have seen the Doxygen docs, but I can't get how to work with the API. I have tried to ...
0
votes
0answers
34 views

How to play multiple Youtube video sounds (one at a time) with one button only

I am trying and almost succeeding to play sound from Youtube videos, using only one on/off button. All the rest is working fine, tooltips and name change, except that I am not able to change the song ...
0
votes
0answers
34 views

Is it possible to get all the video ids of a youtube playlist when there are more than 100,000 videos in the list?

For a youtube playlist with more than 100,000 videos (e.g. the playlist id UUHTK-2W11Vh1V4uwofOfR4w has more than 450,000 videos), it seems that it is only possible to get the video ids for up to 100,...
0
votes
0answers
19 views

Why does the YouTube Analytics API return 403 (reason: 'forbidden' ) when subscribedStatus is one of the dimensions for some channels

I'm facing an issue in retrieving data from Youtube Analytics API. The response from the API endpoint youtube.reports.query returns error code 403 and the reason is 'forbidden' while having ‘...
0
votes
0answers
23 views

How to query video metadata from Youtube's channel

I need to develop a tool to query metadata from video list. It worked well with normal account but for Youtube's partner's channel it does not, although all permissions are assigned. The figure below ...
0
votes
0answers
19 views

How to configure advanced option?

I need to configure some advanced options for YouTube videos, such as enabling promotional content, adding cards, etc., is there any way to do this using the YouTube Data API? Currently I do not see ...
1
vote
1answer
38 views

How to minimize youtube API credit usage?

We have an app that calculates some metrics from our users' videos on youtube, (about 400k-ish videos at present, rising steadily) - I can initially get the data about their uploads since our users ...
0
votes
0answers
28 views

unable to play pause youtube video in iphone 6

i am using Embed YouTube Videos in iOS Applications with the YouTube Helper Library with objective c. here i am unable to play or pause video by touch gesture in all iPhone versions. i have tried to ...
4
votes
3answers
3k views

YouTube Data API v3 does not support 500 characters for ‘tags’ property of Video.snippet resource

We have encountered an unexpected limitation of less than the documented maximum 500 characters for the video ‘tags’ property, both when entering Tags directly into the YouTube UI interactively or ...
1
vote
0answers
13 views

Get series playlist from youtube video via API

Youtube now allows a video to be added (by the creator) to one, and only one, series playlist. Given a videoId, I'd like to be able to get the id of the series playlist (if a video has one) via the ...
0
votes
1answer
61 views

Youtube API video list returns less results than indicated

I am running a query on my own youtube channel to retrieve all the video titles. I have 680 videos but can only get about half of them. What I have done is create a code that iterates all the years ...
0
votes
1answer
28 views

Get latest videos of multiple YouTube channels via YouTube API?

I'm currently building a web-app which will display the last videos of a youtube channel. My problem is, that the YouTube-API only allows 100 requests per day, which are way less than I need. So my ...
0
votes
1answer
29 views

YouTube Data API Maximum queries quota per day decreased to 0 and cannot set any number

Our projects queries quota limit per day suddenly decreased to 0 without any explanation by Google. We are using YouTube Data API for our project and are almost releasing the app. So we requested ...
2
votes
2answers
287 views

How to disable clicks on YouTubePlayerView?

I want to implement YouTube Player View on my app, but since my app is an alarm clock, i don't want the user to be able to pause/stop the video or to change the volume. I tried to put a view on the ...
0
votes
1answer
13 views

sidequestion - pauze video on escape button (escaping fullscreen)

side question to: Make youtube video fullscreen using iframe and javascript API i have a side question: the codepen code of 'Alkindus' works great thanks! (i hided the video with 'height:0;' and ...
15
votes
6answers
49k views

Make youtube video fullscreen using iframe and javascript API

I have an embedded youtube video with hidden controls: <iframe id="ytplayer" type="text/html" width="400" height="225" src="http://www.youtube.com/embed/dMH0bHeiRNg?rel=0&controls=0&...
0
votes
3answers
105 views

Youtube API - how can I exclude unlisted videos?

I'm using google api client to call YouTube Data and YouTube Analytics APIs and get video stats. I'm authenticated as the owner of the channel I am querying. I am interested in only getting the ...
0
votes
1answer
76 views

YouTube Data API : Inconsistency between /playlistItems and /search endpoints

I'm trying to fetch all the videos in a channel. I've noticed an inconsistency between the number of results returned by /search and /playlistItems. When using /search, totalResults = 20 and 20 items ...
0
votes
2answers
452 views

YouTube API: Not getting all videos of the given channel

I have been trying to get all videos of a given channel ID. But I am not getting all videos code I tried to retrive all the videos of the channel: api_key = API_KEY base_video_url = 'https://www....
0
votes
1answer
68 views

Need help retrieving items in multiple playlists

Got some code that works just fine and will retrieve all the items in a specified playlist but need to amend it so it can loop through an array of playlists and retrieve all items in each list. I've ...
0
votes
1answer
33 views

Retrofit call contains error Required retrofit2.Call, found void

Hello I recently started retrofit While implementing the code im getting this error Incompatible types. Required: retrofit2.Call <java.util.List<com.my.package.Youtube.YoutubePost>> ...
0
votes
0answers
16 views

Youtube events via API for my channel, when user clicks on a button in website using php

I want to create events in youtube, I have tried to use API but it creates event in the user who is currently logged in and authorized. But I want all my users to create youtube events in my channel....
0
votes
0answers
13 views

Is there any way to retrieve all video URLS in a youtube channel or userid? [duplicate]

I found several answers in here, but since youtube api v3 have result limitation (max=50), nothing works with a channel with huge videos. I tried manual way (load all pages by hand and get URLS), but ...
0
votes
0answers
11 views

How do i contact youtubers via api or messaging system?

I am trying to contact youtubers to test out a game that i am creating. The only problem is that the messaging system through google + has been discontinued. Dm through google + . messaging system ...
-6
votes
1answer
56 views

Does Youtube-dl use Scrapy or Beautiful Soup library? [closed]

Is there any part of Youtube-dl which uses Scrapy or Beautiful Soup library?
1
vote
1answer
100 views

How to get GTM's built-in YouTube trigger to fire on videos played in modal created via JS click function

I have a page setup that displays several images that when clicked play their respective YouTube video within a modal. This works fine, however I am now wanting to implement some tracking (Google ...
0
votes
0answers
13 views

Status of Application for API Exception

How do you check on the status of your application for Youtube API Compliance? I received an email asking for more information which I responded to but have been unable to successfully check to see if ...
-1
votes
0answers
6 views

question for youtube private live broadcast API

I need information & help about youtube live boardcast API for private mode: how much user I can invite to 1 my live private boardcast? is there an API to make the system invite users (e-mail) to ...