Add an experimental Lazy Load OEmbed field formatter for remote videos in Varbase Media

Created on 26 January 2022, almost 3 years ago
Updated 4 March 2024, 9 months ago

Problem/Motivation

Recently I've been working a lot with front-end performance-related topics. One of the most glaring issues is how large the Youtube/Vimeo JS libraries are. Unfortunately, there doesn't seem to be a lazy loading mechanism for the core OEmbed.

Proposed resolution

Proposed and provided by abu-zakham

  • Plugin implementation of the 'lazy load oembed' formatter for Varbase.
    @internal
       This is an internal part of the oEmbed system and should only be used by
       oEmbed-related code in Varbase.
    
  • Javascript behavior that facilitates lazy loading oembed libraries.

Remaining tasks

  • ✅ File an issue about this project
  • ✅ Addition/Change/Update/Fix to this project
  • ❌ Testing to ensure no regression
  • ❌ Automated unit/functional testing coverage
  • ❌ Developer Documentation support on feature change/addition
  • ❌ User Guide Documentation support on feature change/addition
  • ❌ Update Release Notes and Update Helper on new feature change/addition
  • ❌ Code review from 1 Varbase core team member
  • ❌ Full testing and approval
  • ❌ Credit contributors
  • ❌ Review with the product owner
  • ❌ Release

Varbase update type:

  • ✅ No Update
  • ➖ Optional Update
  • ➖ Forced Update
  • ➖ Forced Update if Unchanged

User interface changes

  • N/A

API changes

  • N/A

Data model changes

  • N/A
Feature request
Status

Needs work

Version

9.1

Component

Code

Created by

🇯🇴Jordan abu-zakham

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