Background music

Background music for Shop-Script 7

Background music for the site

An example of using the plugin

Features plug-in:
  • Playing background music from a local file
  • Playing background music from a file link (from an external resource)
  • The endless repetition of the audio file playback (loop)
  • A single audio file
  • Playing on a separate page of the selected
Warning! Play background music is reset when switching to another\next page.

The plugin is compatible with other applications.
Simply add a file head.html the required application the following line:
{if $wa->shop}{shopMusicPlugin::head()}{/if}

To add playback controls, add the button tag with one of the following options in the required location you:

  • Playback: onclick="document.getElementById('player').play()"
  • Pause: onclick="document.getElementById('player').pause()"
  • Volume Up: onclick="document.getElementById('player').volume+=0.1"
  • Volume Down: onclick="document.getElementById('player').volume-=0.1"

Technical support for this plugin is not carried out.