Enable progressive audio playback
This commit is contained in:
1 parent
e02cb83235
commit
e2e2fc7755
1 file changed
+1
-1
@@ -185,7 +185,7 @@ export default defineNuxtPlugin((nuxtApp) => {
|
|||||||
|
|
||||||
const newSound = new Howl({
|
const newSound = new Howl({
|
||||||
src: [GET_AUDIO_FILE(song.fileDir, mediaBaseUrl)],
|
src: [GET_AUDIO_FILE(song.fileDir, mediaBaseUrl)],
|
||||||
html5: false,
|
html5: true,
|
||||||
autoplay: false,
|
autoplay: false,
|
||||||
volume: storedVolume.value,
|
volume: storedVolume.value,
|
||||||
onload: () => {
|
onload: () => {
|
||||||
|
|||||||
Reference in new issue
Block a user