Documentation
Preparing search index...
@fourjs/render
VideoTextureSource
Interface VideoTextureSource
HTMLVideoElement's frame-notification seam, also implementable in headless hosts.
interface
VideoTextureSource
{
currentTime
:
number
;
readyState
:
number
;
videoHeight
:
number
;
videoWidth
:
number
;
cancelVideoFrameCallback
?
(
handle
:
number
)
:
void
;
requestVideoFrameCallback
?
(
callback
:
()
=>
void
)
:
number
;
}
Index
Properties
current
Time
ready
State
video
Height
video
Width
Methods
cancel
Video
Frame
Callback?
request
Video
Frame
Callback?
Properties
Readonly
current
Time
currentTime
:
number
Readonly
ready
State
readyState
:
number
Readonly
video
Height
videoHeight
:
number
Readonly
video
Width
videoWidth
:
number
Methods
Optional
cancel
Video
Frame
Callback
cancelVideoFrameCallback
?
(
handle
:
number
)
:
void
Parameters
handle
:
number
Returns
void
Optional
request
Video
Frame
Callback
requestVideoFrameCallback
?
(
callback
:
()
=>
void
)
:
number
Parameters
callback
:
()
=>
void
Returns
number
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
On This Page
Properties
current
Time
ready
State
video
Height
video
Width
Methods
cancel
Video
Frame
Callback
request
Video
Frame
Callback
Documentation
Loading...
HTMLVideoElement's frame-notification seam, also implementable in headless hosts.