UMediaPlayer::GetUrl

Get the URL of the currently loaded media, if any.

Windows
MacOS
Linux

References

Module

MediaAssets

Header

/Engine/Source/Runtime/MediaAssets/Public/MediaPlayer.h

Include

#include "MediaPlayer.h"

Source

/Engine/Source/Runtime/MediaAssets/Private/Assets/MediaPlayer.cpp

Syntax

const FString & GetUrl() const

Remarks

Get the URL of the currently loaded media, if any.

Returns

Media URL, or empty string if no media was loaded.

See Also

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss