x

Search in
Sort by:

Question Status:

Search help

  • Simple searches use one or more words. Separate the words with spaces (cat dog) to search cat,dog or both. Separate the words with plus signs (cat +dog) to search for items that may contain cat but must contain dog.
  • You can further refine your search on the search results page, where you can search by keywords, author, topic. These can be combined with each other. Examples
    • cat dog --matches anything with cat,dog or both
    • cat +dog --searches for cat +dog where dog is a mandatory term
    • cat -dog -- searches for cat excluding any result containing dog
    • [cats] —will restrict your search to results with topic named "cats"
    • [cats] [dogs] —will restrict your search to results with both topics, "cats", and "dogs"

Is it possible to add status bar with media player

I want to attach a status bar/ Progress Bar with media playing which shows remaining time of video and can rewind to particular position. i want this in widget. I would be thankful for any help.

Regards

Product Version: UE 4.18
Tags:
more ▼

asked Apr 24 '18 at 07:39 AM in Blueprint Scripting

avatar image

ArsTech
5 1 2 2

(comments are locked)
10|2000 characters needed characters left

1 answer: sort voted first

You can create a slider that retrieves the playback position to set his value. You can use the slider to set that playback position too.

more ▼

answered Apr 24 '18 at 08:27 AM

avatar image

DjFrex
66 1 4 8

avatar image ArsTech Apr 24 '18 at 09:46 AM

Thanks for your reply. Can you please give me some details? I am not getting any idea to get time or position of video playing. I will be thankful if you share any example of blueprint.

avatar image DjFrex Apr 24 '18 at 11:44 AM

Basically you can create a new widget, and add a slider to it. Then in the slider propierties add a bind for his value. The value will be 1 divided by the time of the current cinematic playing, because the slider value ranges between 0 and 1. To set the playback position you have to do about the same thing Obviously when you set the playback position (that you will do with the "Seek" blueprint node) you have to pause the media player to avoid that the values of the slider are reset by the current playback position. See the screenshots below for more infos.alt text

cattura.png (167.4 kB)
cattura1.png (85.0 kB)
avatar image DjFrex Apr 24 '18 at 06:23 PM

Hi ArsTech, I've seen you've marked the question as resolved. If you have any other problem you can PM me if you want, I will help you out!

(comments are locked)
10|2000 characters needed characters left
Your answer
toggle preview:

Up to 5 attachments (including images) can be used with a maximum of 5.2 MB each and 5.2 MB total.

Follow this question

Once you sign in you will be able to subscribe for any updates here

Answers to this question