[CinVin] Lazy Load YouTube Videos

[CinVin] Lazy Load YouTube Videos 1.1.0

Нет прав на скачивание
Совместимость с XF
  1. 2.2.x
Краткое описание
A fast-loading YouTube add-on with lazy-loaded previews. Perfect for threads with many embedded videos, improving load times and user experience on slower connections. Supports Google's Privacy-Enhanced Mode and uses webp images for better visuals.
This is a small add-on that defers loading embedded YouTube videos until the user clicks on the play button.

A preview image is shown as a placeholder with the familiar YouTube 'play' button on top. The video is not loaded until the play button is clicked. The image has the 'lazy' property set for browsers that recognize it.

For threads with a lot of embedded YouTube videos, such as the "The Amazing Emporium of Wondrous Tunes (aka: What are you listening to?)" thread at Cameraderie, this allows the thread to load faster and helps users browsing on slower internet connections and/or older devices.

Please note: On some browsers, such as Chrome for Android devices, the video will not auto-play after being clicked. It will load after clicking the 'play' button but the user must then click the 'play' button of the newly loaded video. This is a restriction of the browser and can not be overridden.

1635701151291.png



As of version 1.1.0 there are two new options available in the ACP => System and Performance Settings.

The option Use 'Youtube-Nocookie' Domain When Playing Videos will use the domain "youtube-nocookie.com" instead of the default "youtube.com" when the videos are loaded. This is part of Google's YouTube Privacy-Enhanced Mode.

The option Use YouTube Webp Preview Images will use .webp preview images instead of the default .jpg images. Important to note... not all videos have .webp preview images! Turning this option may result in some videos, especially older ones, having no preview image shown. From our testing, some of the YT .webp images are actually bigger than the .jpg images! Because of that, and that our sites have a lot of older videos, we don't have this option enabled but left it available for anybody that might want to use use .webp everywhere possible.

1635700920743.png
  • Нравится
Реакции: Bluter
Автор
axtona
Просмотры
853
Тип расширения
zip
Размер файла
16.4 КБ
Первый выпуск
Последнее обновление
Оценки 5.00 звезды 1 оценок
Ссылка не работает? Отправить сообщение команде NP, и мы поможем вам очень быстро!
Поддержите разработчика Если вы довольны тестом или ваш проект приносит доход, нажмите кнопку «Больше информации», чтобы поддержать разработчика покупкой.

Последние отзывы

Гуд, плагин супер

Больше Ресурсов от axtona

Data Tables A
Data Tables 1.6.1
create stand-alone, fully customizable data tables within XenForo
Free Add-on Update Notifier A
reading each add-on's latest version straight from its own xenforo.com resource page.
платежный профиль:Authorize.Net с ARB A
Этот дополнение расширяет систему платежей профиля покупателя XenForo 2 и позволяет принимать оплаты через Authorize.Net.

Похожие ресурсы

Lazy Load Images (PageSpeed improvement) N
This add-on adds 'lazy loading images' to your forum with minimal impact.
Просмотры
668
Обновлено
Lazy Load A
Lazy Load 2.8.0
Полный метод дляlazy loading по пользовательской группе с нуля
Просмотры
401
Обновлено
PixVid.org: Upload and Host Images & Videos A
PixVid offers a seamless solution for remote image and video upload and storage
Просмотры
254
Обновлено
Вверх