Adding <audio> objects to answer options

Mehr
4 Monate 5 Tage her - 4 Monate 5 Tage her #169935 von kpatch
kpatch erstellte das Thema Adding <audio> objects to answer options
Hello:

I am currently adding audio objects to my question text using code like this:

<audio controls="" preload=""><source src=" mydomain.com/pretest/auralp2/la_peur/lap...onses_orale_q4r3.mp3 " type="audio/mp3" /> Your browser does not support the audio element.</audio>

This is how it appears:



My preference would be to have them embedded in the answer options, like this:




I have used the HTML editor for the answer options to attempt this. None of the toolbar tools seem suitable. Also, in "Source" mode I have tried to use <iframe> but, alas, no joy in LimeVille.


Any suggestions would be most helpful.

Thanks

Patrick
Letzte Änderung: 4 Monate 5 Tage her von kpatch.

Bitte Anmelden oder Registrieren um an der Konversation teilzunehmen.

Mehr
4 Monate 5 Tage her #169969 von holch
holch antwortete auf das Thema: Adding <audio> objects to answer options
Where and how did you insert them? Can you give a small LSS file, only showing this question? (not LSQ or LSG, a survey file, with only the respective question).

I'm not a LimeSurvey GmbH member. I answer at the LimeSurvey forum in my spare time. No support via private message.
Some helpful links: Manual (EN) | Question Types | Workarounds

Bitte Anmelden oder Registrieren um an der Konversation teilzunehmen.

Mehr
4 Monate 5 Tage her #169970 von holch
holch antwortete auf das Thema: Adding <audio> objects to answer options
And always state the exact LS version you are using (and ideally also the template/theme).

What happens if you insert the code directly in the answer option text field, without any editor or anything? You usually can just insert HTML (as long as the XSS filter is off).

I'm not a LimeSurvey GmbH member. I answer at the LimeSurvey forum in my spare time. No support via private message.
Some helpful links: Manual (EN) | Question Types | Workarounds

Bitte Anmelden oder Registrieren um an der Konversation teilzunehmen.

Mehr
4 Monate 5 Tage her #169975 von kpatch
kpatch antwortete auf das Thema: Adding <audio> objects to answer options
First off, I am using LS Version 3.7.2+180508. I am also using a custom theme ("esprimme") that is an extension of "fruity".

Your recommendation about the HTML/XSS filter did the trick. Worked the first time!

For completeness I have attached the *.lss file of my test survey.

Thank you so much.
Anhang:

Bitte Anmelden oder Registrieren um an der Konversation teilzunehmen.

Jetzt loslegen!

Melden Sie sich jetzt an, und erstellen Sie in wenigen Minuten Ihre erste Umfrage.

Account einrichten

Abonnieren Sie unseren Newsletter

Abonnieren Sie unseren Newsletter für alle Neuigkeiten rund um LimeSurvey
captcha