Question:
How can I add an mp3 player to my HTML/CSS website?
Ella
2012-09-28 03:35:50 UTC
I would like the music to continue when clicking through the pages. I have tried but the song stops and starts again with every new page? Any help would be appreciated!
Three answers:
Anas Imtiaz
2012-09-28 04:56:49 UTC
You will have to use frames to do this (framesets or iframe).

Make a main page and then divide it into two framesets. One of them will contain the music player and the other will contain the rest of your websites' contents.
XTIAN170174
2012-09-28 05:15:30 UTC
Further to another answer, the page must stay the same and bring content in an inset frame so the player does not reload and begin playing the track from the beginning again.



Some sites however, and the code for your pages, can be written so that each link opens in a new tab/window - therefore the original page stays open and the player continues throughout.

This will require that visitors always arrive only on the start page though - if people use their browser history to get to another page first & bypass it, the player will not load in the first instance.
James
2012-09-28 03:38:02 UTC
i dont think that is even possible


This content was originally posted on Y! Answers, a Q&A website that shut down in 2021.
Loading...