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.
None.
Return valueA new cloned VideoFrame
object.
InvalidStateError
DOMException
Thrown if the VideoFrame
object has been transferred.
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