Change the strategy of the iframe stop

Created on 16 June 2023, over 1 year ago
Updated 17 June 2023, over 1 year ago

Problem/Motivation

The strategy of stopping the iframe load breaks the JS and makes the module not work.

Steps to reproduce

If you add a YouTube iframe in a WYSIWYG and load the page, you will see a message like this in the DevTools console

Proposed resolution

Avoid using .stop() and just remove the src and move the data to data-src.

🐛 Bug report
Status

Fixed

Version

2.0

Component

Code

Created by

🇪🇸Spain frouco

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Production build 0.71.5 2024