Questions tagged as 'youtube'

2
answers

Change the id of a Youtube video in HTML

I'm trying to change the id of a video in my html, which is in another javascript file, where the youtube API is created. I also read the ids of a JSON file. HTML <div class="video-container"> <div id="player"> <scri...
asked by 07.05.2016 / 14:37
1
answer

iframe does not auto-reproduce on screen responsive mode

I have the following iframe with autoplay, in my Google Chrome normal mode it plays perfect, but if I enable the development tools and put the screen in responsive mode, it stops auto-playing, leaving only the preview of the video with th...
asked by 26.04.2017 / 09:16
1
answer

Get audio from Youtube Live Streaming

Is there any way to get ONLY the url of the audio track of a live YouTube broadcast? I'm trying with the Pafy and Youtube-dl libraries but I only get mp4 files, there are no m4a files like in the rest of the videos. streams = video.audiostr...
asked by 04.07.2017 / 22:35
1
answer

Failed to execute 'postMessage' on 'DOMWindow' API Youtube

The situation is as follows: I have 2 YouTube videos that are hidden, when I click the link this opens the video. Now trying to use the Youtube API, which I want to give me some data, I mark the following error: Failed to execute 'postMe...
asked by 02.08.2016 / 17:47
2
answers

How are youtube actions controlled using javascript?

What I want to do is that when I click on the close button of my modal, it stops me the video that is playing, for the moment the video remains playing in my website, currently it I'm trying this way: Youtube Object <center> <objec...
asked by 30.08.2017 / 05:22
1
answer

Violation Long running JavaScript task took xx ms

I have implemented a video <iframe> of youtube on a page and I get this notice in Chrome 56 : [Violation] Long running JavaScript task took xx ms (50ms allowed) www-embed-player.js Should we worry? In FireF...
asked by 26.02.2017 / 03:00
0
answers

YouTube videos with ReyclerView Android [closed]

How do I do this? that are updating themselves     
asked by 12.07.2018 / 20:00
1
answer

Collect video thumbnail of youtube API

If I have the URL of a Youtube video. How can I access the thumbnails of that same video?    Publication in English: link     
asked by 05.11.2018 / 15:23
1
answer

Error parsing header X-XSS-Protection: 1; mode = block;

I am trying to attach to my website a simple iframe taken from youtube. The issue is that (work with wordpress), do it from the code or do it through custom fields with an editor, or direct in a post gives me the following problem. Error parsi...
asked by 06.03.2018 / 15:12
1
answer

API Youtube V3 JSON - PHP

I want to get dynamically with the title of the post, the "videoId" of youtube on my page to show the automatic videos:   link <? $nombreproducto = $product->name; $googleApiUrl = "https://www.googleapis.com/youtube/v3/search?pa...
asked by 03.01.2019 / 13:22