YouTube Media Downloader

FREEMIUM
От DataFanatic | Обновлено לפני חודש | Data
Популярность

9.9 / 10

Задержка

1,527ms

Уровень обслуживания

100%

Health Check

100%

Назад ко всем обсуждениям

Video URL

Rapid account: Lokeshgpt 82
lokeshgpt82
לפני חודש

May I know if there is any way we can get the video url and embed url for a specific video based on ID. I checked the response and could not find any. can you let me know how to get the video.

Also it would be helpful to have comment count and like count in Get Video Details endpoint

Rapid account: Data Fanatic
DataFanatic Commented לפני חודש

Hello. Thank you for choosing us.

  1. For getting the video URLs and embed URLs:
    This can be done by constructing strings as shown below.

    Video URL:
    `https://youtu.be/${videoId}`
    or `https://www.youtube.com/watch?v=${videoId}`
    
    Embed URL:
    `https://www.youtube.com/embed/${videoId}`
    
    Embed Code:
    `<iframe width="${width}" height="${height}" src="${embedUrl}" title="${title}" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share" referrerpolicy="strict-origin-when-cross-origin" allowfullscreen></iframe>`
    

    Thus, this feature can be easily implemented in your client codes; we won’t add it to the endpoint.

  2. For getting the comment count and like count in the “Get Video Details” endpoint:
    We’ve added likeCount and commentCountText to the response of the endpoint /video/details. We hope it helps.

Присоединяйтесь к обсуждению – добавьте комментарий ниже:

Войдите / Зарегистрируйтесь, чтобы публиковать новые комментарии