YouTube Media Downloader

FREEMIUM
Par DataFanatic | Mise à jour 21 час назад | Data
Popularité

9.9 / 10

Latence

1,585ms

Niveau de service

100%

Health Check

100%

Retour à toutes les discussions

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.

Participez à la discussion - ajoutez un commentaire ci-dessous:

Connectez-vous / Inscrivez-vous pour publier de nouveaux commentaires