youtube-api

Does playing part of a youtube video with the player API rather than the whole clip violate google terms of service?

If we want to show youtube videos using the player API on our site, we can do so no problem. In some cases it is only part of a clip we want to play. In the google terms of service for the youtube API they state that it is prohibited to: "8. separate, isolate, or modify the audio or video components of any YouTube audiovisual content ma...

Change the playing video.

Hi. I'm trying the following code http://code.google.com/apis/ajax/playground/#change_the_playing_video It works well when runned from the playground page. But if I create a new localfile with the source code provided as sample I get the following error: ytplayer is not defined at line 40: if(ytplayer) { ytplayer.loadVideoBy...

Private viewers using the YouTube API

Has anyone been able to set who can view a private video on YouTube using the API? ...

post fla to youtube

may i know is it possible to post fla file pro grammatically to youtube? can elaborate how? ...

YouTube API Comments Feed

Hello, I am attempting to get the Comments Feed from a video entry using the YouTube API for .NET. I am working on a program in WPF and C#, but can't seem for the life of me to figure out how to retrieve this feed. I tried looking at the YouTube API Developer's Guide, but it seems to be missing some information about Comment Feeds (ne...

VB.NET - Webrowser freezes when navigating from Form Load event

I'm trying to load up a YouTube page using Visual Studio 2008 and a very simple Visual Basic project that contains just a WebBrowser. I want to load the page when the form loads: Private Sub Form1_Load(ByVal sender As Object, ByVal e As System.EventArgs) Handles Me.Load WebBrowser1.Navigate("http://code.google.com/apis/youtube/...

Recording to Youtube

Hi, is it possible to record a video straight to Youtube? Say I have a site, can I have a recording functionality and use some kind of Youtube API that will have the end video posted on Youtube? Found an upload API but not a streaming upload. Thank you, Tee ...

Programmatically determine whether a Youtube video has been taken down

I'm getting most of the music on Rap Exegesis from YouTube (in the form of embedded players). Unfortunately, there's always the risk that one of the videos I'm using will be taken down (due to copyright issues or whatever), thereby breaking the corresponding page on my site. Ideally I would have a cronjob that would check (nightly say) ...

youtube chromeless as3 player

I'm goofing around with the new youtube as3 API but got stuck. This is how far i got (from looking at their sample code). http://pastie.org/656088 public class Main extends Sprite { Security.allowDomain("*"); private var player:Object; private var loader:Loader; public function Main():void { if (stage) init...

Youtube as3 player API errors

I'm trying to get the youtube as3 chromeless player to work. I have followed the youtube as3 API examples and this is what i got so far: public class Main extends Sprite { Security.allowDomain("*"); private var player:Sprite; private var loader:Loader; public function Main():void { if (stage) init(); el...

Getting the number of views for a video uploaded to YouTube?

I uploaded a video to you tube and through my site i embeded those videos. I need to display total views made(visited through my site/directly from you tube). for that video in my site below that video. If it is possible, help me in getting my work done. ...

How to display YouTube video icon from Link

Hi, In my Rails app I want users to be able to input video links from YouTube. I want to be able to display the YouTube icon for that link. How can I do that? Thanks, Tam ...

Stopping youtube video once it reaches a point

It looks like the YouTube API does not have a way to stop a video playing once it reaches a certain point. It has a way to start it at a certain point, but not to stop it at a certain point. I'm wondering if there's a workaround for this? or maybe I glanced over it without noticing. ...

YouTube API videoEntry count comments

I am trying to get the comment count for a video entry but this is giving me a count of 1 when there are no comments. Any ideas? <?php $commentFeed = $yt->getVideoCommentFeed($videoID); if ( count($commentFeed) > 0 ) { foreach ($commentFeed as $commentEntry) { // print commentEntry } }...

YouTube API: videoEntry context in playlist

Is it possible to find the context of a video in respect to any playlist that it is included in? I would like to be able to check if the videoEntry is included in a playlist and, if so, figure out the next video in the playlist. Flickr has a lot of great photo context methods, I hope YouTube does too, I just can't find anything on it. ...

Best YouTube embedded player? (based on Chromeless API)

Hi. I'm building a website that will include embedded videos, and I've decided to use YouTube for video hosting as it's got the best functionality and the largest community. However, I would like to use a custom embedded player (using the Chromeless API) because the official YouTube player is too associated with amateur sites. Features ...

Youtube API - YoutubeVideoApp Zend example

Hi, I just downloaded the Youtube Zend library. However, trying to run this sample app YoutubeVideoApp and running the "retrieve my videos" keeps on giving me this error. ERROR Expected response code 200, got 403 Service Forbidden What steps am I missing? The following is what I did: 1. Set up a developer key and add that to the appli...

AuthSub token from Google/YouTube API is always returned as invalid

Anyone out there have experience with the YouTube/Google API? I am trying to login to Google/Youtube using clientLogin, retrieve an AuthSub token, exchange it for a multi-session token and then use it in our upload form. Just a note that we are not going to have other users logging into our (secure) website, this is for our use only (no...

Uploading video using the YouTube API via Flash AS3

Hi, I'm trying to work out how to upload videos to YouTube using the api from flash. There seems to be libraries available for doing this with php, ruby, java etc. but not AS3. Can anyone point me in the right direction on how to do this? Thanks ...

PHP int to date problem

Take a look on the code below: $t=77; date("H:i:s", $t); It returns 21:01:17 The correct result, of course, should be something like 00:01:17. The $t value indeed is a value in seconds returned by the YouTube GData API, trought($videoEntry->getVideoDuration()). How can this problem be fixed? ...