iFrame audio implementation does not work

  • Profile Image
    whitezord
    Asked on May 31, 2016 at 10:00 AM

    Hi,

     

    Following this thread https://www.jotform.com/answers/344319-Adding-an-audio-file-to-a-form, I saw I could embed audio via Iframe. I tried to add the html via the open text element, but it shows a blank box. 

     

    I used this code: <iframe src="//www.students.science.uu.nl/~4011694/sounds/audioplayer.html"></iframe>

     

    Could you please help me with this?

    Screenshot
  • Profile Image
    Charlie
    Answered on May 31, 2016 at 10:39 AM

    It shows a blank box because it can't load your audio URL because it's not on the same protocol of the form.

    The form is using HTTPS protocol (SSL enabled), while your src link which is http://www.students.science.uu.nl/~4011694/sounds/audioplayer.html is NOT HTTPS.

    You need to declare the protocol of your src link and it should be HTTPS if you would like it to be displayed on the form that uses HTTPS protocol.

    Here's my test form: https://form.jotform.com/61514289978976. I set the src link to use HTTPS.

    I hope that helps.