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

    How can I enable the bacground music to start automatically and loop

    Asked by nbicket on August 13, 2016 at 02:18 PM

    Hi

    This is the track I'd like to embed as background music:

    https://open.spotify.com/track/5rnDi1tTt4x98UgttDpEc6

    I cannot get it to start automatically and loop. Any help would be very welcome.

     

    If possible, I'd like this track to run after wards, annd then both as a loop.

    https://open.spotify.com/track/5hSYJpuvAPc6B82vekCGlA

     

    This is my form: https://form.jotformeu.com/62244138538356

    Many thanks

    Nicholas

  • Profile Image
    JotForm Support

    Answered by Kevin_G on August 13, 2016 at 06:05 PM

    Unfortunately, the widget does not have this feature, you can only specify the URL to the audio you need to play: 

    I found that this is not currently possible, this info is on the Spotify developers page, you can also take a look here: https://developer.spotify.com/technologies/widgets/spotify-play-button/#customizing-design 

    What I would suggest you will be to download your song and embed it on your form using another method so you can customize it to auto play, here is a thread where a workaround was provided: Adding-an-audio-file-to-a-form

    You can aso read about HTML 5 audio here: http://www.w3schools.com/html/html5_audio.asp 

    Hope this helps.