UE5 Tutorial - Add Video to a Widget

Поділитися
Вставка
  • Опубліковано 3 лип 2024
  • Updated version: • UE5 Tutorial - Add Vid...
    In this video we're going to create a widget that plays a MP4 file.
    Get access to all the tutorial files by supporting me on Patreon!
    / softstonegames
    Chapters:
    0:00 Intro
    0:23 Adding files
    2:00 Creating Widget
    4:05 Adding Plugin
    4:37 Finished project & outro
    Questions?
    Comment down below :)

КОМЕНТАРІ • 45

  • @SoftStoneGames
    @SoftStoneGames  2 роки тому +2

    Got any requests for a tutorial? Let me know in the comments!

  • @user-td3hm6lw3x
    @user-td3hm6lw3x Рік тому +6

    If anybody is looking to make this work on loop (like gifs) just add the 'Set Looping' node to the Event Construct dragging it from the Media Player Reference.
    This was very helpful. Thank you

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

      dude it is enough to check "Loop" inside the Media Player :D

    • @user-nn5gz8ge1i
      @user-nn5gz8ge1i 5 місяців тому

      And necessarily enable electra plugin that your gif playing normaly and not like shit)

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

      That doesn't work with me :(

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

    So fast and straight to the point, damn, wish everyone was like this...very cool

  • @jomesias
    @jomesias 2 місяці тому +1

    Awesome! Once you want to start doing advanced stuff in unreal (like time reversal, Replay system etc) it requires C++. At least this solution is available in blueprints 🎉🎉

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

    Thank you very much for this tutorial, works perfectly

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

    Thank you for sharing this! The Elektra plugin was what I was looking for :)

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

      Spoke too soon, enabled Electra, restarted and it still is playing blank. If I open up the Media Player in the content browser, I can see the videos being played with a Electra watermark. In the VideoWidget, do we need to size the image? I see in your video that it is set at 32x32 px. I'm not sure what else went wrong...

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

      @@dav We got the same issue. We have no idea of what it could be...

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

    Thanks a lot, you are my hero!!

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

    Thanks a lot mate

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

    thank you bro

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

    Thanks man

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

    Does this work the same for a video clip that has transparent areas (alpha channel)?

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

    Play in Editor: It works.
    Playing after packaging: Black Background.
    I used the Texture for a Border

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

      Sounds like your movie file didn’t get packaged. Make sure you copy/paste your movie file to the movies folder, and then import it into your project from there.

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

    Great tutorial, thank you! *subscribe*⭐⭐⭐⭐⭐

  • @Bulutulu
    @Bulutulu Місяць тому +1

    Activate the 'electra player' plugin, the video works, but I can't package my project. How can I fix this?

    • @incognito390
      @incognito390 2 дні тому

      You must place your video in the "movie" folder. If it doesn't exist, create it in the project folder.

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

    @SoftStoneGames Could you please make a guide on how to skip the video, want to have the option to skip the video in my games opening sequence, but I am not able to find any guides to do so

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

      detect when a key is pressed and then just close the widget

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

      What also works is placing the image inside of a button. This way you can close the video when the button is clicked.

  • @nikitafilatov6723
    @nikitafilatov6723 27 днів тому

    tnks)
    bt it not working on packaged project ((

  • @sitifathimahmuthmainnah1913
    @sitifathimahmuthmainnah1913 Рік тому +3

    how if i want to add an audio to a widget?

  • @user-nn5gz8ge1i
    @user-nn5gz8ge1i 5 місяців тому

    Bro, dir "Movies" must be in Content dir? Or it can be in any other directory that located in "Content" dir?

    • @SoftStoneGames
      @SoftStoneGames  5 місяців тому +1

      Must be placed in the content folder. If you place it anywhere else, the movie files won’t get packaged

    • @user-nn5gz8ge1i
      @user-nn5gz8ge1i 5 місяців тому

      @@SoftStoneGames OK, thanks mate!

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

    It's blank unfortunately

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

      Check if you’ve got the Electra plugin enabled

    • @GokdenizCetin
      @GokdenizCetin Рік тому +4

      @@SoftStoneGames I did!! What is the problem you think?

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

    Electra plugin crashes my engine anytime I try to walk

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

      I don’t think the plugin is needed anymore in 5.1&5.2

  • @Arecross1
    @Arecross1 Рік тому +3

    its just white :(

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

    didn't work 5.2 :(

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

      There's a link in the description for the UE5 version

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

    its not playing infinitly

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

      Open the mediaplayer, and on the right side, under playback you can check "loop"

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

    how if I want to add an audio to a widget ?

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

      To add audio, you have to split the audio track from the movie file. You can check out my unreal engine 4 tutorial for that (add video and audio to a widget). The unreal engine 5 tutorial for this will come soon, but there’s actually no difference in how to add audio files between ue4 and ue5.

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

      @@SoftStoneGames thanks a lot