This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revisionLast revisionBoth sides next revision | ||
en:create:frameset [21.09.2015 13:05] – [Play music along several pages] admin | en:create:frameset [01.06.2022 19:57] – admin | ||
---|---|---|---|
Line 8: | Line 8: | ||
The first step is to create a frameset in SoSci Survey. Click [[http:// | The first step is to create a frameset in SoSci Survey. Click [[http:// | ||
- | To generate a frameset in SoSci Survey a text file has to be created on the desktop. Name it e.g. “Start.html”. | + | To generate a frameset in SoSci Survey a text file has to be created on the desktop. Name it e.g. “start.html”. |
**Important: | **Important: | ||
Line 14: | Line 14: | ||
**Important: | **Important: | ||
- | <code html> | + | <file html start.html> |
< | < | ||
< | < | ||
Line 26: | Line 26: | ||
</ | </ | ||
</ | </ | ||
- | </code> | + | </file> |
Watch out for the line ''< | Watch out for the line ''< | ||
Line 40: | Line 40: | ||
**Important**: | **Important**: | ||
+ | Test whether you can open the URL '' | ||
===== Prepare Frame content ===== | ===== Prepare Frame content ===== | ||
Line 45: | Line 46: | ||
The next step ist o decide what kind of content shall be uploaded to a frame. The frame should fit for a video in order to see it completely. In case of music it should be rather small so it doesn’t hide the questionnaire itself. If you know what contents ist to be added to the frame th following steps have to be taken; Create a new txt i.e. HTML file on the desktop e.g. '' | The next step ist o decide what kind of content shall be uploaded to a frame. The frame should fit for a video in order to see it completely. In case of music it should be rather small so it doesn’t hide the questionnaire itself. If you know what contents ist to be added to the frame th following steps have to be taken; Create a new txt i.e. HTML file on the desktop e.g. '' | ||
- | <code html> | + | <file html play.html> |
< | < | ||
<html lang=" | <html lang=" | ||
Line 53: | Line 54: | ||
</ | </ | ||
< | < | ||
- | <audio id=" | + | <audio id=" |
<source src=" | <source src=" | ||
</ | </ | ||
</ | </ | ||
</ | </ | ||
- | </code> | + | </file> |
Here the audio file was attached by ''< | Here the audio file was attached by ''< | ||
- | The music file („EXAMPLE.MP3“) has to be uploaded to SoSci Survey likewise. Setting the player’s pixel size to zero lets the player disappear leaving the music playing | + | The music file („EXAMPLE.MP3“) has to be uploaded to SoSci Survey likewise. Setting the player’s pixel size to an absolute negative range (e.g. -9999px) |
+ | **Tip:** To determine the name of the audio file, go to Pictures and Files in the questionnaire menu of your project, there you will find the full name, which you can simply copy (usually the name under which you uploaded the file). | ||
===== Load frame contents ===== | ===== Load frame contents ===== | ||
- | Probably the audio file is not meant to play from the beginning but rather start at some point later on. For this purpose copy the file '' | + | Probably the audio file is not meant to play from the beginning but rather start at some point later on. For this purpose copy the file '' |
<code html> | <code html> | ||
Line 93: | Line 95: | ||
+ | ===== Send Questionnaire with Frameset ===== | ||
+ | |||
+ | To make full use of the frameset, the link to the questionnaire must be completed with the ending /start.html (or the individual name of your frameset). You should not forget this, otherwise it will not work. How the link to the questionnaire is composed you can read here: [[en: | ||
===== Limitations ===== | ===== Limitations ===== | ||
* While loading the frame set it is not possible to transmit variables (e.g. reference or serial number) to the questionaire, | * While loading the frame set it is not possible to transmit variables (e.g. reference or serial number) to the questionaire, | ||
* Using this solution fading the music is not feasible. It is cut out abruptly loading the empty file. | * Using this solution fading the music is not feasible. It is cut out abruptly loading the empty file. |