youtube-javascript-api Questions

4

Solved

I am trying to add multiple videos to a playlist, but only one video is added to the playlist. I can successful create a playlist and insert a video to the playlist, but can not insert multiple vid...

6

Solved

How can I manipulate a date time in the format PT#M#S with JavaScript? for example: PT5M33S I'd like to output as hh:mm:ss.
Rimrock asked 27/9, 2013 at 23:1

6

Solved

I have multiple YouTube iFrames embedded on a page. If one of the movies is already playing, and a user then decides to start playing a different movie, is it possible to stop playing the first mov...
Hersch asked 18/2, 2013 at 18:26

2

Solved

I try to use the Youtube Data Api V3 with javascript So i have this simple code : <script src="https://apis.google.com/js/client.js?onload=googleApiClientReady"></script> <script ...
Liquorice asked 16/1, 2014 at 19:33

3

I'm getting this error: Failed to execute 'postMessage' on 'DOMWindow': The target origin provided ('<URL>') does not match the recipient window's origin ('<URL>'). My page operates as...
Bettiebettina asked 25/8, 2019 at 21:30

7

i am not able to autoplay my video please help in this. my sdk version android:minSdkVersion="14" android:targetSdkVersion="19" /> i tried to put java script as specifed in code: public v...
Placencia asked 20/1, 2015 at 6:42

2

Suppose I want to find list of videos which have the phrase "French presidential election" in its subtitle. Can I do this using YouTube API? It will be perfect if it can even search within both ...

7

Solved

I want to be able to control iframe based YouTube players. This players will be already in the HTML, but I want to control them via the JavaScript API. I've been reading the documentation for the ...
Armhole asked 16/9, 2011 at 10:49

8

Solved

Is there a way to get ride of the "play on youtube" button that is overlayed on videos when they are embedded? I looked into using the chromeless youtube player but couldn't figure out a way to rem...
Denadenae asked 19/12, 2011 at 16:58

3

Quite simple. If I use this code: https://www.youtube.com/embed/d0yGdNEWdn0?&hl=en&cc_lang_pref=en&cc_load_policy=1 With: hl=en and cc_lang_pref=en to choose english AND cc_load_pol...
Corollaceous asked 30/3, 2016 at 23:15

2

Solved

Looking for some insight into how to get video information using youtube's v3 api. When passing the url, the json response I get is: {"error":{"errors":[{"domain":"global","reason":"sslRequired",...
Grand asked 30/5, 2014 at 17:12

4

Solved

I'm writing a Chrome Extension in Javascript and I want to get the current time for the playing video on youtube.com. I tried using the answer from question Getting Current YouTube Video Time , e.g...
Shaeffer asked 3/4, 2014 at 17:12

3

Solved

Removed Unwanted Code DEMO Hey, I am implementing Youtube Video Player Api and i see some sort of error in console. any how the video plays perfectly, but i want to know why the error is? if i ke...

3

Solved

YouTube thumbnails are appearing terrible when embedded in a webpage via the iFrame code. Once the video starts playing, the quality looks absolutely fine. Here's an example video: http://jsfiddle...

1

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 ...

7

I am struggling with setting up the loop for youtube videos using youtube player api. The problem is that the video is not running under a loop. Here is my code var tag = document.createElement(...
Badoglio asked 16/10, 2013 at 18:16

14

Solved

I am trying to use the Youtube API to pull in all the videos from a particular channel. I set up the project in Google Developers Console and got an API browser key. I enabled YouTube Data API v3 a...
Earlineearls asked 4/4, 2014 at 18:10

2

Solved

Since Chrome update to version 72, my custom player that runs over the YouTube Iframe API stopped working. It still works perfectly on Firefox or Chrome <= 71. Using the code below, when functi...

1

Solved

I'd like to be able to extract frames from YouTube videos at various points within them (not just at the thumbnails), and do some processing on them. I can embed the video in my website using the i...
Plethora asked 16/2, 2019 at 22:25

2

Solved

I've been trying to get the view count on videos that I query through the following method: function search() { var request = gapi.client.youtube.search.list({ part: 'snippet', channelId: 'IRR...
Alleviative asked 22/6, 2014 at 0:26

5

I have numerous youtube video clips, and I was wondering if it is possible to embed them on the site as youtube playlist, so that the next video starts playing automatically once the clip fin...
Rapturous asked 19/4, 2013 at 22:53

5

Solved

I'm embedding YouTube videos in a widget (http://www.betterdonatebutton.com) to help non-profits raise money. Unfortunately, some of them are not technically inclined enough to turn off ads that di...
Latty asked 20/12, 2012 at 22:6

0

We have an iOS app with a UIWebView that loads YouTube iframe player to play youtube videos. After iOS 11.3 released we found that there are a lot of javascript core crashes. On Fabric crashlytics ...

2

Solved

I've managed to start the video and end the video at the times I need, but is there any way to loop this? The loop option doesn't seem to be doing much. Fiddle: https://jsfiddle.net/u7nkz292/ Cod...

2

I would like video start to play when use clicks on the specific element on my site. I tested vimeo player and youtube video player It works great on the desktop, but when I tested on the iPhone it...
Sparse asked 27/11, 2013 at 13:34

© 2022 - 2024 — McMap. All rights reserved.