Top "Youtube-javascript-api" questions

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

YouTube iframe API: how do I control an iframe player that's already in the HTML?

I want to be able to control iframe based YouTube players. This players will be already in the HTML, but …

javascript youtube-api youtube-javascript-api
How to pause a YouTube player when hiding the iframe?

I have a hidden div containing a YouTube video in an <iframe>. When the user clicks on a …

javascript youtube-api youtube-javascript-api
Embed YouTube Video with No Ads

I'm embedding YouTube videos in a widget (http://www.betterdonatebutton.com) to help non-profits raise money. Unfortunately, some of them …

youtube-api youtube-javascript-api
How to get the mp4 url for Youtube videos using Youtube v3 API

How do I get the full mp4 url to play the video from it's actual location in my application using …

youtube youtube-javascript-api youtube-data-api
How to embed youtube videos as playlist

I have numerous youtube video clips, and I was wondering if it is possible to embed them on the site …

youtube youtube-api youtube-javascript-api
YouTube Player API: How to get duration of a loaded/cued video without playing it?

I'm not able to get the correct video duration/length (in seconds) of a loaded/cued video via the getDuration() …

javascript youtube youtube-api duration youtube-javascript-api
Youtube player api with loop

I am struggling with setting up the loop for youtube videos using youtube player api. The problem is that the …

video youtube youtube-javascript-api
Retrieving individual videos view count - Youtube API V3.0 - JavaScript

I've been trying to get the view count on videos that I query through the following method: function search() { var …

youtube youtube-api youtube-javascript-api youtube-data-api
Youtube "Blocked a frame with origin "http://www.youtube.com" from accessing a frame with origin" even if the same protocol is used

When embedding a Youtube playlist I am getting this error: Blocked a frame with origin "http://www.youtube.com" from …

youtube youtube-api youtube-javascript-api