Navigation
API > API/Runtime > API/Runtime/MediaAssets > API/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 |
UFUNCTION (BlueprintCallable, Category="Media|MediaPlayer")
bool CanPlayUrl
(
const FString & Url
)
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. |