Welcome to the LimeSurvey Community Forum

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

Any other way to make my survey play sounds beside embedding them?

  • davidspivak
  • davidspivak's Avatar Topic Author
  • Offline
  • New Member
  • New Member
More
12 years 2 days ago #76752 by davidspivak
Hi,

I realized embedding audio clips into the survey isn't a very good idea, since some participants aren't very tech savvy (e.g. old people, my mother), and if they don't have the correct plugin to play the embedded audio, they won't be able to install it.

Is there another way to do this that could bypass this problem? like a button that says "Play audio", and once you press it, the audio clip just starts playing? audio is 6mb in size and 7 minutes long, by the way.

Currently I have an embedded audio clip that starts playing automatically once the page loads, but apparently that's not enough to take care of the problem (plugin etc.).

Thanks!
David
The topic has been locked.
  • holch
  • holch's Avatar
  • Away
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
12 years 2 days ago #76754 by holch
Well, this is a very general problem and has little to do with LS.

If they don't have the software installed to play the sound file, then they can't. Quite simple. This problem you will have if it is embedded or not (if they don't have an audio software on the computer, or don't have speakers, or don't know where to switch them on, etc.) then this won't be possible.

So you basically have to find something, which most people do have installed. What kind of audio file do you try to play?

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

The topic has been locked.
  • davidspivak
  • davidspivak's Avatar Topic Author
  • Offline
  • New Member
  • New Member
More
12 years 2 days ago - 12 years 2 days ago #76764 by davidspivak
Thanks for the reply!
It's mp3.

EDIT: this is the code i'm using:
Code:
<embed autostart="true" controls="console" height="20" loop="false" src="http://davidspivak.limequery.com/upload/surveys/94712/files/mindfulness.mp3" volume="50" width="500"></embed>

I tried running the survey from a friend's computer, but she didn't have the plugin required to play the file. IE then said we should install a plugin if we want this file played, so we did so. Unfortunately, that caused the survey to reset and we got kicked to the main page (myusername.limequery.com).

It would be great if there was a solution for this, since I don't want that to happen to other people who are participating in my survey.
Last edit: 12 years 2 days ago by davidspivak. Reason: more info
The topic has been locked.
  • DenisChenu
  • DenisChenu's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
12 years 2 days ago #76773 by DenisChenu
Hello,

You can use some free flash player maybe.
Like:
- flv-player.net/
- www.alsacreations.fr/dewplayer-en.html
- flowplayer.org/

You can integrate it via ftp in the template, and integrate the script directly in the source of the question.

Denis

Assistance on LimeSurvey forum and LimeSurvey core development are on my free time.
I'm not a LimeSurvey GmbH member, professional service on demand , plugin development .
I don't answer to private message.
The following user(s) said Thank You: davidspivak
The topic has been locked.
  • davidspivak
  • davidspivak's Avatar Topic Author
  • Offline
  • New Member
  • New Member
More
12 years 1 day ago #76783 by davidspivak
Thanks, I'll check it out!
The topic has been locked.
  • Mazi
  • Mazi's Avatar
  • Offline
  • Official LimeSurvey Partner
  • Official LimeSurvey Partner
More
11 years 2 months ago #90819 by Mazi

davidspivak wrote: Thanks, I'll check it out!

So what solution have you come up with?

Did anybody test the jquery audio player "jplayer" ?

Best regards/Beste Grüße,
Dr. Marcel Minke
Need Help? We offer professional Limesurvey support: survey-consulting.com
Contact: marcel.minke(at)survey-consulting.com
The topic has been locked.
  • davidspivak
  • davidspivak's Avatar Topic Author
  • Offline
  • New Member
  • New Member
More
11 years 2 months ago #90822 by davidspivak
I actually used flv-player.net.

This is the code I used:

[cody]<span class="hide">
<object data="/upload/surveys/88377/flash/player.swf" height="20" type="application/x-shockwave-flash" width="200">
<param name="allowFullScreen" value="false" />
<param name="loop" value="false" />
<param name="menu" value="false" />
<param name="quality" value="low" />
<param name="movie" value="/upload/surveys/88377/flash/player.swf" />
<param name="FlashVars" value="mp3=/upload/surveys/88377/flash/a1.mp3&amp;autoplay=1&amp;showloading=always" />
</object>
</span>[/code]

I hid the player and made it auto play as soon as the page finished loading. No technical problems encountered.

David
The topic has been locked.
  • Mazi
  • Mazi's Avatar
  • Offline
  • Official LimeSurvey Partner
  • Official LimeSurvey Partner
More
11 years 2 months ago #90823 by Mazi
Thanks for your feedback!

Best regards/Beste Grüße,
Dr. Marcel Minke
Need Help? We offer professional Limesurvey support: survey-consulting.com
Contact: marcel.minke(at)survey-consulting.com
The topic has been locked.
  • davidspivak
  • davidspivak's Avatar Topic Author
  • Offline
  • New Member
  • New Member
More
11 years 2 months ago #90824 by davidspivak
The topic has been locked.

Lime-years ahead

Online-surveys for every purse and purpose