Search Unity

Play YouTube Video in Unity Canvas

Discussion in 'iOS and tvOS' started by siddharth3322, Oct 27, 2020.

  1. siddharth3322

    siddharth3322

    Joined:
    Nov 29, 2013
    Posts:
    1,049
    I want to play YouTube video in Unity Canvas object like Raw Image.

    I can able to play custom web server uploaded video to Raw Image using Video Player component.

    But I can't able to implement the same thing for YouTube video. I want to play YouTube loaded video in Canvas object because of my gameplay screen UI settings.

    I want YouTube playing video component should be in the proper size and a particular position in the UI layout. Here you have my gameplay screenshot with normal video playing settings:
    hoopsenglish gameplay with video.png

    I want at the same place YouTube URL video gets played, for this, I searched on Google and YouTube but I can't find something useful to me. Everyone playing YouTube videos on a 3d object.

    Please provide me some way so I can play the video on UI Canvas object like Raw Image.