All Questions

346
votes
4answers
173821 views

Insert code into the page context using a content script

I'm learning how to create Chrome extensions. I just started developing one to catch YouTube events. I want to use it with YouTube flash player (later I will try to make it compatible with HTML5). ma...
1857
votes
24answers
1272877 views

How do I get a YouTube video thumbnail from the YouTube API?

If I have a YouTube video URL, is there any way to use PHP and cURL to get the associated thumbnail from the YouTube API?
129
votes
4answers
137148 views

YouTube iframe API: how do I control a 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 I want to control them via the JavaScript API. I've been reading the documentation for the ifr...
138
votes
11answers
388873 views

Why am I seeing an "origin is not allowed by Access-Control-Allow-Origin" error here?

I am seeing the following error: Origin http://localhost:8080 is not allowed by Access-Control-Allow-Origin with this code: var http = new getXMLHttpRequestObject(); var url = "http://gdata.youtub...
13
votes
1answers
24060 views

YouTube iframe player API - OnStateChange not firing

I have literally just copy & pasted the code from the YouTube developer page YouTube Player API Reference for iframe Embeds (from underneath the heading "Getting Started"). The only difference, is...
79
votes
14answers
110584 views

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 link, this div becomes visible, the user should then be able to play the video. When the user closes the...
54
votes
13answers
64833 views

Getting Error 403: Access Not Configured. Please use Google Developers Console to activate the API for your project

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 and ...
33
votes
5answers
35611 views

How to autoplay a YouTube video in a UIWebView

I have seen a lot of posts in here about this issue, but still couldn't find a perfect answer for this problem. So I have a tableview, and each cell has a play button inside it. When the user tap the...
11
votes
2answers
9521 views

android youtube upload video with static username and password

i am uploading video to youtube which by default uploads to user who have login in google account. But i want to set that all video should upload using my static gmailID and password Is it possible ...
55
votes
13answers
162036 views

How to embed YouTube videos in PHP?

Can anyone give me an idea how can we show or embed a YouTube video if we just have the URL or the Embed code?

Previous Next