FMediaPlayerFacade::CanPlayUrl

Whether the specified URL can be played by this player.

Choose your operating system:

Windows

macOS

Linux

References

Module

MediaUtils

Header

/Engine/Source/Runtime/MediaUtils/Public/MediaPlayerFacade.h

Include

#include "MediaPlayerFacade.h"

Source

/Engine/Source/Runtime/MediaUtils/Private/MediaPlayerFacade.cpp

Syntax

bool CanPlayUrl
(
    const FString & Url,
    const IMediaOptions * Options
)

Remarks

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

Parameter

Description

Url

The URL to check.

Options

Optional media parameters.

See Also

CanPlaySource

SetDesiredPlayerName