Click here to Skip to main content
15,903,523 members
Everything / YouTube

YouTube

YouTube

Great Reads

by Bill SerGio, The Infomercial King
XCODE & Android Studio mobile app projects built using Ionic's Capacitor with an Angular 14 UI. Includes WebRTC for video conferencing, and SwipeClouds for Playing Millions of HD Movies & Videos and A Custom Capacitor Plugin for Scraping User Data for Targeted Delivery of video ads to mobile phones.
by Bill SerGio, The Infomercial King
Angular Editor for the Angular Shopping Cart I posted here on CodeProject
by techtechie
An Android tutorial to integrate Youtube channel in Android

Latest Articles

by DrABELL
YouTube™ API for ASP.NET, AJAX-extended (C#)
by Bill SerGio, The Infomercial King
XCODE & Android Studio mobile app projects built using Ionic's Capacitor with an Angular 14 UI. Includes WebRTC for video conferencing, and SwipeClouds for Playing Millions of HD Movies & Videos and A Custom Capacitor Plugin for Scraping User Data for Targeted Delivery of video ads to mobile phones.
by techtechie
An Android tutorial to integrate Youtube channel in Android

All Articles

Sort by Updated

YouTube 

26 Nov 2012 by __TR__
The below articles might help youDisplaying Videos from YouTube Channel in ASP.NET Website[^]Play Embedded YouTube Videos Randomly[^]
31 Jul 2015 by Adrian Ghibu
I have a webpage that contains an iframe. Inside that iframe is an embedded Youtube videoHow can I do, to show button: Theater Mode ?
2 Jul 2016 by Alviss_H
I'm starting on a project to research about the algorithm of Youtube to check the license for videos.About the demo, I will use C# to create the tool. This is a small tool, with MSsql to store the DB(videos) and 'user' who can upload video. The tool will be checked it and reject it if this...
13 Feb 2017 by Amayabay
In this article we explain how YouTube Live broadcasts work, and show how anyone with just basic JavaScript knowledge can come up with a YouTube Live broadcast from an HTML page using the WebRTC technology.
10 May 2012 by Anurag Sarkar
If You want to insert videos in your website go to video go for share & the just click on the emdeb copy the HTML code & paste on the asp.net web page where ever you want to put the video .Thanks
2 Mar 2017 by Aravind m.m
In my android app there is a portion which shows list of pictures. Each picture is associated with a video id.On Clicking that picture corresponding video id will be passed to youtube player and that video will be played in youtube player. Below each picture there is a like button and a comment...
22 Mar 2016 by arslan afzal bhatti
i am trying to upload a video to YouTube by using YouTube data API, from my application but unfortunately the API which provided by YouTube developers is not working before three weeks i tested the code and it was working fine but now when i try to finally use it in my application its causing...
29 Mar 2016 by arslan afzal bhatti
i want to upload the video by using youtube upload data api but unfortunately when i tried to upload the video it generate the errot that A Task was Cancelled This error is generate due to this line of code await videosInsertRequest.UploadAsync(); in my code i already have apply the ...
29 Mar 2016 by arslan afzal bhatti
ok i had found the solution of this problem You need to set the timeout before you use the service. YouTubeService youtubeService = new YouTubeService(initializer); youtubeService.HttpClient.Timeout= TimeSpan.FromMinutes(60);this will solve the task cancelled...
28 Jun 2019 by Bernie Carpio
How can I display the replies in youtube comments. Here's my code $videoid = 'UKdZU9Db6fk'; $apikey = 'API KEY'; $json = file_get_contents('https://www.googleapis.com/youtube/v3/commentThreads?maxResults=100&part=snippet%2Creplies&videoId='.$videoid.'&key='.$apikey); $ytdata =...
16 Aug 2017 by Bernie Carpio
Thanks @Kornfeld Eliyahu Peter this part of the code is working fine foreach ($ytdata->items as $item) { echo "Author: ". $item->snippet->topLevelComment->snippet->authorDisplayName; echo "Comment: ". $item->snippet->topLevelComment->snippet->textDisplay; } but when I add a foreach...
1 Mar 2016 by Bill SerGio, The Infomercial King
Angular Editor for the Angular Shopping Cart I posted here on CodeProject
27 Jan 2021 by Bill SerGio, The Infomercial King
XCODE & Android Studio mobile app projects built using Ionic's Capacitor with an Angular 14 UI. Includes WebRTC for video conferencing, and SwipeClouds for Playing Millions of HD Movies & Videos and A Custom Capacitor Plugin for Scraping User Data for Targeted Delivery of video ads to mobile phones.
22 Dec 2014 by CHill60
As per Kornfeld's answer to your previous question [^]We don't supply code on this forum, we help with "Quick Answers" to specific problems. Try it for yourself then come back with a specific question if you hit a problem
11 Apr 2022 by Chopin2001
Let me ask you an abstract question. When I post a comment on YouTube, it works with ajax. If you look at the network, you will see a lot of data. What does all of that mean? In addition, the form, submit, and input type hidden to contain these...
3 May 2022 by Chopin2001
YouTube has html tags that start with yt-. For example, yt-page-navigation-progress or ytd-watch-flexy. Is this a new technology in html5? I'm wondering if this works in all browsers and there's nothing wrong with it? Also can JavaScript read...
11 Apr 2022 by Chris Copeland
A lot of the data that you're seeing there will be internal information which is useful to YouTube (for example, pwaInstallabilityStatus indicates whether the device can install the site as a PWA), and chances are most of it is going to be...
27 Jul 2012 by Christian Graus
The file you're getting is an HTML5 video. As such, all you really need to do, is get the file as it streams, and process the audio out of a known file format. Tons of sites do this, why does the world need another ?
17 Jun 2013 by Christian Graus
Your real problem is that this is not an ASP.NET task. You need to upload videos in your site, THEN upload them to youtube. It's actually a weird idea, but, there's no reason why you can't write the two parts, and for the second, use the same code samples everyone else uses to upload videos to...
18 Jun 2013 by Christian Graus
This[^] took two seconds with google.
30 Jul 2014 by CodeFate
Revision: "Manage YouTube using C# and Youtube API 1.6"
1 May 2012 by Dave Kreskowiak
Why are you not asking this question in YouTubes Developer Forums[^]??
4 Jun 2013 by Dave Kreskowiak
No, there isn't. Any attempt to do so is a violation of YouTubes Terms Of Service. You'll get a "nice" letter from their lawyers telling you to cease and desist.Once uploaded, the content belongs to YouTube. They have sole rights for distribution in any form and require their permission...
6 Dec 2014 by Dave Kreskowiak
You do realize that YouTube changes things once in a while to prevent you from doing what you're doing, right?What you're doing violates YouTubes Terms of Service. They can do whatever they want to prevent you from downloading videos.
29 Mar 2016 by Dave Kreskowiak
Try putting an AsyncTimeout attribute on both the UploadVideos and Upload methods.
20 May 2017 by Dave Kreskowiak
Way off topic for this site. Contact the author/publisher of the book with what you want to do.
15 Jun 2020 by Dave Kreskowiak
What on earth are you talking about and what does it have to do with writing code? If you're got a problem with YouTube, post the question on YouTube's forums, not here.
18 Mar 2023 by Dave Kreskowiak
You start with the documentation at YouTube Data API �|� Google Developers[^]
13 Jul 2015 by DrABELL
YouTube™ video player API provides variety of customization features (ASP.NET, C#)
14 Feb 2015 by DrABELL
Customize YouTube® video playback by adding web query parameters
2 Oct 2023 by DrABELL
YouTube™ API for ASP.NET, AJAX-extended (C#)
1 May 2012 by egyptioncoder
hiiiiiI used this code to embed a videoBar feeding from my YouTube channeland it worked finenow all what i need is to feeding the videobar from a playlist in place of the...
19 Dec 2011 by EndOfEntertainment
Hi,can anyone help point me in the right direction, i've read the same instructions on a variety of sites, and i can't seem to find a clear explanation of what i need to do or read up on :(http://apiblog.youtube.com/2011/01/introducing-javascript-player-api-for.html[^]I am trying to...
6 Jun 2014 by Espen Harlinn
PHP isn't something I know all that well, but this looks like something that is supposed to work: Download videos from Youtube using PHP and API[^] Best regardsEspen Harlinn
26 Jun 2016 by Evgeny Pereguda
Simple imitation of direct streaming of live video from web cam on YouTube service on Windows 8 and Windows 10
4 Aug 2016 by F-ES Sitecore
c0nTakt ur sys4dm1n bR0 n t311 m u w4Nt 4l1 teh int3RN3tz!!1
28 May 2019 by Gerry Schmitz
Keep trying. When you have something more substantial, then come back.
2 Mar 2017 by Graeme_Grant
Google is your friend: Integrating youtube like button and comment in android app - Google Search[^] - I can see that you have asked the same question in 3 different places, maybe more...IN seconds, using the above search, I found this: Using the YouTube API to Embed Video in an Android App[^]
3 May 2022 by Graeme_Grant
Html 5 can have custom elements. Have a read of this help: Using custom elements - Web Components | MDN[^] And this article goes into a little bit more detail: Custom Elements: defining new elements in HTML - HTML5 Rocks[^]
6 Dec 2014 by heemanshubhalla
Here is article from where i got source code for youtube downloader but it is not working YouTube Downloader Using C# .NET[^]Its gives error 'The remote server returned 404 Bad request'
25 Nov 2012 by Hetal Jariwala
I want to embade youtube video to my site and also start the same video again at end.Does any one know how to do this???
24 Mar 2015 by Isaac RF
Introduction to Youtube Data API v3 on Android
15 May 2014 by Jackie00100
Hey people so I kinda did try to ask this for some ago but never really got answered so the thing is that I'm currently trying to put the functionality from this site http://stefansundin.com/stuff/youtube/youtube-copy-annotations.html[^] into a c# app however every time I try to send the XML...
30 May 2012 by joakimmancx
I a beginner at Joomla and I´ve just set up some different homepages and would like to use youtube. I´ve added the extension and plugin into the ftp-server, but it dosen´t appears as a module or an extension when i'm inlogged as an administrator. What to do?
29 Jun 2015 by joshi akhilesh
Is it possible to play a YouTube api video in side a canvas as we are doing the html5 video inside a canvas i am using you-tube api to play video in my application and i need to draw image like canvas drawing through java-script and html 5 video . Same thsing i need to implement using...
24 Jan 2016 by karthik Udhayakumar
Hello,You cannot control the autoplay feature from your end it basically depends upon the user machine and settings:-(
18 Jun 2014 by KaushalJB
Hello All,I have an issue in Sharepoint 2013 related to youtube embed iframe links that i copy and paste from youtube embed video link and place it in my video library (Please see this : SPVideo image 1). It gets uploaded successfully and get played successfully from the "Site Contents"...
10 May 2012 by kingsa
Hi I want to get you tube into my site for inserting and retriving and view videos into my site can u guide me or send any snippets
18 Jun 2013 by Kirit Patel
Hi, all I am publisher , I want to know how to make simple youtube video playing android app(direct from URL). If anybody can provide sourcecode and sample apk file,then it will be very helpful to me and my dev.Thanks.You all are awesome.
19 Jun 2013 by kool15th
Hello friends... I want to use complete youtube API in my asp.net web project and i have tried a lot but not yet succeeded. I want complete process such as uploading, playing, like, rating,etc But all directly on youtube server, upload also and even search and play too from...
21 Dec 2014 by Kornfeld Eliyahu Peter
There is an extensive API documentation about YouTube: https://developers.google.com/youtube/2.0/developers_guide_protocol_playlists#Retrieving_a_playlist[^]
25 Dec 2014 by Kornfeld Eliyahu Peter
var rootURI = 'https://www.googleapis.com/youtube/v3/playlistItems?playlistId=PL3B8939169E1256C0&key=AIzaSyCnMsLoh3V5bzCJ5CYF3e_9X7-Ati9ecv0&part=contentDetails&maxResults=10';var pageToken = '&pageToken=';$(document).ready(function () { LoadVids();});function...
16 Aug 2017 by Kornfeld Eliyahu Peter
The result from the API has 'items' ONLY if it was successful, other wise it has no and your code fails... You have to check the return value for error code, before processing the data... A possible error you may have, and the structure of the result in error case: { "error": { "errors": [ ...
21 Dec 2014 by Krishna Chaitanya Kollu
Hi I am Developing a Video Website Which Contains Youtube Tutorials Here in Case Customer Wanna Show the Particular Playlist Thumbnails on Particular category page He Had Multiple Categories For Multiple Playlists Problem : How to Retrive the Youtube Particular Playlist Thumbnails ? I...
21 Dec 2014 by Krishna Chaitanya Kollu
How To get or Retrive Youtube specfic playlist videos thumbnails in html please suggest me the whole code or even with an example i am new to web development please thanks in advance
24 Dec 2014 by Krishna Chaitanya Kollu
How to get the views and description of the video from the YouTube through JavaScript and JSON
25 Dec 2014 by Krishna Chaitanya Kollu
Kornfeld Sir Thanks For Your Support I'll Never Forget Your Support After Reading So Many Documents I Got My Solution in V2 Only
12 Apr 2015 by Lauren891
Hello,I have a button I cannot hide (it is always on Screen but I want to hide it and then Show it)Onclick Cheap Youtube viewsI have a houseobject and if i click on this house I want my button do appear on the Screen.my script on the houseobject so far is:void OnMouseDown (){...
6 Jun 2015 by Magyar András
Load videos automatically from selected Youtube channel with PHP and Youtube Data API v3
6 Aug 2013 by ManiInAction
Hi All, I am developing a site in which youtube video’s will be added to asp.net page using the HTML code given at youtube.com site. When I run the program, in the web page youtube video is displayed. But the strange thing is when I move mouse over the video display area the page...
11 Oct 2013 by Max Slegged
Hi,how i can convert a set of image in a video (with transaction) and post it on youtube?i looking for source code in vb.netthank'sFrastono
3 Nov 2012 by mayankkarki
Hi,Thank god its not a big deal. I just added the newtonsoft dll reference, may be this is the problem beacause when I install the newtonsoft package from package console everything gets solved, no error is thrown.
3 Nov 2012 by mayankkarki
Hi,I am working in a metro app to show youtube videos and user can play or rate video. I am using this uri http://gdata.youtube.com/feeds/api/videos/ADos_xW4_J0?v=2&alt=jsoncand get json response but now when I am trying to deserialize it into c# class I am getting error. I am using...
3 Nov 2012 by mayankkarki
Hi,I am working on a metro app. I have to play youtube video in its embeded player not in that provided by metro app.I search in net and find that there is iframe, flash and object player .I tried to implement in my app but not succeed.Is there any to play video or I have to use the...
4 Jun 2013 by mccaber82
Hi,Im looking to know is there a way to stream the videos from youtube onto my web site domain and let my website distribute them?I'm trying to work around the fact that my server has no proxy rules but my client machine (which can browser the web page on the server) has proxy settings...
15 Jun 2014 by Member 10033457
newVideo.YouTubeEntry.MediaSource = new MediaFileSource(imgpath,"video/mp4");in the above code the path starts from c\programfiles\iis...but the file is actually on the desktop,andit aorks if i save the video to the application and use server.mappath
9 Aug 2013 by Member 10197342
Hi, I am trying to create a website which lists short films (only) that are uploaded in YouTube. In my website, users will be able to view it by year, month and day. That is, all short films uploaded in youtube in the last year, all short films uploaded in youtube in the last month, all short...
5 Nov 2014 by Member 10213696
down vote favorite using vb.net i'm trying to upload a youtube video using the API v3, what we need is : -Uploading a youtube using the provided json file from Google console. -Running on asp.net IIS local webserver ex (localhost/ApplicationName/..) and Not (localhost:port/..)the...
3 Jul 2014 by Member 10266297
Dear all,Can you please explain the process that YouTube follow? Please answer the following questions.1-does youtube store the video as binary in database or just the path of the video (and place the video in a folder on server)?2-Do all stored videos having the same extension, if...
25 Oct 2013 by Member 10359656
I am trying to remove certain "related videos" by keyword from the Youtube player (which shows at the end of a video). The purpose is that sometimes there are certain content that I don't want to see.I am a total greasemonkey and javascript noob. Nevertheless, the best I have come up with so...
8 Jan 2015 by Member 10819986
I'm uploading a video to youtube through C# code using API. I need to add subtitle to the video. Please help me how to create a subtitle for my video through Youtube API.
22 Dec 2015 by Member 11324668
Hi I am working on Window Service, that is responsible to upload video on YouTube.I am using youtube v2 API , Here is the Example link https://developers.google.com/youtube/2.0/developers_guide_dotnet?csw=1#Direct_Upload[^]Now i want to move on youtube api v3, because of from last few...
24 Dec 2015 by Member 11324668
Hi i am using YouTube API v3below is code : https://developers.google.com/youtube/v3/code_samples/dotnet?hl=en#upload_a_video[^]below is way to get videoid...void videosInsertRequest_ResponseReceived(Video video) { string videoId = video.Id; }i want to return this video...
27 Dec 2015 by Member 11324668
Hi,I am using YouTube V3 API, and its working fine when I uses website.now i am working on Window service. i want same thing but its works on browser based authentication/Aouth2 which is not possible on window service.Another issue i have 2-3 different "Channel", and i want to pass...
7 Jan 2016 by Member 11324668
I solve issue by below code..ideosInsertRequest.ResponseReceived += videosInsertRequest_ResponseReceived => SomeFunc(videosInsertRequest_ResponseReceived);
7 Jan 2016 by Member 11324668
Hi I am using google Youtube api v3 to upload video, below are sample codehttps://developers.google.com/youtube/v3/code_samples/dotnet#upload_a_video[^]Its working fine on my local side, while when i upload this on server i am getting Error : access to the path 'google.apis.auth' is...
12 Mar 2015 by Member 11519035
I have videoIds[youtubeIDs] lined to play youtube videos in mysite which is working fine with the below code.But when second video starts it lags 1-2 sec to load and the loading youtube icon shows up.Is there any way to buffer the next video while playing the current video, which will...