Unable to embed the iFrame code

  • Profile Image
    jonathan.welle
    Asked on January 28, 2020 at 12:20 PM

    Hi team.  I'm trying to use the text editor to embed this external code


    <div style="position: relative; height: 0; padding-bottom: 56.25%;"><iframe style="position: absolute; width: 100%; height: 100%; left: 0;" allow="autoplay; encrypted-media" src="https://dubb.com/v/yF04yo/embed?width=auto&height=auto&autoplay=1&no_cta=0&muted=1" width="auto" height="auto" frameborder="0" allowfullscreen></iframe></div>

    The editor does not seem to accept it.  

    https://form.jotform.com/200274907895060

  • Profile Image
    IvayloK
    Answered on January 28, 2020 at 03:29 PM

    Are you trying to use iFrame? This does not seem as valid iFrame code for a Jotform form.

    In order to obtain the iFrame code, please follow this guide:

    https://eu.jotform.com/help/148-Getting-the-Form-iFrame-Code

    Please try to follow the above guide and obtain the correct code for your form and let us know, if this helps.

    We will wait for your response.

  • Profile Image
    mohammaddawood7
    Answered on January 28, 2020 at 04:01 PM

    I had a similar demand.

    Instead of embedding code inside the 'source code' window, you should hit properties button and paste directly within the 'Question Text' box. That's how I came out of this situation.

    I hope the Jotform would have logical answers.

  • Profile Image
    roneet
    Answered on January 28, 2020 at 08:33 PM

    Hello Jonathan,

    May we know which website(WIX/Wordpress) do you have? If you could confirm us then we can provide you a way out to past the iFrame link into it.

    Thanks.

  • Profile Image
    IvayloK
    Answered on February 03, 2020 at 08:30 PM

    Hi @jonathan.welle,

    Were you able to resolve your issue? Do you still need assistance?

    Did you manage to embed your external code?

    If you still need help, please just let us know. We will be happy to assist you.

  • Profile Image
    IvayloK
    Answered on February 05, 2020 at 12:12 PM

    I tested your code on the form. I was able to successfully embed it in a Text field. You can see it and test my form from below. Please also feel free to clone my form and use it.

    https://form.jotformeu.com/200354991123955

    1580920791chrome_k2PSc6FwjI.png

    However, please note that not all HTML tags can be added for security reasons. So, most of the HTML code is not required due to security reasons.

    In order to upload a video, I would also suggest you to use some of our widgets. I would recommend you the YouTube and the Vimeo widgets. They will allow you to quickly embed any videos into your online forms. So, you can share your videos with your form users with ease.

    If you have more questions or need any further assistance, we will be happy to help.