Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Georg Abenthung
funkwhale
Commits
61d7c8bf
Commit
61d7c8bf
authored
Jun 24, 2021
by
JuniorJPDJ
Committed by
Georg Krause
Aug 04, 2021
Browse files
Lower delay for loading sound
parent
13c3b22b
Changes
1
Hide whitespace changes
Inline
Side-by-side
front/src/components/audio/Player.vue
View file @
61d7c8bf
...
...
@@ -743,14 +743,13 @@ export default {
}
this
.
nextTrackPreloaded
=
false
clearTimeout
(
this
.
playTimeout
)
let
self
=
this
if
(
this
.
currentSound
)
{
this
.
currentSound
.
pause
()
}
this
.
$store
.
commit
(
"
player/isLoadingAudio
"
,
true
)
this
.
playTimeout
=
setTimeout
(
async
()
=>
{
await
self
.
loadSound
(
newValue
,
oldValue
)
},
5
00
);
await
this
.
loadSound
(
newValue
,
oldValue
)
},
1
00
);
this
.
updateMetadata
()
},
immediate
:
false
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment