Prevent iframe loading while yc js is not loaded

Created on 18 October 2022, about 2 years ago
Updated 17 June 2023, over 1 year ago

Problem/Motivation

Iframes loaded with the default oembed formatter or in a direct iframe in a WYSIWYG will have an src that will usually load the youtube iframe.

Proposed resolution

  • Change the src to a "data-src" to avoid loading iframes in the oembed media fields
  • Add a filter to handle iframes added via WYSIWYG.
  • Change the src to a "data-src" to avoid loading iframes in the iframe field types ( Iframe module ).
🐛 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

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.71.5 2024