Jump to content

data-embed-src iIFrame Blank Loading After 4.7.10 Update


Recommended Posts

After updating to 4.7.10 we're finding that YouTube embeds are failing, showing a blank box. Digging into the elements, the src is being set with "data-embed-src", if I change it to just "src" the iframe works. In one example, I used the wysiwyg editor to manually insert an iframe as follows:

<iframe allowfullscreen="" frameborder="0" id="UIDREMOVED" name="fitvid0" src="https://www.youtube.com/embed/example?rel=0&amp;showinfo=0&amp;color=white"></iframe>

As you can see the source is defined with "src". This is correct and works.

However when the page loads, something is changing that tag to "data-embed-src":

<iframe allowfullscreen="" id="UIDREMOVED" name="fitvid0" src="https://www.example.com/applications/core/interface/index.html" data-embed-src="https://www.youtube.com/embed/example?rel=0&amp;showinfo=0&amp;color=white" frameborder="0"></iframe>

Lazy Loading is turned off in the Admin CP. What is changing that embed link on page load? If I examine the source of the post by bringing up the wysiwyg editor for the post it shows the correct, first version, but it's modified on page load.

Link to comment
Share on other sites

  • 2 weeks later...
On 6/26/2023 at 9:10 AM, Marc Stridgen said:

Please update to 4.7.11.1 to make sure you have the latest bug fixes, and then try again. If you are then still having issues, test with all 3rd party items disabled, on a default unaltered theme

Thanks for your reply. We appreciate your help, however, we've often encountered new issues with each update, including the latest one. Consequently, we've come to consider updates as a last resort, and plan extensively for them due to these experiences. I managed to solve this specific problem by hard overriding any lazy loading functionalities. I'm sharing this solution in case others encounter the same issue.

Link to comment
Share on other sites

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...