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"

How do I resume video playback after pausing using blueprints?

I'm very new to UE4 so to help learn the toolset I'm working on a personal project to focus my learning.

One of the blueprint features I want is the ability to play/pause/resume video playback within the level based on entering/exiting a trigger volume. The desired functionality is: on overlap trigger volume = start playback, on end overlap trigger volume = pause playback, on overlap same trigger volume again = resume video from pause point.

So far I can start the video playing on entering the trigger volume and the video will pause correctly upon exiting the volume, that was all pretty straightforward. But re-entering the same trigger volume will cause the video to play from the beginning again rather than contine from the moment it was paused. Can anyone suggest a method for achieving this?

Product Version: UE 4.15
more ▼

asked Feb 21 '17 at 02:47 PM in Blueprint Scripting

avatar image

1 2 1

avatar image Motanum Feb 21 '17 at 10:19 PM

Can you show me the blueprint node? Does it have an option to expand the node and does it have a bool option for something like "Start from beginning?"

avatar image Jakoneel Feb 22 '17 at 01:21 PM

I've managed to get it working, after a fashion. It's hacky though and still doesn't give me the control I was looking for even if it does give the effect I was after. I've attached the blueprint below. If you can suggest a better way to do it I'm all ears!

It basically starts the video on EventBeginPlay, the player spawns slightly above the floor then falls "out" of TriggerBox2, instantly pausing the video. After that, entering & exiting the original TriggerBox will correctly pause and resume the video playback as intended. (though the audio is a tad glitchy when resuming - not sure if that's due to the triggering method I'm using or a quirk of the system itself).

alt text

blueprint.jpg (70.7 kB)
avatar image landmark_111 Sep 19 '17 at 06:11 PM

Hoping that by writing a comment here someone will re-view this issue with the new Media Framework. Pre 4.13 a simple 'set rate to 1.0' upon entering and then 'set rate to 0' upon exit worked.

(comments are locked)
10|2000 characters needed characters left
Viewable by all users

0 answers: sort voted first
Be the first one to answer this question
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