SCM Music Player javascript affecting address bar URL
-
Hey guys,
I’m currently using the SCM Music Player which plays music continuously as you navigate the website. I noticed that it causes my address bar URL to stay fixed/constant (not what I want)… perhaps because of the music player’s javascript not allowing the URL to refresh in order to play the music with no interruptions?
Is there a piece of javascript code that counters this behavior and allows the address bar URL to change according to site navigation? I don’t wish to have the URL fixed.
Please let me know if you have any ideas/solutions… thanks in advance!!!
Here is the music player code:
<script type="text/javascript"> //***SCM Music Player v2 by Adrian Shum*** //Please note: You can, but you are not advised to modify the variables below, as it may causes error easily. //To change setting, please go to the Setup Wizard at https://adnsto.net/scmplayer/ //and press Import button to load and edit the code. var skin="default"; var autoPlay="yes"; var shuffle="no"; var placement="bottom"; var playList=[ "song","https://www.songname.com", "dummy"]; playList.length--; document.write(unescape("%3C%73%63%72%69%70%74%20%74%79%70%65%3D%22%74%65%78%74%2F%6A%61%76%61%73%63%72%69%70%74%22%20%73%72%63%3D%22%68%74%74%70%3A%2F%2F%61%64%6E%2E%31%31%30%6D%62%2E%63%6F%6D%2F%73%63%6D%70%6C%61%79%65%72%2F%73%63%6D%70%6C%61%79%65%72%2E%70%68%70%22%3E%3C%2F%73%63%72%69%70%74%3E")); </script>
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘SCM Music Player javascript affecting address bar URL’ is closed to new replies.