I
I
Ilya Filonov2021-01-07 20:21:33
YouTube
Ilya Filonov, 2021-01-07 20:21:33

How to get the title of a Youtube video from a video link?

Good afternoon. I have a website, something like an online store.

Where a lot of products appear in the usual place in the "Products" section, there should be thumbnails of YouTube videos.

How to implement a mechanism that would receive a link from YouTube and return some video data. For example, title.

Website written in ReactJS

Answer the question

In order to leave comments, you need to log in

2 answer(s)
G
GF, 2021-01-07
@gbreadman13

https://developers.google.com/youtube/v3/docs/videos

S
Sergey Sokolov, 2021-01-07
@sergiks

here is an option: https://qna.habr.com/answer?answer_id=1394898#answ
... CORS won't allow it. If only through your site as a proxy.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question