FStreamableManager& Streamable = UAssetManager::GetStreamableManager();
FileMediaSource = Cast<UFileMediaSource>(Streamable.LoadSynchronous(VideoBoxParamRow.MediaPath, true));
if(FileMediaSource)
{
Txt_Description->SetText(VideoBoxParamRow.DescriptionText);
Txt_Title->SetText(VideoBoxParamRow.TitleText);
VideoPlayer->SetVideo(FileMediaSource);
VideoPlayer->PlayFromStart();
}
我是用 UMG 的CommonVideoPlayer 播放 一个视频 但是 没有任何 反应 怎么办啊