A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from http://developer.mozilla.org/en-US/docs/Web/API/VideoFrame/clone below:

VideoFrame: clone() method - Web APIs

VideoFrame: clone() method

Baseline 2024

Newly available

Note: This feature is available in Dedicated Web Workers.

The clone() method of the VideoFrame interface creates a new VideoFrame object referencing the same media resource as the original.

Syntax Parameters

None.

Return value

A new cloned VideoFrame object.

Exceptions
InvalidStateError DOMException

Thrown if the VideoFrame object has been transferred.

Examples

The following example clones a copy of VideoFrame as videoFrame2.

let videoFrame2 = VideoFrame.clone();
Specifications Browser compatibility

RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4