youtube

How to change the video playing in Youtube embedded player ?

I'd like to make a playlist, where a click on each <li> will change the video link just below. The list will look like this: video1 <li><a href="MzfAvHlIVjE&hl=en&fs=1&rel=0&color1=0x3a3a3a&color2=0x999999">">video1</a></li> bbbbb ccccc video player here So clicking on aaaaa will play aaaaa , clicking on bbbbb will play bbbbb,...

file upload issue

Hello everyone, I am implementing a similar scenario like Youtube for my web site -- uploading video and so that all people could watch. My question is, I think we need to encode the video after upload before other people could play remotely, but encode process is very slow (I tried with Microsoft Expression Encoder and also mplayer, en...

What is powering YouTube?

I am planning to write an internal large video sharing website. Could anyone point me to a resource or article that shows how to plan such a large application development and deployment? Does anyone have a detailed outline on what YouTube is using as their programming language, video servers, etc...? ...

How to get the public channel URL from YouTubeVideoFeed object using the YouTube API?

I'm using the Python version of the YouTube API to get a YouTubeVideoFeed object using the following URL: http://gdata.youtube.com/feeds/api/users/USERNAME/uploads Note: I've replaced USERNAME with the account I need to follow. So far getting the feed, iterating the entries, getting player urls, titles and thumbnails has all been ...

Using Youtube's javascript API with jQuery

I'm currently trying to use the YouTube API as part of a jQuery plugin and I've run into a bit of a problem. The way the YT api works is that you load the flash player and, when it's ready it will send a call back to a global function called onYouTubePlayerReady(playerId). You can then use that id combined with getElementById(playerId) ...

How can I log in to YouTube using Perl?

I am trying to write a Perl script to connect to me YouTube account but it doesnt seem to work. Basically I just want to connect to my account but apparently it is not working. I don't even have an idea on how I could debug this! Maybe it is something related to https protocol? Please enlighten me! Thanks in advance. use HTTP::Request:...

Why can't I access xml nodes with out namespaces?

I've been banging my head on my desk for hours trying to figure out why I can't access the entry.author.name content? I've tried every possible way to access it but failed. But when I loop through all nodes with xml.children I see the author node. I see the author node is apart of the atom namespace but it doesn't have a namespac...

PHP validate youtube script

I have a site that allows users to copy and paste the embeded video script that youtube provides and upload it to a database. I want to be able to check that this script is valid youtube script and not just random text that someone typed in. I believe this can be done with preg match. Any ideas? ...

What type of ID does Youtube use for their videos

I am curious what type of ID that youtube uses for identifying their videos? They seem to be the same type of IDs used for short urls on sites like Digg and Bit.ly. ...

Playing YouTube videos in a Windows Mobile application

I am working on an application for Windows Mobile 6 (or maybe 5) that plays YouTube videos. Well, it should play YouTube videos (and control/query the player about status changes, current frame/time, etc.) After scouring the web for quite some time now (and a few trials), I still couldn't find a way to do this. The options I know of are...

Youtube Player API - Only plays browser tab is selected

I am currently developing a site using the youtube player api (chromeless, to be exact.) I have created a script dealing with playing the videos in a playlist but if the page is not focused or the tab is not selected in the browser the video will not start. Is there any possible hack or way to by pass this and for the player to continuou...

Thumbnails from the Vimeo website harder than YouTube

Our website lets people add videos by submitting a URL - usually one from YouTube or Vimeo. I'd like to show thumbnails, when giving people a list of videos. YouTube make this easy for me - just slap "1.jpg" on the end of the URL, and you've got your image. Vimeo seem to want me to make a HTTP request, and extract the thumbnail URL fro...

PHP Syntax error with Youtube API: Parse error: syntax error, unexpected T_ENCAPSED_AND_WHITESPACE, expecting T_STRING or T_VARIABLE or T_NUM_STRING

I keep getting this error in line 54 and I don't know why. All that I'm trying to do is to process the first entry of the query result: extract it's URL so as to construct an embeddable video object. <?php function extractID($youtubeURL) { //split off the final bit of the URL beginning with ‘=’ $youtubeID = strc...

YouTube JS API: Detect "embedding has been disabled".

Using the youtube javascript api (http://code.google.com/apis/youtube/js_api_reference.html), I am trying to allow a user to embed a video into some content he creates in my app. I have gotten everything working, except for being able to detect and handle the case that embedding is not allowed for the video. Currently, the player loa...

Problem with inet_pton() call within Zend framework

Hello everyone, I have a problem with using Zend framework (for YouTube data API). I created very simple PHP script for uploading YT videos using this API and it works almost everywhere - I tried it on 3 different machines (both Linux and WinXP). But after intalling it to 4th machine, I got this error: Error: inet_pton() [function.inet...

Expected delay for youtube feeds?

We switched over to YouTube from a previously developed internal video system, and right now I've got it going on public upload feeds for users. The problem comes when we first got only about a dozen out of 150 or so videos available from the primary user's account. Over time of the day that number rose to about 50, and its stayed there....

iPhone dev: UIWebView Youtube crash. Can I surround it with a try catch?

Hi Im integrating a youtube video in my iPhone application. this thread describes how to integrate it (via a UIWebView), the warning message and the crash, but its unanswered. In my case the crash only happens from time to time (I think it could be when the user is too quick clicking on the "play" icon) so I want to wrap the error arou...

Extracting YouTube Video's author using Python and YouTubeAPI

Hi, how do I get the author/username from an object using: GetYouTubeVideoEntry(video_id=youtube_video_id_to_output) I'm using Google's gdata.youtube.service Python library Thanks in advance! :) ...

How does youtube sign you in with your gmail account?

I have an idea of how they would do this but it seems very hacky way about going about it. The problem I see from this is that youtube needs to grab gmail or google cookies. The way I would do this would be to open another frame from the gmail domain that reads the gmail cookies and forwards this information to a youtube url. This yout...

How to build a native YouTube Player in C++ application ?

I would like to build a native YouTube Player in my Visual C++ application, like the one in iPhone. Anyone has a hint ? Thanks ...