How to keep component doesn't render when change route ?
-
Hi,
What I’m saying is how to keep music playing without reloading when changing route.Like this page: https://xns-audio-player.netlify.com/#/
When I go to about page: https://xns-audio-player.netlify.com/#/about, the music player still keeps song playing.How to do that ? Thank you !
-
Try putting the player in a QDialog. It’s just a guess on my part, but there is an example of that in the QDialog docs.
Here is how it might work (just the basics).
https://codepen.io/smolinari/pen/dybworb?editors=1010
Scott