SongGuess
Preparing search index...
client/room/hooks/AudioPlayerHook
AudioPlayer
Interface AudioPlayer
interface
AudioPlayer
{
audioURL
:
string
|
undefined
;
howler
:
Howl
|
null
;
load
:
(
src
:
string
)
=>
void
;
pauseWithFade
:
(
fadeDuration
?:
number
)
=>
void
;
playWithFade
:
(
fadeDuration
?:
number
)
=>
void
;
playWithPositionAndFade
:
(
startPosition
:
number
|
null
,
audioPlayTime
:
number
,
startOffset
?:
number
,
fadeDuration
?:
number
,
)
=>
void
;
state
:
"playing"
|
"loading"
|
"not_playing"
;
}
Index
Properties
audio
URL
howler
load
pause
With
Fade
play
With
Fade
play
With
Position
And
Fade
state
Properties
audio
URL
audioURL
:
string
|
undefined
howler
howler
:
Howl
|
null
load
load
:
(
src
:
string
)
=>
void
pause
With
Fade
pauseWithFade
:
(
fadeDuration
?:
number
)
=>
void
play
With
Fade
playWithFade
:
(
fadeDuration
?:
number
)
=>
void
play
With
Position
And
Fade
playWithPositionAndFade
:
(
startPosition
:
number
|
null
,
audioPlayTime
:
number
,
startOffset
?:
number
,
fadeDuration
?:
number
,
)
=>
void
state
state
:
"playing"
|
"loading"
|
"not_playing"
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
On This Page
Properties
audio
URL
howler
load
pause
With
Fade
play
With
Fade
play
With
Position
And
Fade
state
SongGuess
Loading...