Optional
devicewindow.devicePixelRatio
Optional
logger?: LoggerA custom logger instance, pass {}
to suppress all outputs
window.console
// suppressing `info` and `debug` messages, displaying only `error` and `warn` ones
Player.create({
logger {
error: console.error.bind(console),
warn: console.warn.bind(console),
},
// ... other options
})
Optional
useUse future frame to filtrate prediction, improves stability, adds processed frame inconsistency
true
Optional
useUse future frame to interpolate prediction, improves performance, adds processed frame inconsistency
false
Ordinary you won't use the option
Overrides
devicePixelRatio
used for proper rendering on HiDPI devices