What is JotForm?
JotForm is a free online form builder which helps you create online forms without writing a single line of code. No sign-up required.

At JotForm, we want to make sure that you’re getting the online form builder help that you need. Our friendly customer support team is available 24/7.

We believe that if one user has a question, there could be more users who may have the same question. This is why many of our support forum threads are public and available to be searched and viewed. If you’d like help immediately, feel free to search for a similar question, or submit your question or concern.


  • Profile Image

    Audio on forms

    Asked by mindworkschile on October 24, 2011 at 09:46 AM

    Hi there,

     

    Is it possible to have a mp3, that the user can listen to imbedded on a form.  I am not talking about upload/download here.  Just a short 20 second piece of audio.  

     

    My idea is to have a question, and then 4 answers below.  I am currently in Chile, and wish to help the local schools with their levels of English.

     

     

    thanking you in advance for any help.

     

  • Profile Image
    JotForm Support

    Answered by idarktech on October 24, 2011 at 10:54 AM

    Hello!

    Yes it is possible to embed an mp3, you just have to use an online mp3 player, get its code and embed it using our Free Text (HTML) element under Power Tools. If you'd like, you can copy my sample below:

    1. First, upload your .mp3 file into your website or here, get the mp3 direct link (e.g. http://www.yoursite.com/test.mp3)

    2. Generate your mp3 code here , check this Screenshot.

    3. Use Free Text (HTML) element  on your form and paste the generated code.

    Demo: https://www.jotform.com/form/12963428548

    If you don't like reading long guides just like me, then here's the easiest way you can do.

    Simply copy this code, replace MP3_FILE_URL to your mp3 direct link and paste it to your Free Text (HTML) Element.

    <embed type="application/x-shockwave-flash" flashvars="audioUrl=MP3_FILE_URL" src="//www.google.com/reader/ui/3523697345-audio-player.swf" width="400" height="27" quality="best"></embed>

    I hope this helps. If you have any other concern just feel free to contact us.

    Thanks,

    idarktech

  • Profile Image

    Answered by John Maddox on July 06, 2012 at 12:58 AM

    This approach would work as options (radio button) as well correct?  The scenario is I want an end user to pick a music selection...and obviously I'd like for them to listen to it before selecting it.

  • Profile Image
    JotForm Support

    Answered by idarktech on July 06, 2012 at 03:58 AM

    Hi John,

    Yes, you can add the mp3 code directly to your radio button option.

    Example: http://form.jotform.com/form/12963428548?

    Let me know if you need anything else. Thank you.

  • Profile Image

    Answered by Tellmemore on October 07, 2012 at 06:04 AM

    I have a question about this topic...any ideas as to why the mp3 on my form only works if/when I am signed in to my website (as when I am logged in there to edit my website)? 

    When I log out of my website, then the mp3 jotform does not work (no sound is heard).

    I used strangecube.com/audioplay/ website to generate the code, and set the mp3 to Autostart, repeat 1, play-stop; and I set the background color to transparent--that's why you can't see an mp3 player on my web page.

    My site's page - https://sites.google.com/a/dslextreme.com/storyteller/jfmp3

    My form - http://form.jotform.us/form/22802751376151

    I look forward to your reply.  Thank you!

  • Profile Image
    JotForm Support

    Answered by idarktech on October 07, 2012 at 07:14 AM

    @Tellmemore

    That might be due hotlinking issues on your mp3 file provider (which is google site). Try hosting your mp3 file to other free file hosting sites (just google it :), that might fixed the problem. I've also made a several tests and so far I can only replicate the problem using your mp3 link not mine. Example: http://www.jotform.me/form/22802768817462?

    Update us if you need anything else. Thanks.

  • Profile Image

    Answered by Tellmemore on October 09, 2012 at 01:53 AM

    OK, I'll give it a try, thanks!

  • Profile Image
    JotForm Support

    Answered by idarktech on October 09, 2012 at 02:50 AM

    @Tellmemore

    Welcome!

    Just update us here if you have any further questions or concerns. Thanks!

  • Profile Image

    Answered by designsbyrhenn on May 04, 2013 at 08:42 AM

    Hi!  I was very excited to see this topic and wanted a similar option with MP3 (or wav or anything that I could use for what I desire), however when I follow the example jotforms I can hear no sound at all.  (ie  http://www.jotform.me/form/22802768817462? or http://form.jotform.com/form/12963428548? .  I am not sure why and it may be important if a patron has the same issue when visiting my forms. 

     

    However, I wondered if this would also work as an sound that plays automatically when the page is loaded and has an option of looping or not looping.  I ask this because I have forms used mostly for data input (vs surveys) and I would like to have a "welcome" message that plays when it is loaded (you'd be surprised how many folks skip important info and a quick note from the author might alleviate this, LOL).

    Thanks! 

  • Profile Image
    JotForm Support

    Answered by Welvin on May 04, 2013 at 03:38 PM

    Hi,

    The first form actually works for me - on three (3) browsers. Please make sure to check your Flash Player - update if necessary.

    Base on the source provided by my colleague, it has the option to automatically start the Audio. Just please enable that one.

     

    Another source here for a bigger player: http://www.embedmp3player.com/.

     

    Thanks