Navigation
API > API/Runtime > API/Runtime/Media > API/Runtime/Media/IMediaPlayerFactory > API/Runtime/Media/IMediaPlayerFactory/CanPlayUrl
References
| Module | Media |
| Header | /Engine/Source/Runtime/Media/Public/IMediaPlayerFactory.h |
| Include | #include "IMediaPlayerFactory.h" |
bool CanPlayUrl
&40;
const FString & Url,
const IMediaOptions &42; Options,
TArray< FText > &42; OutWarnings,
TArray< FText > &42; OutErrors
&41; const
Remarks
Whether the player can play the specified source URL. true if the source can be played, false otherwise.
Parameters
| Name | Description |
|---|---|
| Url | The media source URL to check. |
| Options | Optional media player parameters. |
| OutWarnings | Will contain warning messages (optional). |
| OutErrors | will contain error messages (optional). |