class SetBlockMediaLoading

Defined at line 1115 of file fidling/gen/sdk/fidl/fuchsia.web/fuchsia.web/cpp/fidl/fuchsia.web/cpp/markers.h

Sets whether to block all HTMLMediaElements in the frame from fetching and loading media

resources.

May be used, for example, to prevent loading media in frames that are not visible.

While media loading is blocked, elements with `autoplay` set to `true` will not start

playback. The promises returned by calls to `play()` will remain unresolved until loading is

unblocked by a call to this method.

When media loading is unblocked, elements will begin fetching, resource, loading, and

playing as appropriate.

Any elements that have begun fetching or loading media resources for the current source

before media loading was blocked will continue to fetch, load, and start playback as

appropriate. This includes calls to `play()` even after media loading is blocked.

Public Members

static const bool kHasClientToServer
static const bool kHasClientToServerBody
static const bool kHasServerToClient
static const bool kHasServerToClientBody
static const bool kHasNonEmptyUserFacingResponse
static const bool kHasDomainError
static const bool kHasFrameworkError
static const uint64_t kOrdinal