Welcome to the LimeSurvey Community Forum

Ask the community, share ideas, and connect with other LimeSurvey users!

upload audio file

  • lehbiometriclab
  • lehbiometriclab's Avatar Topic Author
  • Offline
  • New Member
  • New Member
More
1 year 3 months ago #250479 by lehbiometriclab
upload audio file was created by lehbiometriclab
Please help us help you and fill where relevant:
Your LimeSurvey version: [see right hand bottom of your LimeSurvey admin screen]
Own server or LimeSurvey hosting: LimeSurvey hosting
Survey theme/template:
==================
=10ptI use the “Text display" to create a question.=10pt I add the statement in the description box to listen to the audio clip and upload an audio file using the “Insert HTML5 video” function into the question description box (see upload audiofile screenshot attached).=10pt However, when I preview the question or the survey, respondents see only the comment to listen to the audio file but the link to the audio file does not appear. It seems that the link is not saved in my question for some reason because when I return to the question to edit, the link I created is not there anymore (see Survey preview screenshot attached). How can I upload an audio/video file, so respondents can view it? Does the admin need to change the Global Setting before I can upload audio/video files? Thank you for responding.
 

Please Log in to join the conversation.

  • Joffm
  • Joffm's Avatar
  • Away
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
1 year 3 months ago - 1 year 3 months ago #250480 by Joffm
Replied by Joffm on topic upload audio file

I add the statement in the description box to listen

And this is the part you didn't show use.
Looks as if you still insert the <video> tags.

I do not see an issue with
Code:
<audio controls="" src="/upload/surveys/857948/files/Track06.mp3" type="audio/mp3">Your browser does not support the audio element.</audio>

Joffm
 

Volunteers are not paid.
Not because they are worthless, but because they are priceless
Last edit: 1 year 3 months ago by Joffm.

Please Log in to join the conversation.

  • lehbiometriclab
  • lehbiometriclab's Avatar Topic Author
  • Offline
  • New Member
  • New Member
More
1 year 3 months ago #250481 by lehbiometriclab
Replied by lehbiometriclab on topic upload audio file
You are suggesting I am missing a step. If I am, could you indicate the step I am missing.

Please Log in to join the conversation.

  • lehbiometriclab
  • lehbiometriclab's Avatar Topic Author
  • Offline
  • New Member
  • New Member
More
1 year 3 months ago #250482 by lehbiometriclab
Replied by lehbiometriclab on topic upload audio file
Tried changing video to audio using your code, but when I save the question, the code disappears and audio file is not shown to the respondent.

Please Log in to join the conversation.

  • Joffm
  • Joffm's Avatar
  • Away
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
1 year 3 months ago - 1 year 3 months ago #250483 by Joffm
Replied by Joffm on topic upload audio file
The only thing to do:
put the HTML-code into the source code of your question.
Make sure you enter the correct path.

Joffm 

And do you have rights to insert this?
Are you a superadmin or a regular user?
In this case ask the admin.
 

Volunteers are not paid.
Not because they are worthless, but because they are priceless
Last edit: 1 year 3 months ago by Joffm.

Please Log in to join the conversation.

  • lehbiometriclab
  • lehbiometriclab's Avatar Topic Author
  • Offline
  • New Member
  • New Member
More
1 year 3 months ago #250485 by lehbiometriclab
Replied by lehbiometriclab on topic upload audio file
I did try entering the HTML-code. I think the problem might be related to admin rights. I will reach out to the admin. Thank you for you help!

Please Log in to join the conversation.

  • holch
  • holch's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
1 year 3 months ago #250491 by holch
Replied by holch on topic upload audio file
Most probably the XSS-Filter is on and you are not a superadmin (the XSS filter doesn't impact superadmins).

So get in touch with the person responsible for your LS installation.

I answer at the LimeSurvey forum in my spare time, I'm not a LimeSurvey GmbH employee.
No support via private message.

Please Log in to join the conversation.

  • lehbiometriclab
  • lehbiometriclab's Avatar Topic Author
  • Offline
  • New Member
  • New Member
More
1 year 3 months ago #250492 by lehbiometriclab
Replied by lehbiometriclab on topic upload audio file
Thank you! The information is very helpful. I will contact the superadmin to remove the XSS-Filter.

Please Log in to join the conversation.

  • Mazi
  • Mazi's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
4 months 2 weeks ago #266331 by Mazi
Replied by Mazi on topic upload audio file
A few months ago me and some other developers tried workin on a new Limesurvey question theme to store recorded audio files. We got it working but it was quite some hassle.

Let me know if I should provide the question theme for further testing.

Best regards/Beste Grüße,
Dr. Marcel Minke

Please Log in to join the conversation.

Moderators: tpartnerholch

Lime-years ahead

Online-surveys for every purse and purpose