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
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
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.
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.
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.
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!
This one doesn’t work for me, I managed to get the right effect like this: UE4 Video Slider posted by anonymous | blueprintUE | PasteBin For Unreal Engine
I also recorded a YT material about it: UE4 Making Slider for video - YouTube