Feature #88442

Allow iframe / video (youtube) javascript loading with "defer"

Added by Christian Hackl 6 months ago. Updated 2 months ago.

Status:
New
Priority:
Should have
Assignee:
Category:
Fluid Styled Content
Target version:
-
Start date:
2019-05-26
Due date:
% Done:

0%

PHP Version:
Tags:
fluid video defer
Complexity:
Sprint Focus:

Description

Allow loading a video through a kind of "defer" loading.
For example, the f:media viewhelper with an additional attribute defer = "true".

This makes it necessary to include additional JavaScript, as described here:
https://varvy.com/pagespeed/defer-videos.html

This could potentially improve the load time of the website.

History

#1 Updated by Christian Hackl 6 months ago

  • Subject changed from Allow Iframe / Video javascript loading with "defer" to Allow iframe / video (youtube) javascript loading with "defer"

#2 Updated by Christian Eßl 2 months ago

This would be a very helpful addition.
Just recently I created a very similar solution by overriding the YouTubeRenderer, but other video media types would also benefit from this feature. I will try to create a patch later.

#3 Updated by Christian Hackl 2 months ago

my current solution is: https://extensions.typo3.org/extension/hh_video_extender/

currently not the best code, but it does what it should

Also available in: Atom PDF