Skip to main content
Deno 2 is finally here 🎉️
Learn more
Go to Latest
interface Protocol.Media.PlayerEventsAddedEvent
import { type Protocol } from "https://deno.land/x/puppeteer@14.1.1/vendor/puppeteer-core/puppeteer/api-docs-entry.d.ts";
const { PlayerEventsAddedEvent } = Protocol.Media;

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.

Properties

playerId: PlayerId
events: PlayerEvent[]