Top "Youtube-iframe-api" questions

The IFrame player API lets you embed a YouTube video player on your website and control the player using JavaScript.

Failed to execute 'postMessage' on 'DOMWindow': https://www.youtube.com !== http://localhost:9000

This is the error message that I get: Failed to execute 'postMessage' on 'DOMWindow': The target origin provided ('https://www.…

javascript angularjs youtube youtube-api youtube-iframe-api
YouTube: How to present embed video with sound muted

I'm trying to embed a video with the sound muted but I can not figure out how it make it …

html youtube youtube-iframe-api
How to remove youtube branding after embedding video in web page?

I am using <iframe width="550" height="314" src="https://www.youtube.com/embed/vidid?modestbranding=1&amp;rel=0&amp;…

javascript html youtube-iframe-api
Force iframe YouTube video to center fit and full cover the screen in the background using HTML5 CSS3

How do you force HTML5 iframe YouTube video to center fit, cover the full-screen window background using CSS3 HTML eventually …

html css video background youtube-iframe-api
youtube iframe api parameter rel=0 doesn't work

I need to hide related videos after watching the video. I set rel=0, but it is not working. I am …

youtube-iframe-api
Uncaught ReferenceError: ytcfg is not defined (also __ytRIL is not defined)

I have been using the YouTube IFrame Player API without problem for months and started to see this exception recently …

javascript youtube-iframe-api referenceerror
onYouTubeIframeAPIReady() not firing

I've looked through so many questions and the youtube api stuff but for the life of me can't figure out …

youtube-api youtube-iframe-api
Hiding YouTube embed title and 'More videos' (Updated)

Is there an official way to hide the title and the More videos section from a YouTube embed (latest version …

youtube-iframe-api youtubeplayer
Lazy Load youtube video from iframe API

I want to lazy load the youtube video with iframe API. ie. load only the poster image in the beginning …

javascript jquery youtube youtube-iframe-api
Youtube iframe api allow="autoplay" Chrome 65

Chrome 65, the current canary version, is blocking iframed youtube videos from auto playing with sound. The latest changes to Chrome …

iframe youtube-api youtube-iframe-api