S
S
systemiv2013-03-13 17:32:05
PHP
systemiv, 2013-03-13 17:32:05

Background music on the site

Hello!
Please advise how to implement music on the site.
The main task is that when moving through the pages it would not be interrupted, but would continue to play. Perhaps some offline tabs that are inaccessible to the user's eyes. I've never experienced this before, but now I need to!
Thank you!

Answer the question

In order to leave comments, you need to log in

3 answer(s)
C
CraSS, 2013-03-13
@CraSS

Just be sure, hear, ALWAYS make it possible to turn off the music in a conspicuous place.

N
Nazar Mokrinsky, 2013-03-13
@nazarpc

1) iframe
2) AJAX + History API navigation

W
winbackgo, 2013-03-13
@winbackgo

1. Cookie
2. Local Storage
Every X seconds update what is being played and in what location. The task is not difficult to use <audio>. developer.mozilla.org/en-US/docs/DOM/HTMLAudioElement to help you.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question