useAutoplayErrorResult

Properties

error

error: string


resetError

resetError: () => void

Type declaration

▸ (): void

Call this method to reset(hide) the UI that is rendered when there was an error

Returns

void


unblockAudio

unblockAudio: () => Promise<void>

Type declaration

▸ (): Promise<void>

call this method on a UI element click to unblock the blocked audio autoplay.

Returns

Promise<void>


Have a suggestion? Recommend changes ->

Was this helpful?

1234