• Resolved boundless_ink

    (@boundlessink)


    hi again,

    i have recently contacted you about using the results for an uploaded img url to return the actual img, and the response you gave me worked perfectly.. and i thought that the same concept would have worked for an iframe url for the src=”” on the iframe.. but it doesn’t seem to be working like the img did with the _url, what did i do wrong?

    i have the following code in a thank you page:

    [CP_CALCULATED_FIELDS_RESULT fields=”fieldname1″ formid=”7″]
    <iframe width=”854″ height=”480″ src=”<%fieldname1_url%>” frameborder=”0″ allow=”autoplay; encrypted-media” allowfullscreen></iframe>
    [/CP_CALCULATED_FIELDS_RESULT]

    thank you for your help in advance – Don

    🙂

    The page I need help with: [log in to see the link]

Viewing 1 replies (of 1 total)
  • Plugin Author codepeople

    (@codepeople)

    Hello,

    The issue is simple, it is not an “Upload File” field, it is simply a “Single Line Text” field where the user enter the URL to the video, so, the correct structure of shortcode would be:

    
    [CP_CALCULATED_FIELDS_RESULT formid="7"]
    <iframe width="854" height="480" src="<%fieldname1_value%>" frameborder="0" allow="autoplay; encrypted-media" allowfullscreen></iframe>
    [/CP_CALCULATED_FIELDS_RESULT]
    

    By the way, why you are using an iframe tag instead a <video> tag?

    Best regards.

Viewing 1 replies (of 1 total)

The topic ‘upload url into iframe’ is closed to new replies.