====== Play Music Across Several Pages ======
SoSci Survey offers the possibility to present music or a video across an entire questionnaire by using a frameset. One challenge is that modern browsers do not simply play music automatically -- so a little JavaScript is required, and the music can start at the earliest when the first page is submitted.
**Note:** Assume that respondents have turned off their speakers, need to put on headphones first, or have their smartphone on mute. Point out the audio output at an early stage and offer an opportunity to test the audio output in the questionnaire.
===== Define a Frameset =====
The first step is to create a frameset. What exactly a frameset is can be read here: [[http://wiki.selfhtml.org/wiki/HTML/Frames|SelfHTML: Frames]]. Roughly speaking, a frameset is a kind of table that divides the displayed website into separate areas whose contents can be handled individually.
To create a frameset in SoSci Survey, first create a text file on your desktop. Name this text file, e.g., "start.html".
**Important:** It is essential that the file is saved as plain ASCII text. Therefore, use a text editor to create/edit the file (e.g. [[https://notepad-plus-plus.org/|Notepad++]], [[http://www.scintilla.org/SciTE.html|SciTE]] or the Windows Notepad) and __no__ word processor such as Word or OpenOffice.
**Important:** Make sure that the file extension is changed accordingly, so that the former text file becomes an HTML file. You can download the contents of this file directly.
Questionnaire
===== Content for the Frameset =====
The frameset refers once to the questionnaire (''index.php'') and once to a file ''music.html''. You will need this file as well.
Audio
This file contains an ''