YouTube Media Downloader

FREEMIUM
Por DataFanatic | Atualizado 3 дня назад | Data
Popularidade

9.9 / 10

Latência

1,559ms

Nível de serviço

100%

Health Check

100%

Voltar para todas as discussões

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.

Junte-se à discussão - adicione o comentário abaixo:

Efetue login / inscreva-se para postar novos comentários