Adding <audio> objects to answer options

Plus d'informations
il y a 1 semaine 2 jours - il y a 1 semaine 2 jours #169935 par kpatch
kpatch a créé le sujet : 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
Dernière édition: il y a 1 semaine 2 jours par kpatch.

Connexion ou Créer un compte pour participer à la conversation.

Plus d'informations
il y a 1 semaine 1 jour #169969 par holch
holch a répondu au sujet : 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

Connexion ou Créer un compte pour participer à la conversation.

Plus d'informations
il y a 1 semaine 1 jour #169970 par holch
holch a répondu au sujet : 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

Connexion ou Créer un compte pour participer à la conversation.

Plus d'informations
il y a 1 semaine 1 jour #169975 par kpatch
kpatch a répondu au sujet : 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.
Pièces jointes :

Connexion ou Créer un compte pour participer à la conversation.

Commencez dès maintenant !

Créez simplement un compte et commencez à utiliser LimeSurvey dès aujourd'hui.

Inscrivez-vous maintenant

Inscrivez-vous à notre Newsletter!