Navigation
Unreal Engine C++ API Reference > Runtime > MediaAssets > UMediaPlayer
References
Module | MediaAssets |
Header | /Engine/Source/Runtime/MediaAssets/Public/MediaPlayer.h |
Include | #include "MediaPlayer.h" |
Source | /Engine/Source/Runtime/MediaAssets/Private/Assets/MediaPlayer.cpp |
bool CanPlayUrl
&40;
const FString & Url
&41;
Remarks
Check whether the specified URL can be played by this player.
If a desired player name is set for this player, it will only check whether that particular player type can play the specified URL.
Parameters
Name | Description |
---|---|
Url | The URL to check. |