ComfyUI Extension: ComfyUI-YouTubeVideoPlayer

Authored by daxcay

Created

Updated

6 stars

Plays youtube videos in comfy. Use this node to share tutorials or renders. Youtube Playlists mode is also in Future Development in which you can add multiple youtube links and form a playlist which would be ideal for chained tutorials or lisitening and sharing songs playlists with others.

Custom Nodes (0)

    README

    <img src="https://github.com/user-attachments/assets/df42a248-5714-4c33-a92c-5c0ce23ec68e" alt="Icon" width="35" style="vertical-align: bottom;"/> ComfyUI-YouTubeVideoPlayer 

    Version Last Update

    Plays youtube videos in comfy. Use this node to share tutorials or renders. Youtube Playlists mode is also in Future Development in which you can add multiple youtube links and form a playlist which would be ideal for chained tutorials or lisitening and sharing songs playlists with others.

    <p align="center"> <img src="https://github.com/user-attachments/assets/d20eefe3-0c7a-493a-a51b-a1d37648f494" alt="Your Image Description" /> </p>

    Node Name: YoutubeVideoPlayer

    <p align="center"> <img src="https://github.com/user-attachments/assets/f4fbce14-e00f-4a17-bd36-abd8e31ea883" alt="Your Image Description" /> </p> </br>

    How To Copy Links

    • Long Video Link

      • Open your Youtube Video and right click on the video and copy the Video URL
      • Then Paste this link in the node inside comfyUI
      • Deselect the node to execute
    <p align="center"> <img src="https://github.com/user-attachments/assets/23cfc11d-d7d3-4d2a-b790-e91f8af98da5" alt="Your Image Description" /> </p>
    • YT Shorts links:

      • Open your Shorts page and in the link, replace the "short" to "watch" <img src="https://github.com/user-attachments/assets/8e2e3de0-d16b-4c88-acb9-3dbf6ae530a1" alt="Your Image Description" width="500"> <div>Replace to:</div> <img src="https://github.com/user-attachments/assets/4dd5545f-9a87-488d-9285-cda9ae120b6b" alt="Your Image Description" width="500">
      • After pressing enter, a full youtube page will open
      • Right click on the video and copy video URL
    <p align="center"> <img src="https://github.com/user-attachments/assets/957f0cb9-83f2-4cb9-85e8-5c4d811fe8a5" alt="Your Image Description" /> </p>
    • Paste the link in the Node & Deselect the node to execute
    <p align="center"> <img src="https://github.com/user-attachments/assets/e699533b-d641-47e8-9082-47daddf479d8" alt="Your Image Description" /> </p> </br>

    Know Errors

    • Video Unavailable:

    <p align="center"> <img src="https://github.com/user-attachments/assets/0d5d15a4-40f4-4d71-a973-9b8e343aafd5" alt="Your Image Description" /> </p>
    • Possible Causes

      • The Video might have copyright restrictions so it can't be shared.
    <p align="center"> <img src="https://github.com/user-attachments/assets/1923c171-968a-4fef-b716-9aec6b6a83a2" alt="Your Image Description" /> </p>
    • For Shorts If using some copyrighted songs, this will still happen without any restriction error

    • In the Video Details > Show more settings - "Allow Embedding" is turned OFF, Enable/Check this Box to prevent this error.

    <p align="center"> <img src="https://github.com/user-attachments/assets/f657a7dd-243d-4f4c-9890-cdea574d086c" alt="Your Image Description" /> </p>
    • Video is Private

    <p align="center"> <img src="https://github.com/user-attachments/assets/a38d0966-ef13-4e93-9ff9-b6c29bc4647d" alt="Your Image Description" /> </p>

    The issue is in the Video Settings, Open your Youtube Studio page: - In the Video Settings in the right panel > Under Visibility option

    <p align="center"> <img src="https://github.com/user-attachments/assets/05ecaedb-25ad-4c1a-96ca-865320f77774" alt="Your Image Description" width="500"> </p>

    Change this From Private to Public or Unlisted in order to work

    <p align="center"> <img src="https://github.com/user-attachments/assets/a954b5f3-9e26-413d-87f8-3ca10ad61079" alt="Your Image Description" width="500"> </p> </br>

    Installation

    • Manual Method

      • Go to your ComfyUI\custom_nodes and Run CMD.
      • Copy and paste this command: git clone https://github.com/daxcay/ComfyUI-YouTubeVideoPlayer.git
    • ComfyUI Manager

      • Search for "Youtube" inside Comfy Manager > Install Custom Nodes
      • Click Install to download and install this node in your comfyui
    </br>

    Contacts

    • ComfyUI Node Developer - Daxton Caylor

      • Email - [email protected]
      • Patreon: https://patreon.com/daxtoncaylor
      • Buy me a coffee: https://buymeacoffee.com/daxtoncaylor
      • Discord Server: https://discord.gg/UyGkJycvyW
    • Node Idea - Jerry Davos

      • Email - [email protected]
      • Patreon: https://www.patreon.com/jerrydavos
      • Workflows: https://openart.ai/workflows/profile/jerrydavos
      • Discord Server: https://discord.gg/z9rgJyfPWJ
      • Youtube: https://www.youtube.com/channel/UCUoTFmdvUaNQe3P2Rgwx0yQ