The current problem is that if the movie is already in /Content/Movies and you drag/drop it into the CB, the path in the FileMediaSource asset is still absolute. it should be relative.
Notice that the saved FilePath is not relative, but contains the full path on the hard drive. When clicking into the FilePath property and then clicking somewhere else to lose focus on it, it will auto-correct to a relative path.
If the path is not saved as relative, the movie will fail to play in packaged builds.
1) Place a video file into your game's /Content/Movies directory
2) Drag and drop the file into the Content Browser to create a FileMediaSource asset from it
3) Double-click the newly created asset and check its FilePath property
FilePath should be relative, i.e. ./MyMovie.mp4
There's no existing public thread on this issue, so head over to Questions & Answers just mention UE-35477 in the post.
0 |
Component | Media Framework |
---|---|
Affects Versions | 4.13 |
Target Fix | 4.13.1 |
Created | Sep 1, 2016 |
---|---|
Resolved | Sep 1, 2016 |
Updated | Apr 27, 2018 |