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

  • nbicket
    Asked on August 13, 2016 at 2: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

  • Kevin Support Team Lead
    Replied on August 13, 2016 at 6:05 PM

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

    How can I enable the bacground music to start automatically and loop Image 1 Screenshot 20

    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.