How to Play Videos in a Widget (Unreal Engine 4 UMG Tutorial)

  Рет қаралды 15,024

Joe Von D

Joe Von D

Күн бұрын

Пікірлер: 51
@kapetong7433
@kapetong7433 2 жыл бұрын
3:53 for those who cannot play video correctly instead you only get a black square: in your project setting change your directX setting to directX 11. It's probably that your graphic card does not support dx 12 and that setting somehow became default in UE5.
@ReginaldusGaming
@ReginaldusGaming 3 жыл бұрын
Thank you so much for this video. It's hard to find quality 2d tutorials
@suvigyamishra4604
@suvigyamishra4604 3 жыл бұрын
Joe. Pal! My widget plays the video alright but there's no sound in the media. I am confused.
@alexjr977
@alexjr977 3 жыл бұрын
Thanks Joe :)
@mikewilliams287
@mikewilliams287 2 жыл бұрын
Thank you for this, extremely helpful. Im wondering if anyone knows how to make the flipbook material only play once (instead of loop), and for that playback to be triggerable (ex: press G key) ? Thanks!
@josephcharette7453
@josephcharette7453 Жыл бұрын
Plug a "Constant" node instead of a "Time" node into the "Animation Phase" input. Then convert the Constant to parameter. Animate the parameter from 0 to 1 in the timeline
@williewen5433
@williewen5433 3 жыл бұрын
Hi my Media player not working after packaging. It’s work on my pc but not work for other.
@perschistence2651
@perschistence2651 3 жыл бұрын
2:30 It does not let me drag my .mp4 video into the movies folder.
@CCIGAMES
@CCIGAMES 3 жыл бұрын
Hey Joe. At the 5:55 time mark, for the 'On Clicked' variable leads to 'Set Input Mode' (Target is main menu widget). How do I go about making that and what does it do exactly? Much appreciated. This is the most comprehensive video i've seen so far. keep it up!
@JoeVonD
@JoeVonD 3 жыл бұрын
Hey there Jacob! I’m glad it helped out haha. I probably should have left a link to the previous video “How to Create a Main Menu” because that’s where we make the function Set Input Mode. If you check out that video the function should be explained beginning at 7:28. kzbin.info/www/bejne/aV7Kf2eqotx9atE
@JoeVonD
@JoeVonD 3 жыл бұрын
You also can create the function directly in the Player Controller and call it off the reference in the Widget. It would work exactly the same way except maybe a little better because you’d more easily be able to call it from other Widgets.
@ARMORHOUS3weplay
@ARMORHOUS3weplay 2 жыл бұрын
I was curious if I have my videos hidden are they still running in the background? I have rollover states that unhide them...
@dodart273
@dodart273 4 жыл бұрын
Thanks joe,very cool
@JoeVonD
@JoeVonD 4 жыл бұрын
Thank you! Hopefully it’s useful!
@dodart273
@dodart273 4 жыл бұрын
@@JoeVonD it is!
@Miranda-ry4ob
@Miranda-ry4ob 4 жыл бұрын
Love your videos, Joe! I was wondering if you had already made a video about narrative choice in video games and how to add them. Keep it up 😄
@JoeVonD
@JoeVonD 4 жыл бұрын
Thank you Miranda! I made a simple dialogue tutorial but it doesn’t include different dialogue choices. Giving the choices to the player isn’t hard but it’s keeping track of the chosen choices and keeping the game context sensitive that can get a bit confusing 😬
@Miranda-ry4ob
@Miranda-ry4ob 4 жыл бұрын
@@JoeVonD haha thats what I thought 😆 I'm brand new to game development and your videos have been pretty helpful. Thank you!
@JoeVonD
@JoeVonD 4 жыл бұрын
@@Miranda-ry4ob Welcome to the wonderful world of video game creation! It has its ups and downs haha.
@artsgalaxy5383
@artsgalaxy5383 3 жыл бұрын
Hey bro i am also do this it's perfectly working on pc... But my problem is when I export to android it's black screen appears.. can u give me a solution for this.. pls 🥺
@pablomonfortgames6723
@pablomonfortgames6723 2 жыл бұрын
same stuff happening, where is epic engineers when we need them lol
@artsgalaxy5383
@artsgalaxy5383 2 жыл бұрын
@@pablomonfortgames6723 I find solutions
@artsgalaxy5383
@artsgalaxy5383 2 жыл бұрын
@@pablomonfortgames6723 kzbin.info/www/bejne/r3vcgKOmmMuqrZo Check out this video this video help me to achieve this system...
@BreakBackReality
@BreakBackReality 3 жыл бұрын
Thanks a lot, very helpful! Great job!
@JoeVonD
@JoeVonD 3 жыл бұрын
Thank you! I’m glad it helped.
@unknownbruger
@unknownbruger 3 жыл бұрын
Thanks!
@JoeVonD
@JoeVonD 3 жыл бұрын
Any time!
@arthemisdesign1831
@arthemisdesign1831 3 жыл бұрын
What can I do if video doesn’t play in build on another pc?
@TorQueMoD
@TorQueMoD Жыл бұрын
You shouldn't refernce the video in a random location on your HD, you should move it into a Movies folder in your Content Folder so that way it's always inside your project.
@JoeVonD
@JoeVonD Жыл бұрын
This is correct! And definitely best practice.
@jpmorillo07_
@jpmorillo07_ 3 жыл бұрын
hey my pc crashes after i try to play it in the media player what should i do
@JoeVonD
@JoeVonD 3 жыл бұрын
Sorry you're having that issue. I haven't had that happen in any of my projects. Maybe try to remove parts of the code to find out what section is causing the crash? That's actually a really difficult issue to diagnose.
@jpmorillo07_
@jpmorillo07_ 3 жыл бұрын
@@JoeVonD thank you also when i import my mp4 video to my media player it doesn't play
@DarkHacker201219
@DarkHacker201219 Жыл бұрын
Why i can't choose Media Texture for Image??????? It's not working in 4.27.2!
@JoeVonD
@JoeVonD Жыл бұрын
If they’ve changed that you may be able to create a material with the User Interface domain and have the Media Texture plugged into the base color of that material and then use that material in the Widget. Best of luck!
@anadelgado5189
@anadelgado5189 4 жыл бұрын
Nice job, thank you for sharing, blessings
@chopzymalone
@chopzymalone 3 жыл бұрын
Does anyone know how to add a video player into a widget, like give the users the ablity to play and pause a video export (with audio)?
@octolex
@octolex 2 жыл бұрын
Hey, in order to play sound from a media player you need to have an actor with a media sound component in the scene, then you can set your media player actor as input "media player" of this media sound component. I have a widget that plays a video, as both share the same media player when I play the video from the widget the audio is played automatically :3
@nathanspyro
@nathanspyro 3 жыл бұрын
SIm mas como eu transformo um VIDEO em uma tileset dessas '-0' ?
@elocnat
@elocnat 4 жыл бұрын
Great tutorial, thanks. Couldn't figure out why my video wouldn't play - all the Google results were 2+ years old and unhelpful.
@JoeVonD
@JoeVonD 4 жыл бұрын
Thank you! Glad it helped you out!
@a1ex3d
@a1ex3d 4 жыл бұрын
Hello. How can we add logic to this animation? for example I push on this image (button) and character walk. Then I push again he is standing. Main question - can we add partial animation of spritesheet by some logic ? For example I animate button in AfterEffects and make spritesheet. I want to use parts of this spritesheet to actions (push button, hold mouse over button)... Thanks.
@JoeVonD
@JoeVonD 4 жыл бұрын
You can update the material being used with a dynamic material instance. That’s probably the easiest way. I’m not that well versed in 2D but I’m sure there are other methods to create 2D character states for animations and maybe those can be used as well.
@michaelysmaelfernandez4444
@michaelysmaelfernandez4444 4 жыл бұрын
how bout the sounds?
@JoeVonD
@JoeVonD 4 жыл бұрын
The easiest way is probably to create a sound cue from the audio file you’d like to have as background music, set it to looping and place it in the main menu level. Should work just like that. Or if you mean sounds when you click on buttons, luckily buttons have that customization built in. While on your widget design tab select the button you want to set the sound for, in the details panel on the right side scroll down and you should see “hovered sound” and “clicked sound” and you can select the audio file there. Hope that helps!
@ooidwrioo8968
@ooidwrioo8968 4 жыл бұрын
You have a lot of weird bots on this channel, Do you know had to do animation?
@JoeVonD
@JoeVonD 4 жыл бұрын
Lol there’s a couple bots sometimes. I took some animation courses in college but it’s definitely not my specialty.
An Easy Guide to Save and Load Your Character in UE4
24:29
Joe Von D
Рет қаралды 8 М.
Одну кружечку 😂❤️
00:12
Денис Кукояка
Рет қаралды 2,1 МЛН
Lamborghini vs Smoke 😱
00:38
Topper Guild
Рет қаралды 55 МЛН
Creative Justice at the Checkout: Bananas and Eggs Showdown #shorts
00:18
Fabiosa Best Lifehacks
Рет қаралды 34 МЛН
UE5 Tutorial - Add Video to a Widget (New Version)
11:55
SoftStoneGames
Рет қаралды 8 М.
Playing a Video in Unreal Engine
12:36
VR Playground
Рет қаралды 7 М.
Optimizing and Building UI for AAA Games | Unreal Fest Online 2020
23:52
How To Make 3D Physical UI in UE4
11:22
Antler Studios
Рет қаралды 26 М.
[UE4] Overlay 3D Components Inside a Widget
6:23
Aaron Hunt
Рет қаралды 30 М.
How to Play a Video In-Game in Unreal Engine 5
4:00
Gorka Games
Рет қаралды 74 М.
How to Play Video in Unreal  (Now working in 5.1!)
7:30
Shaun Foster
Рет қаралды 6 М.
UI Material Lab - A great way to learn materials in Unreal Engine
23:35
Одну кружечку 😂❤️
00:12
Денис Кукояка
Рет қаралды 2,1 МЛН