youtube

Youtube video doesn't stop in IE if I hide its parent div

So for example I have a structure like this: Javascript function toggle(id){ var element = document.getElementById("id"); if(element.style.display != 'block'){ element.style.display = 'none'; } else { element.style.display = 'block'; } } HTML <div onclick="toggle('holder')">Toggle Video</div> <div i...

YouTube JavaScript API: problems getting and setting PlaybackQuality

Hi, I have an embedded youtube API player (example code) which is controlled via javascript. Everything works fine, but I have problems getting and setting the video quality. Please have a look at the following piece of code: ytplayer.loadVideoById("MXRa0DkBc2I", "0"); ytplayer.playVideo(); //alert("foo"); ytpl...

django comment system: How to make it more like YouTube's?

I like the comment box at the top with the posts going in reverse order. Comment rating, highest rated comments, all great features, remaining character count, spam flag. My question is, is there a open commenting system available for Django that already has these features? ...

Yotube like comment-Show link over textarea when user try to add a comment

Hello Everybody, I'm working on asp.net application.And i'm looking for a way to show a link over a textarea when a user try to add a comment if the user is not loggd in. I've got this idea from Youtube videos comments.If ur not coonected,they show a link saying u have to login to be able to add a comment. Does anyone has an idea how ...

Can I get larger thumbnail dimensions using the YouTube API?

I'm using the YouTube API to get thumbnails. I have noticed the thumbnails are all 90 120 pixels. Is there a way I can get them larger? I'm using PHP 5.3 & SimpleXML to parse the XML. ...

iPad embedded YouTube video player stays in fullscreen after stopping it programatically

Hi. I have a UIWebView that loads a YouTube video. The problem is, that if the video is playing in full screen and I reload the web view to "about:blank" to stop the video, the video player remains as the top view in the window's view hierarchy and blocks everything. Only the black video player remains visible. Has someone encountered...

Play youtube videos on iOS4

Hi all, I'm facing a problem with playing youtube videos in iOS4. I'm using the standard method of embedded webview and providing the youtube url to it but it's breaking after a couple of seconds. It's working completely fine in iOS <= 3.1. Also I read that you can't play youtube videos using MPMoviewPlayerViewController. Can anybody ...

Minimum Flash player for Youtube

Is the minimum version of Flash Player required 9? or 10? ...

Downloading Youtube videos with PHP

Hello all. I am searching for a way to download Youtube videos using PHP. I have searched how to do this for hours but unfortunately all the Google results I find are years old and do not work anymore. I would appreciate it if someone could explain how to do this, or give a link to an up-to-date article that explains it in detail. Tha...

YouTube video in a Google Map Info Window

I am trying to put a youtube video into a Google Map (v3) Info Window. It works fine in Firefox and Internet Explorer. It does not work in Safari and Chrome. In those browsers the positioning is off and the video doesn't move when you move the map. The video also gets chopped sometimes. Here is the code that doe <!doctype html> <html...

jQuery -- resize multiple objects, width and height scale linked

Hey folks, I have to apologize for my inexperience here, I've been working on this for about an hour but I'm so new to jQuery that I don't even know what to search for... I've got a page (http://milliondollarextreme.tv/) that has multiple YouTube video embeds on it. I am trying to make the videos resize to fill the divisions that they ...

Embedding YouTube videos/playlists to WSIWYG Editor

Coding in ASP.NET/C#/jQuery/Javascript Third Party Editor used: Innova Studio WSIWYG Editor I am embedding youtube videos in the WSIWYG editor with the help of YouTube Embedded Player Parameters My question is, what are the embedding parameters for playlists? Are they both similar? Are there some reference sites we could look at? ...

YouTube: StarTrek - Why Does it Upload So Much, while you Watch ?

As, you probably know, YouTube allows you to watch a lot of old tv shows: http://www.youtube.com/shows Here's something I can't figure out. Most shows, when you watch them, you are primarily downloading and uploading is rather insignificant. However, for some reason, when you watch StarTrek, it uploads significantly while you are wat...

Regular expression for youtube links

Does someone have a regular expression that gets a link to a Youtube video (not embedded object) from (almost) all the possible ways of linking to Youtube? I think this is a pretty common problem and I'm sure there are a lot of ways to link that. A starting point would be: http://www.youtube.com/watch?v=iwGFalTRHDA http://www.youtube...

How can I change the output of a webpage depending on wether a user can access Youtube?

Hi, I'm looking at embedding youtube videos onto a webpage (a Drupal webpage if that helps), but I need to figure out what people will see if their business/workplace/country blocks youtube access. Does it show 'video no longer available', does it not show anything?, does it add a class or ID to the embedded html to let css, or a script...

How to specify movie trailers using Youtube API

I'm trying to get just official movie trailers from the Youtube API, but it's difficult to get consistent results. The closest I seem to get is using the following url: http://gdata.youtube.com/feeds/api/videos/-/MOVIE-TITLE?max-results=1 It sometimes works well: http://gdata.youtube.com/feeds/api/videos/-/The-A-Team?max-results=1 ...

Regex to match Youtube URL's

I am trying to validate a Youtube URL using regex: preg_match('~http://youtube.com/watch\?v=[a-zA-Z0-9-]+~', $videoLink) It kind of works, but it can match URL's that are malformed. For example, this will match ok: http://www.youtube.com/watch?v=Zu4WXiPRek But so will this: http://www.youtube.com/watch?v=Zu4WX£&amp;P!ek And this...

Strange jQuery issues together with FancyBox and Youtube!

Me and a friend did some trial and error yesterday about adding youtube support to FancyBox popup. The code is; jQuery(document).ready(function(){ jQuery("a.youtube").click(function() { jQuery.fancybox({ 'padding' : 0, 'autoScale' : false, 'transitionIn' : 'none', ...

Impossible to add addEventListener onClick to SWFObject

Problem: Need onclick event to pause/unpause a Youtube video, but impossible to add the evenlistener. Looks to me that the object is 'unclickable'. Situation: Got a Youtube player initialized by swfobject, onYouTubePlayerReady is build as suggested in the docs (Google API docs) For HTML & JS see: http://ListAndPlay.com What I tried: al...

Can we used Google API & YouTube API for our commercial video streaming products?

we have to develop a commercial video streaming application for iPhone & within that app we are planning to integrate additional searching functionality for Google Video & You Tube. I want to know following points, Where can i find the Google video API & You Tube API ? Will there be any legal issue on Google Video & You Tube video inte...