Help

Bug or security issue with IFRAME code?

Topic Labels: Extensions
990 3
cancel
Showing results for 
Search instead for 
Did you mean: 
MrLuke
6 - Interface Innovator
6 - Interface Innovator

I'm using the YouTube API to scrape video data via the script extension and populate the Airtable. This all works fine until I try and take the "embedCode" parameter for a video to store in the table. Other HTML works fine, but as soon as the `<iframe>` tag is entered, the table throws and error and wants me to refresh it. Doesn't matter if the cell is short text or long text with or without rich text enabled.

Is this a bug or some security related issue?

Here's the embed code it grabs that causes the error:

 

<iframe width="560" height="315" src="https://www.youtube.com/embed/654laEgXb7k" title="YouTube video player" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share" allowfullscreen></iframe>

 

MrLuke_0-1676147341276.png

 

 

3 Replies 3
William_Nutt
6 - Interface Innovator
6 - Interface Innovator

I have the exact same issue. Any time I have an iframe represented in my script, even divided into concatenated strings, I get the error. Quite disruptive.

I never found a way to fix this, and so have just had to exclude it from my Airtables. Quite annoying really.

I ended up using Zapier for the actions requiring iframes.