FMediaPlayerFacade::Open

Open a media source from a URL with optional parameters.

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 Open
(
    const FString & Url,
    const IMediaOptions * Options,
    const FMediaPlayerOptions * PlayerOptions
)

Remarks

Open a media source from a URL with optional parameters.

Returns

true if the media is being opened, false otherwise.

Parameters

Parameter

Description

Url

The URL of the media to open (file name or web address).

Options

Optional media parameters.

PlayerOptions

Optional player parameters.

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