How to Play a Video In-Game in Unreal Engine 5

แชร์
ฝัง
  • เผยแพร่เมื่อ 7 ก.ย. 2024
  • Hello guys, in this quick and simple tutorial we are going to learn how to play a video in real-time in Unreal Engine 5.
    ↪️Just opened my Discord Server, join NOW: bit.ly/GorkaGa...
    👉Awesome Unreal Engine courses on Wingfox: bit.ly/GorkaGa...
    Check out my Steam Game! bit.ly/3rVlXU1
    Follow me on Twitter: / gorkagames
    Follow me on Instagram: bit.ly/Instagr...
    Subscribe to the channel: / @gorkagames
    unreal engine 5,ue5,play video,tutorial,quixel,megascans,unreal engine tutorial,video play,ue5 play video,ue5 play video ingameui,unreal engine play a video,unreal engine 5 show video,unreal engine 5 simple video player,unreal engine video widget,unreal engine 5 3d video, unreal engine 4 mp4,unreal engine 4,ue4,unreal engine 5 mp4 player,ue5 show video on material

ความคิดเห็น • 102

  • @nishantparmar5382
    @nishantparmar5382 ปีที่แล้ว +46

    for those, whos video is not playing: enable electra video player addon. otherwise it will show black screen only

    • @cardsandgames
      @cardsandgames 9 หลายเดือนก่อน +2

      thank you so much!

    • @UNF344
      @UNF344 8 หลายเดือนก่อน

      Thank you for the extra help, but what should I do if the material does not save when I exit the project?

    • @TheOtherDerek
      @TheOtherDerek 6 หลายเดือนก่อน +1

      Lifesaver.

    • @daniel.pandele
      @daniel.pandele 5 หลายเดือนก่อน +2

      This comment should be higher up.

    • @thatETTYT
      @thatETTYT 4 หลายเดือนก่อน +2

      Bro, you are a legend. I was wondering why it wasn't working. Thank You.

  • @caseynarrates1796
    @caseynarrates1796 11 หลายเดือนก่อน +5

    I was looking for this exact thing, specifically how to run the mp4 via blueprint! Thank you much for the super concise and efficient tutorial!

  • @vid828
    @vid828 4 วันที่ผ่านมา

    I keep coming back to this one

  • @GLmig
    @GLmig ปีที่แล้ว +7

    4 m minute video packed with the info i needed. Thank you

  • @tolgakilic7655
    @tolgakilic7655 12 วันที่ผ่านมา

    Thank you so much friend!

  • @ivytechengineer
    @ivytechengineer หลายเดือนก่อน

    Great video, thank you. I want to adapt to make the video start on a button grab.

  • @doller6584
    @doller6584 ปีที่แล้ว +13

    next :how to make a game inside your game

    • @FPChris
      @FPChris ปีที่แล้ว +1

      It happens.

    • @louisota7028
      @louisota7028 3 หลายเดือนก่อน

      i actually would like to know this

  • @michaelanthonygutierrez
    @michaelanthonygutierrez 7 หลายเดือนก่อน

    If it says an "array of Media player" then right click on where it says "Media Player under Variable" to change from squares to a single circle"

  • @sometimesyouneverknow4906
    @sometimesyouneverknow4906 ปีที่แล้ว

    Thank you! I knew there had to be some level blueprint nodes to attach to beginplay to run a video player without using level sequencer!

  • @megan8494
    @megan8494 2 หลายเดือนก่อน

    Do you have any videos discussing how to add different materials to different vertex groups/faces? I come from a blender background. Just new to UE

  • @studiobaxter1242
    @studiobaxter1242 26 วันที่ผ่านมา

    Thanks. Would anyone know if you can attenuate the sound using a video file? I created an attenuation blueprint and added it in the section of the details panel for the mesh that has the media material, but doesn't seem to work. I assume you'd have to add a separate sound file.
    This seems pretty important and a pain, as you probably don't want the sound from the video playing over the whole level.

  • @derf0007
    @derf0007 ปีที่แล้ว +3

    If I want to import a video and use it as a full screen cinematic would I have a camera go to it or is there a way to just auto play the video full screen as an event?

    • @tinchodonte2720
      @tinchodonte2720 7 หลายเดือนก่อน

      th-cam.com/video/Zyew5nWxubA/w-d-xo.html

  • @vid828
    @vid828 4 วันที่ผ่านมา

    Blueprint parts starts at 2:40

  • @omersaidsaydan
    @omersaidsaydan ปีที่แล้ว

    Thank you dude! Now i can make a cinema enviroment. Thank yoıu very much! :)

  • @arechikitsune
    @arechikitsune ปีที่แล้ว +1

    do you know of a way to add video ads thru services like admob that players can optionally view to get in game bonuses?

    • @Rabbit14
      @Rabbit14 ปีที่แล้ว

      that would actually be a great idea

  • @ivytechengineer
    @ivytechengineer หลายเดือนก่อน

    How do I add video to a build for the Oculus Quest II?

  • @gamesbyaaron
    @gamesbyaaron ปีที่แล้ว

    Sucks they didn't streamline this for UE5. I'm still stuck here on UE4 island, but still, was hoping it was easier to add videos when I made the switch.

  • @dolphard
    @dolphard ปีที่แล้ว +2

    Thx, will this work for online vids as well, ie live Twitch streams?

    • @GorkaGames
      @GorkaGames  ปีที่แล้ว +1

      well for that you will need a subsystem to connect in real.-time with the server. There are a few plugins out there

    • @Dnf_Jeff
      @Dnf_Jeff 5 หลายเดือนก่อน

      @@GorkaGamesthis, any more keywords to point us in the right direction?

  • @vid828
    @vid828 4 หลายเดือนก่อน

    Thank you

  • @Ismatxr
    @Ismatxr 10 หลายเดือนก่อน

    Great. I wonder how can we pckaged multiple video with size over 10gb inside android?
    Im thinking of using file path, but didnt work. (maybe I do some mistake)

  • @Durant_X
    @Durant_X ปีที่แล้ว

    finally a tutorial that worked! haha thanks!

  • @SaintDeus
    @SaintDeus ปีที่แล้ว

    Thanks for precious tutorial!

  • @DeLaGallagher
    @DeLaGallagher 3 หลายเดือนก่อน

    Thank you :)

  • @ExoticGamerrrYT-op5xi
    @ExoticGamerrrYT-op5xi ปีที่แล้ว +1

    Hey gorka do you have any video of how to reduce the size of the packaged game in unreal engine 5, if you dont have could u pls make one

    • @GorkaGames
      @GorkaGames  ปีที่แล้ว +2

      I don't have a tut on compressing a packaged game, but i can make one!

    • @ExoticGamerrrYT-op5xi
      @ExoticGamerrrYT-op5xi ปีที่แล้ว +1

      @@GorkaGames thx bro

  • @user-yw8dj1ho3g
    @user-yw8dj1ho3g 3 หลายเดือนก่อน +1

    I enabled electro player but still not playing video

  • @jezzathegoat
    @jezzathegoat 6 หลายเดือนก่อน

    How can I change the volume of the set Media Players? Everything is just on full blast

  • @killerthepro756
    @killerthepro756 ปีที่แล้ว

    Sorry i am late it's a long story but great vid and question saw the poll that is great to hear but when will you start focusing on the mysterious series coming up

  • @j4xk_btw
    @j4xk_btw 6 หลายเดือนก่อน

    Just wondering if their is any way i could turn it off whilst pressing e and turn it back on?

  • @zachwise476
    @zachwise476 ปีที่แล้ว

    U R for real the best

  • @rajputali8091
    @rajputali8091 4 หลายเดือนก่อน

    Whenever Iam Applying same video of yours to my exported mesh than the video is coming too huge stretched how to cater that please tell

  • @mysteriarandonfan
    @mysteriarandonfan ปีที่แล้ว

    thank you !

  • @ribit0w022
    @ribit0w022 3 หลายเดือนก่อน

    hey only one of these will work in one level? or can you have multiple?

  • @user-ti9vd3wt8j
    @user-ti9vd3wt8j ปีที่แล้ว

    Hello i have a question, is posible using this tutorial for multiplayer ? I Need play video in real time -client and server , ??? Thnks

  • @digitaldiggtv
    @digitaldiggtv 7 หลายเดือนก่อน

    After creating is this something that can be imported into UEFN?

  • @saadahmed9055
    @saadahmed9055 10 หลายเดือนก่อน

    how to set the ratio the video is getting crop in the game only 1/4 screen of video is playing plzz help

  • @gionline9
    @gionline9 2 หลายเดือนก่อน

    i suggest increasing your text in the editor, i can't see what you are doing

  • @BeachcomberFilms
    @BeachcomberFilms 11 หลายเดือนก่อน

    Dude, great video but can you make one a little slower?

  • @MartKart8
    @MartKart8 ปีที่แล้ว +1

    Do you take requests, if so can you make a video on collecting items and being able to have that same item , when on a new map, like how Mario collects stars.
    People often say it's easy, using game instance and never properly explain how to save import items and be able to call them from a game instance, as I can't get it to work?

    • @keelan8674
      @keelan8674 ปีที่แล้ว

      There are a few ways to do this, I would suggest you only cast to the game instance before you switch levels or at save points as constantly using a cast can have an effect on performance.
      Using the coin example. Create a coin count int variable on your character and then on a begin overlap event check if the player overlaps a coin. (Check if the overlapped actor is of the Coin class or give your coins a tag and check if the overlapped actor has the coin tag.)
      On the overlap event, add one to the coin count and destroy the coin actor instance.
      Create a game instance with a coin count variable (you might want a variation on the variable name, to make things clear but it doesn't matter.) When you are about to go to a new level, cast to the game instance and set the game instance coin count variable value with the coin count value stored on your player character.
      Now, to pass the information back to your character when you open a new level, in your character BP, on the begin play event, cast to the game instance again and set your character coin count variable value to the game instance coin count variable value.
      I'm not sure if this is the best way to do it, but it should work. I'm happy to help if you need more assistance.

    • @MartKart8
      @MartKart8 ปีที่แล้ว

      @@keelan8674 this might sound odd, could you make a video of it?

  • @anonym439
    @anonym439 5 หลายเดือนก่อน

    im not in the game template when i press play the video became an image. it didnt move frames

  • @Ethan348
    @Ethan348 ปีที่แล้ว

    Next: Mini-games within a game!

  • @astonyo7544
    @astonyo7544 ปีที่แล้ว

    I have an issue to play the mp4 video on imported mesh from 3ds Max but when I create a simple plane in UE5 it plays the video. Why is this happening? Also how can we add sound separatelly?

  • @Ren-gr1me
    @Ren-gr1me 9 หลายเดือนก่อน

    great, how to do multiple videos though? event begin play will only connect to one, sequence node doesn't work

    • @markjohnson6730
      @markjohnson6730 7 หลายเดือนก่อน +1

      Hey mate did you figure this out. I have the same issue

    • @Dnf_Jeff
      @Dnf_Jeff 5 หลายเดือนก่อน

      @@markjohnson6730create a new media playlist. Add array elements and select each. Use open/play nodes corresponding to playlist.

  • @IndigoKidda
    @IndigoKidda 9 หลายเดือนก่อน

    LEGEND

  • @fuddyf1022
    @fuddyf1022 ปีที่แล้ว

    Is there a way to be able to play TH-cam videos In a packaged project?

    • @user-jt3yt3oh7s
      @user-jt3yt3oh7s ปีที่แล้ว +1

      In order to use them in the Packaged version, you need to create a folder in content called "Movies" , and put your TH-cam videos inside that in .mp4 format.. and change the path in the media source.. then when you package it , it should work !

  • @richardio2829
    @richardio2829 ปีที่แล้ว

    How do you add more videos

  • @Leomerya12
    @Leomerya12 10 หลายเดือนก่อน +1

    The attenuation doesn't work for me...

    • @SchriztopherGaming
      @SchriztopherGaming 6 หลายเดือนก่อน

      same, it's playing for the entire level instead of local...did you find a fix?

  • @MarioStingerPerpetualTraveller
    @MarioStingerPerpetualTraveller 10 หลายเดือนก่อน

    Still not working for me, even with a blank project...

    • @drenwww
      @drenwww 2 หลายเดือนก่อน +1

      did you managed? there are several things to be sure of, like the electra plugin to be unlocked for example, also the one of the last variable required to be linked to the video file

    • @studiobaxter1242
      @studiobaxter1242 26 วันที่ผ่านมา

      @@drenwww
      That variable needing to be linked, threw me for 24 hours. He does say it here, but somehow I missed it.

  • @steviegi584
    @steviegi584 ปีที่แล้ว

    everytime I restart my project I have to first start the video in the media player in order for me to play/stop it in game mode. is there a way to fix that?

    • @vermontescapes2713
      @vermontescapes2713 6 หลายเดือนก่อน

      th-cam.com/video/2GKC8yEgv2s/w-d-xo.html

  • @DigitalMagicchennai
    @DigitalMagicchennai ปีที่แล้ว

    LogWmfMedia: Error: Tracks 00000A9CF4A60510: Format is not supported in D3D12. Well it is Showing Like this when I try to play what should I do

    • @TheJMBon
      @TheJMBon ปีที่แล้ว

      UE5 is bugged with Media Players and DirectX12. There are countless threads about this. You have to go into Project Settings->Windows and change DirectX to 11.

    • @OtakuCulture0
      @OtakuCulture0 ปีที่แล้ว

      convert to webm

  • @devjitpaul1191
    @devjitpaul1191 ปีที่แล้ว +1

    how to make it loop?

    • @unreal__academy
      @unreal__academy 11 หลายเดือนก่อน

      Did you get any solution about video looping

    • @devjitpaul1191
      @devjitpaul1191 11 หลายเดือนก่อน

      @@unreal__academy there is an option to loop in the media player or some other file like media texture i don't remember exactly

    • @unreal__academy
      @unreal__academy 11 หลายเดือนก่อน

      @@devjitpaul1191 Thanks man i got this option in media texture file

    • @devjitpaul1191
      @devjitpaul1191 11 หลายเดือนก่อน

      @@unreal__academy awesome

  • @XanTronS14
    @XanTronS14 หลายเดือนก่อน

    how do i loop the video

    • @studiobaxter1242
      @studiobaxter1242 26 วันที่ผ่านมา

      In the media player is a loop option

  • @Gnda3e
    @Gnda3e ปีที่แล้ว

    hello yo know how to do the same but instead of a video a web browser?

    • @user-jt3yt3oh7s
      @user-jt3yt3oh7s ปีที่แล้ว +1

      You can use the Web Browser (which was created as a widget) , then place them as an overlay of screen , You can add that widget in your static mesh (Screen) click +Add component there you can find widget just add them and in details panel under class place your web browser widget then , keep them in correct position , then when you play you can see the Web Browser widget in the screen

    • @Dnf_Jeff
      @Dnf_Jeff 5 หลายเดือนก่อน

      @@user-jt3yt3oh7sbut it shows a browser and couldn’t be passed as a TV right? Thanks, for anyone who digs and finds this. I noticed a play media, URL node, Library of Congress has video files accessible through browser in a url.mp4 format. I couldn’t even get that to work. But I’m hearing about this subsystem that’s needed to retrieve that information. Maybe I’ll make a video on my progress. I’ve got a TV with skip back and forth, and change channels. Rewind doesn’t work, get timestamp and resume a different video on that timestamp has been difficult but doesn’t seem impossible the nodes are there

  • @unreal__academy
    @unreal__academy 11 หลายเดือนก่อน

    Bro how can we play video in loop

    • @VRAXASERVER
      @VRAXASERVER 7 หลายเดือนก่อน

      in the media player details panel enable loop

  • @matiaslanzi6132
    @matiaslanzi6132 4 หลายเดือนก่อน

    now what we have to do...

  • @jatindahiya170
    @jatindahiya170 11 หลายเดือนก่อน

    how can i make that video repeat itself please tell me

  • @B31L
    @B31L ปีที่แล้ว

    cool👍👍👍👍

  • @AliBounds
    @AliBounds ปีที่แล้ว

    Working tv

  • @katmoviehd244
    @katmoviehd244 ปีที่แล้ว

    thanks man but how to loop a video?

    • @unreal__academy
      @unreal__academy 11 หลายเดือนก่อน

      Did you get any solution about video looping

    • @katmoviehd244
      @katmoviehd244 11 หลายเดือนก่อน

      yes there is a option for loop in media texture @@unreal__academy

  • @nathangaming369
    @nathangaming369 ปีที่แล้ว +4

    second

  • @user-fj5mo3wk3s
    @user-fj5mo3wk3s 8 หลายเดือนก่อน

    To fast ....

  • @djtc2093
    @djtc2093 8 วันที่ผ่านมา

    Naaaa maaan. This doesn't work.