9
Aşağıdaki kod başarısız? Sorun ne olabilir? nasıl C# Youtube API kullanarak YouYuBe bir video yükleyebilirsiniz?
YouTubeRequestSettings settings = new YouTubeRequestSettings("whatwill come here ?",
"my api key",
"my youtube login email", "my youtube login password");
YouTubeRequest request = new YouTubeRequest(settings);
Video newVideo = new Video();
newVideo.Title = "test 1";
newVideo.Tags.Add(new MediaCategory("Gaming", YouTubeNameTable.CategorySchema));
newVideo.Keywords = "test 1 , test 2";
newVideo.Description = "test 3 test 4";
newVideo.YouTubeEntry.Private = false;
newVideo.Tags.Add(new MediaCategory("tag 1, tag 2",
YouTubeNameTable.DeveloperTagSchema));
newVideo.YouTubeEntry.Location = new GeoRssWhere(37, -122);
newVideo.YouTubeEntry.MediaSource = new MediaFileSource("C:\\test.avi", "video/quicktime");
Video createdVideo = request.Upload(newVideo);
Ben sorunu çözüldü. Benim kategori oldu: kategori yerine Gaming ait Games olmak zorundadır.
olası yinelenen [YouTube API entegrasyonu ASP.NET - tek bir sayfa ile video yükleyebilir] (http://stackoverflow.com/questions/629435/youtube-api-integration-asp-net-upload-video-with- a-tek sayfalık) –
i gördü. ama youtube api'nin nasıl kullanılacağını açıklamıyor. nasıl entegre edebilirim? İndirilenler ve indirilen YouTube SDK (1.7.0.1) .msi – MonsterMMORPG
ilk gönderi güncellendi – MonsterMMORPG