Elxis CMS Forum
Support => General => Topic started by: armpouniotis on April 28, 2010, 21:14:52
-
Hi all,
i have put somewhere in my site's template the jw player, in order to listen to music, when users get in this site. But, everytime I click on a different menu item, the players starts from the beginning.
How can I make it play the track without starting again and again, every time a user navigates to different pages in the site ?
The site is here: http://www.wingchun-kungfu.gr/
Regards
Chris
-
well, actually you cannot... Each time you navigate through menu items, the whole page is refreshed, so is the jw player...
The only way i can think of right now is to make an index.html (and tell server that is the starting page), which will contain the jw player and a frame with index.php. But this way all urls will always be the domain name (bad for seo).
Hope someone has a better idea...
-
I will answer in another way. Have you tried this new bot?
SoundCloud Bot 1.0
http://www.elxis-downloads.com/downloads/multimedia/253.html
I sent a message to the bot's creator. maybe he can answer better :)
-
Hi everyone...
No... SoundCloud bot wont do the trick...
I'm rather oriented to apkoutsou's approach!
Cheers
-
Armpouniotis, apkoutsou says right, that is only one solution but pay attention: search engines hate framed sites.
but there are two alternatives too:
a doorway page (index.html) with your sound and a redirect to your site opened in a new window when the doorway page is loaded and in meantime your doorway page will working in background, but this is a not good solution always for search engines.
another solution, surely better, is to create a pop-up with your sound when the home page is loaded. if the visitor don't want listen the music, will close it ;)
there's and handicap. if the visitor block the pop ups, no music for him.
-
ok,
the sure is that I am not going to try frames. It doesn't sound to me very good idea, (in many options). Perhaps, i will keep using JW Player.
Maybe I am asking to much.... :D :D :D
Thank you anyway !
-
http://www.thesitewizard.com/webdesign/backgroundmusic.shtml
or.....<HEAD>
<BGSOUND src="../hohoane.mid"
balance = 0
delay = 10
loop = -1
volume = -500>
</HEAD>......http://www.netstrider.com/tutorials/HTML/audio/index.html
....someway like this maybe