How to Play VIDEO in Unity - Easy Tutorial (2023)

Поділитися
Вставка
  • Опубліковано 10 лис 2024

КОМЕНТАРІ • 51

  • @BigScrumbo
    @BigScrumbo 7 місяців тому +4

    I remember this being a whooole lot harder a few weeks back, but this video made it seem so easy! Thanks for showing the camera near plane trick, it helped me achieve the exact effect I was looking for!

  • @danielsantana6018
    @danielsantana6018 25 днів тому

    Simple and Direct to the point. Thanks !

  • @KieraDharke
    @KieraDharke 5 місяців тому

    This is exactly how tutorials needs to be done. Straight to the point and helpful

  • @agustinquindimil6594
    @agustinquindimil6594 4 місяці тому +3

    Thank you so much, my victory screen is amazing now!!! thanks to you

  • @NailDeğirmenci-j5m
    @NailDeğirmenci-j5m 8 місяців тому +7

    I followed the same steps but the video did not move. When I press play, nothing but the default image comes up. What do you think I should do?

    • @NailDeğirmenci-j5m
      @NailDeğirmenci-j5m 8 місяців тому +3

      The codec of the video should be mpeg-4, h.264 or h.265 codecleri unityde çalışmıyor. the problem is solved

    • @mijikanijika
      @mijikanijika 8 місяців тому

      ​@@NailDeğirmenci-j5m I'm so happy you actually gave the solution thank you so much

    • @mohamedmusthafa1057
      @mohamedmusthafa1057 7 місяців тому

      Thanks man❤​@@NailDeğirmenci-j5m

  • @lapisthehuman
    @lapisthehuman 6 місяців тому +3

    How exactly would I go about projecting my image into a 3D model of a TV? Simply edit video to appear like a screen is over it, make the size of the video small enough to fit into a 3D model of a TV, and then code it to trigger video to play after entering the room or something. This is what I imagine, but yet it seems like that would be too easy…

    • @niklasgrasshoff3194
      @niklasgrasshoff3194 4 місяці тому +1

      Probably too late but maybe helpfull for others. Put your video into the render texture as shown and then use the render texture as the emissive map on your TV Screen Model. If the Video ist distorted you need to rearange the UVs of your TV front in Blender. What I did was, that I spearated the screen from the TV Mesh and scaled the UVs in a way the video wouldnt be clipped or distorted.
      By using the render texture as the emissive map you can still have a roughness map on top to achieve realistic reflections.

  • @playermax8265
    @playermax8265 5 місяців тому

    like after making a choice, I would like to display a video in full screen, directly, I have to follow these steps or I can put it another way?

  • @darkman237
    @darkman237 9 місяців тому +2

    If you are making the video yourself, what kinds does it need to be? I'm getting an error, something about wrong keyframe in mp4

    • @Derbyskiller
      @Derbyskiller 8 місяців тому +1

      Hmmm sus mp4 should be fine.

  • @tanha68
    @tanha68 11 місяців тому +2

    Excellent video Tanks men.

  • @TaniaGatt673
    @TaniaGatt673 4 місяці тому

    Hi. Thanks for your detailed tutorial. We have issues as though the video sound is playing, the plane does not appear. What could be the issues please? Thanks

  • @slimyslimer2642
    @slimyslimer2642 11 місяців тому +4

    A question: What if i want to change scene once the video ends?

    • @bhsamuraii
      @bhsamuraii 11 місяців тому +3

      prob use a coroutine that matches length of vid, then use scene management

    • @phoenixfire6559
      @phoenixfire6559 Місяць тому

      Use the first way he showed. On the same gameobject which plays the video attach a script which can add a scene transition effect and then load the new scene or disable the object the video is on. Basically, the 2nd way is good for one-off video plays but the first gives greater control if you are integrating it into a game.

  • @vivekmusafir2304
    @vivekmusafir2304 7 місяців тому +1

    Can u please make a video on how to render a video from live video streams ?

    • @lapisthehuman
      @lapisthehuman 6 місяців тому

      Bruh tryna stream snipe in unity editor

  • @YvanSOMMER
    @YvanSOMMER 3 місяці тому

    Thanks Ahmet !

  • @FathayaFithranda
    @FathayaFithranda 4 місяці тому

    nice tutorial bro its work

  • @CELUGames
    @CELUGames 6 місяців тому +1

    Amazing!

  • @gamingwithremote
    @gamingwithremote 9 місяців тому

    Thank you

  • @GameMakerGuy
    @GameMakerGuy 11 місяців тому +1

    It takes a long time to load when i build it to webgl, how can i fix that

  • @malikmuhammadarslan9993
    @malikmuhammadarslan9993 Рік тому +2

    please, please make a video on how to implement unity ads in unity project, thankyou

  • @Niksstuff
    @Niksstuff Рік тому +1

    Thank you!

  • @TechGamer-e5l
    @TechGamer-e5l 5 місяців тому

    im putting this video in my game

  • @Krupaux
    @Krupaux 10 місяців тому

    Thank you

  • @Maddox3310
    @Maddox3310 2 місяці тому

    Help. The video isn’t displaying when I hit play but audio is still there

  • @m.e.i____
    @m.e.i____ 9 місяців тому

    Thanks ❤

  • @DenisAzman-h7r
    @DenisAzman-h7r Рік тому +4

    Why doesn't work when i build on android device

  • @BENLAK
    @BENLAK 11 місяців тому

    thanks for the tuto

  • @ya_kix8861
    @ya_kix8861 10 місяців тому

    thanks a lot !

  • @ROUGETHEBAT456
    @ROUGETHEBAT456 3 місяці тому

    What if a project excludes it how do u fix it

  • @GoldenBOX777
    @GoldenBOX777 9 місяців тому

    My video size is 1080 x 1920 which is portrait. when playing it in unity, the - 90 degree rotation occur. any solution? Thanks~

  • @Crystal_guy
    @Crystal_guy 10 місяців тому +2

    how can i add emission on it ?

    • @4Aces.
      @4Aces. 9 місяців тому +1

      hey! did you ever figure out how to do this?

    • @ImJamieX
      @ImJamieX 5 місяців тому

      @@4Aces. I can explain my way, but just know I've only been using unity for a few days...
      (Used Plane for this btw) click the plane your videoplayer is in, and in the planes "Mesh Renderer" make sure "Contribute Global Illumination" is true, and "Receive Global Illumination" is on "Lightmaps"... make sure your project has post-processing installed and add some Bloom to your scene, together this will all make a nice lighting effect for your screen and will bounce some light off it that matches the color.....
      in my the material im using to set the video on i have Emission checked. hdr is white and color is set to my videotexture :)
      IF you mean actual lights that emit onto walls and stuff, your best bet would be to position some lights around the screen until you have a good effect then pick parts of your screen to read color/brightness from the pixels in that area. then set the lights to matching color/brightness to the lights per few frames or second...
      just know this does impact performance quite abit on lower end devices..
      and if I messed up my explanation or theres a better way, just remember IM A COMPLETE NOOB in unity.

  • @cortesbr8131
    @cortesbr8131 11 місяців тому

    Can you show how tro do the same thing, but with 360 videos? I'm getting an specific error...

    • @SoloGameDev
      @SoloGameDev  10 місяців тому

      What do you mean 360 videos?

  • @Warfactory207
    @Warfactory207 7 місяців тому

    Man u best

  • @cyruzz2863
    @cyruzz2863 9 місяців тому

    how do u put remove background video?

  • @JulianGamerShortsVideos
    @JulianGamerShortsVideos 4 місяці тому

    when i import my video it doesnt let me put it into the video clip

  • @rayanelg2187
    @rayanelg2187 6 місяців тому

    Tkank you

  • @CarlosDanielValdivia
    @CarlosDanielValdivia 11 місяців тому +1

    y para ponerlo en bucle?

  • @portfolio_m
    @portfolio_m Рік тому

    How to implement meta audience network on unity?

  • @elissacohenour6096
    @elissacohenour6096 3 місяці тому

    Once i put a video in a folder in unity, IT GAVE ME THE WARNING