Here is a work around :
#include "binkplugin_ue4.h" UObject* UBinkMediaPlayerFactory::FactoryCreateBinary( UClass* Class, UObject* InParent, FName Name, EObjectFlags Flags, UObject* Context, const TCHAR* Type, const uint8*& Buffer, const uint8* BufferEnd, FFeedbackContext* Warn ) { UBinkMediaPlayer* MediaPlayer = NewObject<UBinkMediaPlayer>(InParent, Class, Name, Flags); #if 1 // This workaround is based on FBinkMediaPlayerCustomization::HandleUrlPickerPathPicked. if (CurrentFilename.IsEmpty() || CurrentFilename.StartsWith(TEXT("./")) || CurrentFilename.Contains(TEXT("://"))) { MediaPlayer->OpenUrl(CurrentFilename); } else { FString FullUrl = FPaths::ConvertRelativePathToFull(CurrentFilename); const FString FullGameContentDir = FPaths::ConvertRelativePathToFull(BINKCONTENTPATH); if (FullUrl.StartsWith(FullGameContentDir)) { FPaths::MakePathRelativeTo(FullUrl, *FullGameContentDir); FullUrl = FString(TEXT("./")) + FullUrl; } MediaPlayer->OpenUrl(FullUrl); } #else // original code MediaPlayer->OpenUrl(CurrentFilename); #endif return MediaPlayer; }
result:
Since the path is saved as full absolute path, File or Url property is marked as warning.
I am not able to find world outliner how to enable it?
What property of the Slider is the image used when dragging?
What properties of the progress bar can be used for drag and drop highlighting?
Undefined sysmbol: typeinfo for AActor when cross-compile linux dedicated server on windows
What method is used to fill polygonal regions when drawing spline mesh at run time?
How can i modify the param name in EQS node
Teleporter in the Creative Hub is Locked and cannot be accessed
There's no existing public thread on this issue, so head over to Questions & Answers just mention UE-215814 in the post.
0 |
Component | RAD - Bink Video |
---|---|
Affects Versions | 5.4 |
Target Fix | 5.6 |
Created | May 27, 2024 |
---|---|
Resolved | Jun 7, 2024 |
Updated | Oct 25, 2024 |