youtube

Can I upload a video to Youtube using OpenId + OAuth in behalf of a user which does not have a youtube account but gmail ?

I need to develop a web site where I upload videos using the youtube API. I cannot do it to my youtube account (see youtube terms for an explantion on that) so it need to be done in the user behalf. It would be great to avoid the user having to register to youtube. If I use OpenID + OAuth within the youtube API, can a gmail account or o...

Deleting YouTube videos using Zend/PHP

Hello, I'm using Zend and PHP to upload and delete videos from my home page. The uploading part is working fine but to download is more complicated. $videoEntryToDelete = $yt->getVideoEntry($videoId); $yt->delete($videoEntryToDelete); I use this code to delete a video and the first row do work. The video object is created and I can g...

Embed Youtube video in asp.net

Hey everyone, I have a textbox where users can enter the link to a YouTube video. I'd like to have an <object> on my page which gets populated with the YouTube video. I tried accessing an <object> from the codebehind (with runat=server) set to true, but I couldn't. Thanks for any help ...

Embedding a YouTube Video Based on a PHP Variable

I have a website that I am creating for a class project. The website shows information about bands (which is stored in a mysql database). I am trying to spruce up the site a bit, and I would like to embed a YouTube video based on the band's name. Say, for instance, I have "Led Zeppelin" stored in my database. How can I take a PHP variabl...

iphone: problem playing youtube mp4's over 3g network

Hi guys I'm am developing an app that enables the user to stream youtube mp4 videos on the iphone. What I did was very simple - I just took a url of the form http://youtube.com/get_video?the token&fmt=18 (for example http://youtube.com/get_video?video_id=KUXGVfmrEN4&amp;&amp;t=vjVQa1PpcFNrxzfbeI6WrJfK6s0BdQ9ypMgV_6yqwjo=&amp;fmt=18) an...

Open youtube video in Fancybox jquery

Can I open youtube video in fancybox. I have a list of youtube videos links , for ex: <a href="http://www.youtube.com/watch?v=PvbqV8W96D0" class="more">Play</a> and fancubox : $("a.more").fancybox({ 'titleShow' : false, 'transitionIn' : 'elastic', 'transitionOut' : 'e...

Purify Embedding YouTube Videos method in C#

How would look a method in C# that "purify" an embedded YouTube video markup? So method input would be: <object width="425" height="344"><param name="movie" value="http://www.youtube.com/v/gtNlQodFMi8&amp;hl=en&amp;fs=1"&gt;&lt;/param&gt;&lt;param name="allowFullScreen" value="true"></param><embed src="http://www.youtube.com/v/gtNlQ...

Launching a Youtube video with Dashcode

Hi! I've run into an issue and have been unable to find documentation to answer my question. I was hoping someone could help... Basically, I'm making a iPhone Web App which has a button which needs to link to a Youtube video. I'd like to press the button and have the video load in the Youtube app on the iPhone. I cannot figure out how t...

How does youtube enable ascii videos?

Just by messing around a little it seems that the video stream is not ascii. i tested by downloading the stream. It would be insane if it was. Theres so many videos. So that couldnt be it. Youtube seems to not work with javascript disable (not counting mobile if true). How is it being done? is it javascript magic? is the SWF running the...

is it possible to deep link to youtube videos on the iphone?

on the web you can deep link to youtube videos like this: http://www.youtube.com/v/wiTSbmxssBQ&amp;amp&amp;start=20 is there a way to make this work on the iphone? thanks! ...

New preg-repleace for youtube

Welcome, I notice that Youtube make some changes into their website code. Anyone have idea how make it working today ? That's my script (don't work anymore) preg_match('/"video_id": "(.*?)"/', $page, $match); $var_id = $match[1]; preg_match('/"t": "(.*?)"/', $page, $match); $var_t = $match[1]; Look at source of example Youtube vid...

Why does only youtube embeds work on iPad?

I am trying to find out as to why youtube embeds works just fine on iPad, and not the embeds of any other video site. Example of youtube embed: <object width="640" height="385"> <param name="movie" value="http://www.youtube.com/v/DlIU5TgwEFg&amp;color1=0xb1b1b1&amp;color2=0xcfcfcf&amp;hl=en_US&amp;feature=player_embedded&amp;fs...

Why do websites generate random alphanumeric strings for urls instead of using row ids?

Why does many sites (youtube is good example) generate string of random number and letter instead of using for example the row id? usually its something likes this bla?v=wli4l73Chc0 instead of like bla?id=83934 Is it just to keep it short if you have many rows? Or is there other good things about this? Because i can imagine: bla?...

Mobile Safari Youtube opened via javascript

We have a youtube player embedded in a plage in Mobile Safari and it works great. But we need to be able to launch the youtube player by a means other than user tapping the video itself, for various reasons. So I am trying to figure out what event to trigger in javascript to make it happen with no luck. None of the following appear to...

Regex to parse youtube yid

Example URLs http://www.youtube.com/user/Scobleizer#p/u/1/1p3vcRhsYGo http://www.youtube.com/watch?v=cKZDdG9FTKY&amp;feature=channel http://www.youtube.com/watch?v=yZ-K7nCVnBI&amp;playnext_from=TL&amp;videos=osPknwzXEas&amp;feature=sub http://www.youtube.com/ytscreeningroom?v=NRHVzbJVx8I Any regex that will pull the correct YID from a...

How to ensure YouTube API only returns videos that are streamable on iPhone?

I'm building some YouTube search functionality into an iPhone app and want to ensure that I only receive results that will be playable on the device. According to the Searching for videos section in the API reference doc this seems to be relatively straightforward: The format parameter specifies that videos must be available in a par...

unable to download youtube video using phptube class

i m using phptube class for downloading you tube video. from this site In code i paste youtube url on a input box but there is errors below. Warning: file_get_contents(http://www.youtube.com/get_video?video_id=&amp;t=) [function.file-get-contents]: failed to open stream: HTTP request failed! HTTP/1.0 404 Not Found and Warning: fi...

How do I insert video greater than 1MB with gdata.youtube api direct method

I am using the gdata.youtube service to insert a video entry. It is failing with a url fetch error complaining that the file is too large. It is a pretty small video (1.7MB). In an ideal world, there is a natural way to break up the file as necessary and stream it in chunks. Is there an api to do this already. Here is the code I am usin...

Best Youtube embed player sizes?

I use tumblr to share videos and, unfortunately, when re-posting a video to your tumblelog it uses the embed code at 400x336px. This is neither widescreen nor very large. So I'm trying to set the player to better size and I'm finding that the youtube player really comes in many sizes. For example, when copying the embed code for and HD ...

youtube embeded player: change video link with javascript, dinamically

here is a part of html code (video urls marked with a django-template language variables): <div class="mainPlayer"> <object width="580" height="326"> <param name="movie" value="{{main_video.video_url}}"></param> <param name="allowFullScreen" value="true"></param> <param name="allowscriptaccess...