Do you want to set the audio file from the server or client side?
I've previously build a similar audio player and didn't need to use shared data. The audio player was build as a Vue plugin and the playing audio was set on the client side.
Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.
Hi I am making a meditation app to practice my learning, I am a bit confused about whether to use context or Inertia shared data to access the audio files. I want to make the audio player part of the default layout so the audio will continue playing on every page even if the user moves off the show page and is browsing the app.
Inertia shared data seems to be the easiest to implement but will using it slow down the application? What would you guys use? Thanks
Please or to participate in this conversation.