Module

x/fresh/tests/deps.ts>puppeteer.Media

The next-gen web framework.
Extremely Popular
Go to Latest
namespace puppeteer.Media
import { puppeteer } from "https://dotland.deno.dev/x/fresh@1.0.2/tests/deps.ts";
const { Media } = puppeteer;

This domain allows detailed inspection of media elements

Interfaces

Corresponds to kMediaError

Send a list of any errors that need to be delivered.

Corresponds to kMediaEventTriggered

Send events as a list, allowing them to be batched on the browser for less congestion. If batched, events must ALWAYS be in chronological order.

Have one type per entry in MediaLogRecord::Type Corresponds to kMessage

Send a list of any messages that need to be delivered.

This can be called multiple times, and can be used to set / override / remove player properties. A null propValue indicates removal.

Corresponds to kMediaPropertyChange

Called whenever a player is created, or when a new agent joins and receives a list of active players. If an agent is restored, it will receive the full list of player ids and all events again.

Type Aliases

Players will get an ID that is unique within the agent context.