FMediaPlayerFacade::CanPlayUrl

Whether the specified URL can be played by this player.

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

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss