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"

Media Player not Working on Packaged Project in 4.12.5

Using UE 4.12.5 from the launcher, I can import a movie and make a texture and a soundwave from it. I can place an actor using the texture and soundwave and play the movie from the level blueprint's begin play. It works fine in editor. In a packaged game it does not work at all. No video, no sound.

Product Version: UE 4.12
Tags:
more ▼

asked Jul 08 '16 at 11:49 PM in Blueprint Scripting

avatar image

BlackFangTech
210 23 33 58

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

2 answers: sort voted first

The movie may take some time to load. Try hooking into the OnMediaOpened event and call Play from there.

more ▼

answered Jul 09 '16 at 01:35 AM

avatar image BlackFangTech Jul 09 '16 at 04:36 AM

Why was this marked resolved? This is not resolved. OnMediaOpened event never fires at all.

avatar image imsarah Jul 09 '16 at 02:15 PM

use the event tick to fire that off. it should work now

avatar image gmpreussner STAFF Jul 09 '16 at 04:06 PM

You need to bind the OnMediaOpened event in EventBeginPlay. If the media doesn't open, then check the log file.

alt text

avatar image jmcorallo Sep 13 '16 at 06:45 PM

Hi, I'm having this same problem, but my animated material is playing on UMG. It may sound dumb, how could I get a reference to Media so I can bind this event? (my UMG has an image, and that image has a brush with the animated material, on Editor it works fine, but not on standalone nor package).

This (https://issues.unrealengine.com/issue/UE-28011) is marked as fixed, but if I follow exactly the steps described the material is completely black. Running on 4.12.5 from Launcher. Thanks in advance

avatar image gmpreussner STAFF Sep 13 '16 at 07:00 PM

Create a BP variable of type MediaPlayer and assign the media player asset to its Default Value. Then you can drag & drop the variable into your Blueprint and call Get to get a reference to the media player.

avatar image AronD Jan 30 '18 at 04:48 AM

I have the same problem, but your solution doesn't work for me. I even tried to add the OnMediaOpened BP to event tick, and I still get a black screen with no video playing when I launch the project on iOS. Can somone help me out?

avatar image imsarah Jul 10 '16 at 04:48 AM

thanks, ur method works as well

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

use the event tick instead. i have just tried it. it should work now.

more ▼

answered Jul 09 '16 at 02:32 PM

avatar image

imsarah
23 1 5 7

avatar image gmpreussner STAFF Jul 09 '16 at 04:04 PM

No, this is not a good solution. It will call Play every frame.

(comments are locked)
10|2000 characters needed characters left
Viewable by all users
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