Page 1 of 1

tabbed choice of html5 audio player

Posted: Thu Sep 27, 2018 2:34 pm
by kgnoble
Hi

I would like to be able to have the user flick between tabs to link to two separate players with separate play lists. I do not seem to be able to have two independent players on the same page; when I try, they default to the same play list.

http://www.evemusic.co.uk./index.php#c1 is what I have at present.

Any way of implementing this with perhaps tabs or carousel or some other method?

Many thanks

Regards

Keith

Re: tabbed choice of html5 audio player

Posted: Thu Sep 27, 2018 4:52 pm
by Pablo
I'm sorry, the player was designed to be used once per page.

To support multiple players you will have to implement your own code or use a third party script.

Re: tabbed choice of html5 audio player

Posted: Thu Sep 27, 2018 5:10 pm
by kgnoble
Ah!

OK - thanks for letting me know.

K

Re: tabbed choice of html5 audio player

Posted: Mon Oct 01, 2018 10:10 am
by kgnoble
Hi Pablo,

A further thought on this. I seem to be able to run two separate pages with a player on each and with their own playlist. However, I cannot see how to stop the player playing when the page is left. Am I missing anything or is there a need for extra code?

Many thanks

Keith

Re: tabbed choice of html5 audio player

Posted: Mon Oct 01, 2018 11:27 am
by Pablo
The browser should automatically stop the audio when you leave the page.
Maybe you have opened the page in a new window, so the other page is still in the background?

Note there there is no support on extensions. They are provided "AS IS".