Background sound on all site |
Post Reply |
Author | ||
Bravo12
Senior Member Joined: Jun 07 2013 Location: Italy Status: Offline Points: 453 |
Post Options
Thanks(0)
Posted: Jul 21 2017 at 11:45am |
|
I tried to add a background (in the top-bar) sound into Base Layer so it should be used from all pages, and should continue without interruption, but as I select a new link to open, the sound restarts from beginning. I don't understand how to fix it in oE 'cause normally I would do as told up.
Do I miss something? Edited by Bravo12 - Jul 21 2017 at 11:46am |
||
Dmit OE
Admin Group Joined: May 31 2012 Status: Offline Points: 5283 |
Post Options
Thanks(0)
|
|
Hi,
This is not a trivial task. And putting it to the base layer changes nothing. The only way to keep it playing, apart from opening another window (which will either be blocked by browser or closed immediately by user), is to memorize the playback position in a cookie (ex. "at 15:45:30seconds the playback was at 45seconds from the start) then use it to calculate the starting position when a new page opens. |
||
Bravo12
Senior Member Joined: Jun 07 2013 Location: Italy Status: Offline Points: 453 |
Post Options
Thanks(0)
|
|
I found also another workarond (point 2 on the page), but it needs to be cutted and arranged to the need. LINK to the page (is in my language...)
Here howto and code. We need to think that the first page in a site is Page 1 followed by Page 2 where the audio must begin without interruption during change of other pages. So we need include a between 1 and 2 a page containing data for opening Page 2 with music in beginning; this page is not visualized and we will name it (example) Page A and is commanding the opening of Page 2. Here what it does contains (code):
This page contains only datas for opening Page 2 with music starting. Change "TITLE" with what you need; change "music" , with the one you need and that contains datas for the audio to be played:
This page is here named LAMBADA but you can use the name you want. With Page 2 you indicate the page that must be opened and seen and where you put all you need to show. Opening all other pages, from the Page 2, will not interrupt the music over all site. Do you think it can work in oE? (I hope my translation is understandable to everyone...) Edited by Bravo12 - Jul 22 2017 at 2:59pm |
||
Dmit OE
Admin Group Joined: May 31 2012 Status: Offline Points: 5283 |
Post Options
Thanks(0)
|
|
It's a good idea, to open the website inside a page. You can also use iframes as framesets are more difficult to organize in OE. Or, you can just manually create the page with frameset, and load an OE-generated website in place of PAGE2.
This all may however have a negative infact on SEO (search engine optimisation) |
||
Post Reply | |
Tweet
|
Forum Jump | Forum Permissions You cannot post new topics in this forum You cannot reply to topics in this forum You cannot delete your posts in this forum You cannot edit your posts in this forum You cannot create polls in this forum You cannot vote in polls in this forum |