Show YouTube videos on your own website! | YouTube API Tutorial

Show YouTube videos on your own website! | YouTube API Tutorial

Tony Zhang

2 года назад

46,512 Просмотров

Ссылки и html тэги не поддерживаются


Комментарии:

Gabriel
Gabriel - 19.09.2023 15:25

thanks!!!!!

Ответить
Ali Valishov
Ali Valishov - 23.07.2023 12:12

Bro. Everything is great. But stop doing the thing => "you can actually do this like this" please dont do it, just show the actual. We dont need the other parts.

Ответить
DaSashruTha
DaSashruTha - 05.06.2023 13:34

Nice Video.
I think it is one year old.
Now I am trying to create a new project in the New Organisation for which it is showing error.
Can anyone help me please.
Do I have to register and verify the domain?

Ответить
Pe Z
Pe Z - 10.05.2023 16:56

It Doesnt work

Ответить
Old Lou's Ragtime Band
Old Lou's Ragtime Band - 10.11.2022 08:25

Hi Tony. Now that I have my channel's videos linked to my website application with the thumbnails and titles as you have shown, how can I make it so that I click on the thumbnail and they play directly from my site?

Ответить
Nur Atiqah
Nur Atiqah - 26.10.2022 07:06

Hi, tony i've been trying and follow this vid since yesterday...but still cannot proceed. Can you help me😭

Ответить
semhar
semhar - 22.10.2022 13:06

not working for me

Ответить
LayeredOnions
LayeredOnions - 17.10.2022 08:49

Hey is there a tutorial on how to make that slider like you did in your video?

Ответить
Oliver Cavallo
Oliver Cavallo - 08.10.2022 22:09

omg, fighting with errors, invalid parameters, misssing parameters for almost 3 days... then Tony Zhang shows up, tells me to copy the code from the Try it thing a it works? iam done :-D ty Tony

Ответить
Void
Void - 22.09.2022 16:05

What is your approach in converting the HTML entities that get returned from the API for the titles. So that when fetching a list of yt videos the titles do not contain ' etc. anymore.

Ответить
Sebastian Contreras
Sebastian Contreras - 20.09.2022 09:22

Hey man, thank you for sharing your knowledge. Can I ask you some questions?

When I call getVideos in my console it returns an "f" getVideos() (basically the function and the fetch) then nothing happens and my video keeps invisible.

Also, there is no problems before adding the "&pageToken=" + nextPageToken" and the function, except that the code shows my video thumbnail AND my profile picture (I think it shouldn't show my profile picture...)

You know what could be wrong?

Ответить
Webfliccy
Webfliccy - 08.09.2022 07:01

You need to set you restrictions on API key first otherwise you get a 403 error when testing the call (exceeded quota), but otherwise this is great!

Ответить
Aldrin
Aldrin - 07.09.2022 13:46

Thank you so much. How can I make a pagination using the next token?

Ответить
코모도
코모도 - 07.09.2022 08:25

OMG bro, you saved my life. this is what I am exactly looking for!!!!!!!!!!!!!!!!! and it worked!!! much appreciated!!!!!!😆😆😆

Ответить
Jaystiqs
Jaystiqs - 22.08.2022 02:17

Brother you’ve helped me a lot. Thank you!

Ответить
Diego Dreossi
Diego Dreossi - 18.08.2022 00:24

You helped me a lot. Thank you.

Ответить
Andrea O.
Andrea O. - 03.08.2022 04:24

Hi, thank you so much for the video! How do I make it so that URLs are actual videos and not thumbnails? I am using it for a project and don't want to use the inspect tool to access the videos.

Ответить
Schuenkelife
Schuenkelife - 28.07.2022 15:46

hello so im use js react axios im not getting error until i use snippet ?or video id and it will have the frame but not the video?

Ответить
Gabriel Ramires
Gabriel Ramires - 23.07.2022 21:23

Thanks! What a great introduction to the yt API!

Ответить
Gloria Jeptepkeny
Gloria Jeptepkeny - 19.07.2022 13:31

Thank you so much

Ответить
Abhishek Kokate
Abhishek Kokate - 12.07.2022 06:54

Can i get my private videos with this?

Ответить
KhaliTutors
KhaliTutors - 29.06.2022 12:07

plus one subscriber

Ответить
Coøldy
Coøldy - 10.06.2022 01:54

nice video. Thanks bro

Ответить
Taiwan Adhikari
Taiwan Adhikari - 25.05.2022 12:55

I am not getting data after execute .. why?? please help bro

Ответить
A
A - 29.04.2022 14:54

Thank you!

Ответить
Lead Me Outdoors
Lead Me Outdoors - 28.04.2022 02:24

Great video! I got everything working except I am pulling broken thumbnails. It appears ${video.snippet.thumbnails.high.url} is not working. Any ideas?

Ответить
Abdul Nafay
Abdul Nafay - 21.04.2022 17:35

Hi Zhang,
I am making a college project. I have done all the things I'm getting all the data title, thumbnail, e.t.c. Now I wanted to do is when I click on video it should go to the my Nextpage and play the video can you help me ? Btw I'm making it in HTML, CSS, JS. Thanks in advance.

Ответить
GamesOn
GamesOn - 08.04.2022 19:45

Can you guide me on whether I can use any other method instead of Search to retreive videos from my channel to be website? The search cost is 100 and it only allows me to use 10000 points, so I can only make 100 requests. I tried the video method but it doesn't allow channel ID even though it says in the description in reference tab.

Ответить
rsk
rsk - 21.03.2022 15:36

Very Useful thanks a lot

Ответить
Mr. Manoj #BGMI #ME
Mr. Manoj #BGMI #ME - 24.02.2022 20:51

Actually ur video code in simple and awesome
Can we get a code ?

Ответить
Manish Kulal
Manish Kulal - 13.01.2022 16:49

Love you bro for this video thank you so much 💘💘💖💖💖

Ответить
JT⚡
JT⚡ - 10.01.2022 22:16

Great video, you explain this very well. Could you make a video on Live Streaming API - how can I get my ID and make my own chat (to later be used as a browser source), aka a custom chat that I can customize.

Ответить
Sohini Pattanayak
Sohini Pattanayak - 22.10.2021 07:52

Awesome Video. This wouldn't be chargeable right?

Ответить
Technical Friend
Technical Friend - 30.09.2021 18:25

What browser do you use?

Ответить