Invision Community 4: SEO, prepare for v5 and dormant account notifications By Matt Monday at 02:04 PM
The Britain Posted June 26, 2023 Posted June 26, 2023 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&showinfo=0&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&showinfo=0&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.
Marc Posted June 26, 2023 Posted June 26, 2023 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
The Britain Posted July 10, 2023 Author Posted July 10, 2023 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.
Recommended Posts