youtube-iframe-api Questions

4

Solved

I have been using the YouTube IFrame Player API without problem for months and started to see this exception recently when the player loads: Uncaught ReferenceError: ytcfg is not defined Inspecting...
Officeholder asked 16/11, 2016 at 0:39

5

Solved

I'm trying to embed a YouTube video with this code: <iframe width="425" height="319" frameborder="0" wmode="Opaque"allowfullscreen="" src=&quot...
Cession asked 29/11, 2012 at 11:52

1

Solved

I am trying to load youtube into my web page using YouTube iFrame Player API, and getting following error while loading: Failed to execute 'postMessage' on 'DOMWindow': The target origin provided ...
Tetrahedron asked 5/8, 2016 at 11:56

0

If the youtube playVideo is triggered by postMessage, the onStateChange will not be fired. (http://jsfiddle.net/nedvedyy/smx92nq0/). Any one runs into it before? <script src="jquery-1.10.2.min...
Christianechristiania asked 15/7, 2016 at 7:3

2

Solved

embedding video in grid system of Bootstrap 3.1, video is not expanding full width of the grid column. How to make it 100% wide to the parent column keeping the aspect ratio? Also, even if I use a ...

2

I embedded a youtube video in a html page. I use the youtube iframe API with Flash (in my case, I cannot use an HTML5 video). Since the last Google Chrome update, Chrome block the autoplay and avo...
Daystar asked 23/9, 2015 at 14:31

3

Using the YouTube iframe embed player, is there a way to trigger fullscreen programatically? I want to remove the default controls (using controls=0) but then have the ability to create custom full...
Brie asked 11/9, 2012 at 2:12

2

Solved

Is there an option in iframe to prevent it from playing video i.e. I have following iframe: <iframe src="https://www.youtube.com/embed/v2ifWcnQs6M" width="468" height="60" ></iframe> ...

1

Solved

I would like to embed a 360 youtube video into a web page and then allow the user to 'look around' by affecting which direction of the video is displayed based on the phone's gyroscope. Does Youtu...

1

My country is starting to apply laws about privacy and cookies. Is there a way to use the Youtube IFrame API without storing cookies?
Cleome asked 2/6, 2015 at 22:43

1

Solved

Currently, we have a YouTube iFrame API setup with the following (pretty boilerplate) code: <script src="https://ajax.googleapis.com/ajax/libs/jquery/2.1.1/jquery.min.js"></script>...
Spielman asked 26/5, 2015 at 20:21

3

I have a URL for youtube : <iframe class="embed-responsive-item" ng-src="https://www.youtube.com/embed/s7gJ74ARN84" allowfullscreen=""></iframe> If i use this in my local html file i...
Ruggiero asked 18/5, 2015 at 11:42

2

When I embed youtube on an HTTPS page using the iframe api in HTML5 mode , it still pulls the actual stream using HTTP, which generates a mixed content warning. Is this usecase properly supported? ...
Lickerish asked 21/1, 2013 at 13:24

3

We're developing a YouTube player and are using the IFrame API. Everything works really nice except on our Android 4.2.2 test devices. Only on those devices (and not on any other version of Androi...

1

I have a problem with the iFrame API on the iPad (iOS 7, Safari browser). When I try to start the video with the 'player.playVideo()' command, the player goes to black and returns a '3'-state when ...
Protochordate asked 19/5, 2014 at 15:13

1

Solved

I am having issues displaying closed caption on youtube videos using the iframe player. Here's the code I am using: <!DOCTYPE html> <html> <body> <!-- 1. The <iframe>...
Swanhildas asked 8/10, 2014 at 17:16

2

I've been looking for a solution for this for a while now and I still haven't found it. Our app needs to poll a YouTube video object using player.getCurrentTime() to drive some screen animations. U...
Perri asked 12/6, 2014 at 17:37

2

Solved

I would like to always show the latest video from a playlist. So, only show one video on the page, but always the most recent of a playlist. When a user has uploaded a new video on YouTube, that la...

0

I'm embedding a youtube video with the following HTML code: <html> <head> <style type="text/css">body {background-color: transparent;color: white;}</style> </head> &...
Embow asked 24/4, 2014 at 13:42

2

More of an "answer" than a "question", but not having found this elsewhere I'm posting it here. I was having difficulty initializing the iFrame API in all versions of IE and Firefox, with a somewh...

© 2022 - 2024 — McMap. All rights reserved.