FMediaPlayerFacade::GetPlayerForUrl

Get a player that can play the specified media URL.

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

TSharedPtr< IMediaPlayer, ESPMode::ThreadSafe > GetPlayerForUrl
(
    const FString & Url,
    const IMediaOptions * Options
)

Remarks

Get a player that can play the specified media URL.

Returns

The player if found, or nullptr otherwise.

Parameters

Parameter

Description

Url

The URL to play.

Options

The media options for the URL.

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