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