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