UE5 Tutorial - Add Video to a Widget

Поделиться
HTML-код
  • Опубликовано: 2 авг 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!

  • @aleksamitrovic023
    @aleksamitrovic023 8 месяцев назад +1

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

  • @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 6 месяцев назад

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

    • @MrMerfman
      @MrMerfman 2 месяца назад

      That doesn't work with me :(

  • @jomesias
    @jomesias 3 месяца назад +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 3 месяца назад

    Thanks a lot, you are my hero!!

  • @djinfinity1363
    @djinfinity1363 Год назад +1

    Thanks a lot mate

  • @hakeem2478
    @hakeem2478 Год назад +1

    thank you bro

  • @matthewp4102
    @matthewp4102 Год назад

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

  • @TheTELproductions
    @TheTELproductions 9 месяцев назад

    Thanks man

  • @MichaelSzymkowski
    @MichaelSzymkowski 8 месяцев назад

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

    • @SoftStoneGames
      @SoftStoneGames  8 месяцев назад

      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 2 месяца назад +1

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

    • @incognito390
      @incognito390 Месяц назад

      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.

  • @sitifathimahmuthmainnah1913
    @sitifathimahmuthmainnah1913 2 года назад +3

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

  • @user-nn5gz8ge1i
    @user-nn5gz8ge1i 6 месяцев назад

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

    • @SoftStoneGames
      @SoftStoneGames  6 месяцев назад +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 6 месяцев назад

      @@SoftStoneGames OK, thanks mate!

  • @playAliMusic
    @playAliMusic Год назад

    Electra plugin crashes my engine anytime I try to walk

    • @SoftStoneGames
      @SoftStoneGames  Год назад

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

  • @Arecross1
    @Arecross1 Год назад +3

    its just white :(

  • @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?

  • @yusufbulbul9434
    @yusufbulbul9434 7 месяцев назад

    didn't work 5.2 :(

    • @SoftStoneGames
      @SoftStoneGames  7 месяцев назад

      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"

  • @nikitafilatov6723
    @nikitafilatov6723 Месяц назад

    tnks)
    bt it not working on packaged project ((

  • @sitifathimahmuthmainnah1913
    @sitifathimahmuthmainnah1913 2 года назад +1

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

    • @SoftStoneGames
      @SoftStoneGames  2 года назад

      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 2 года назад

      @@SoftStoneGames thanks a lot