Questions tagged as 'youtube-api'

0
answers

How to hide iframe's top bar (title and logo) Youtube

After the Youtube API Update in September, the "showinfo = 0" command stopped working in iframes. Is there any way to hide this top bar (Title, logo, option to share and view later)? Anotherissue:Isitpossibletoinsertaclassinsidetheiframestru...
asked by 29.11.2018 / 20:39
1
answer

Set, fetch and check a Cookie after a video (YouTube API) finish - JavaScript

I need the browser to understand when a user viewed a YouTube video (YouTube API) to the end and records that, but all client-side. But even though I already have the function that recognizes the end of the video, I can not use and fire other fu...
asked by 05.10.2018 / 20:13
0
answers

Problem with Promises in javascript (discord bot)

I'm not getting any way to make a part of the code that works with promises work. In the code, I do a check in arrays (obtained by a json) to know if youtube video is blocked or not, however, I need the rest of the method to wait for that part t...
asked by 11.10.2018 / 06:42
0
answers

API youtube v3 - share private videos

I've got my app catching up with the Youtube API v3, my live when it's live. I called with jQuery using the GET method - link with the parameters: part: 'snippet', channelId: 'ID_DO_CANAL', eventType: 'live', type: 'video', key: 'MINHA_AP...
asked by 27.08.2018 / 20:01
0
answers

Capture and hide elements of an Iframe in JavaScript

Next, I have a web application where I stream an application using Hangouts On Air. I incorporate the iframe that is generated for me from youtube and game on my website. But I would like to block or make it difficult to access this video on You...
asked by 10.08.2018 / 04:17
0
answers

check if live youtube is on

I'm having a doubt that I'm running out of time, I need to recover the live status of my channel to manipulate on my site, I need to get the live status if it's ON I'll get the url and get it on the site There is some way to do this, I tried...
asked by 22.07.2018 / 08:37
0
answers

Make results appear by relevance level

I have a JS query that returns me the songs of an artist when searching for the name of the artist, can someone tell me how I can make the songs appear by level of relevance? That is, from the most famous to the least famous? I'm using the youtu...
asked by 13.05.2018 / 15:19
1
answer

Autoplay of videos when finished

I have the following code <div class="col-lg-12" style="padding:40px 10px 40px 10px;"> <div class="col-lg-1" style="padding-right:0;margin-top:20px;"> <i class="fa fa-chevron-left fa-4x"></i> &...
asked by 05.03.2018 / 20:16
0
answers

See video time of a youtube iframe?

On my website, I have a iframe that is entered in the database for submission and I would like to see the length of the iframe video. However, I tried to use Youtube API but I did not succeed. The iframe gets a id...
asked by 27.02.2018 / 19:14
0
answers

Start an youtube iframe past a certain time?

I would like my player to be a kind of autoplay in the video. I know I could do this. setTimeout(function(){ $("iframe").attr("src", src+"&autoplay=1"); }); But with the code above, it would interfere with other parts of m...
asked by 06.03.2018 / 18:57