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

    Video/audio files set to autoplay begin playing as soon as form as loaded

    Asked by JackCastronovo on October 04, 2015 at 12:04 PM

    Hi,

     

    I never got a response to my exact question that I posted a month ago, so here it goes again. Perhaps I can be a little clearer now.

     

    I've embedded Soundcloud files using iframe. They work fine when I set the script to autoplay=false, but on certain files, I set it to autoplay=true. The problem is that the autoplay files begin playing as soon as the form is accessed and not when the user reaches the page that they're embedded. So, if I have the autoplay file on page 7, it doesn't wait until the user reaches page 7 to play. It just starts playing as soon as the user hits the first page. Is there any way to make this work?  Here's the code:

     

    <p><iframe src="https://w.soundcloud.com/player/?url=https%3A//api.soundcloud.com/tracks/222598509%3Fsecret_token%3Ds-iaC9H&amp;auto_play=true&amp;hide_related=false&amp;show_comments=true&amp;show_user=true&amp;show_reposts=false&amp;visual=true" width="100%" height="450" frameborder="no" scrolling="no"></iframe></p>

    Thanks,

     

    Jack

     

    Page URL:
    http://form.jotform.us/form/52462886550159

    video problem height thanks and
  • Profile Image
    JotForm Support

    Answered by ashwin_d on October 05, 2015 at 01:27 AM

    Hello Jack,

    You seems to be have embedded your SoundCloud audio iFrame embed code in "Text" field. You may also like to check our "SoundCloud" widget as well.

    That is because the audio is set to auto play as soon as the page is loaded. Please be noted that even if you have page break in form, entire page/form is loaded and page break is merely showing/hiding the sections of page.

    Let me try to find out if there is any workaround available. I will get back to you if I am able to find any workaround.

    Thank you!