You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
OCA-git-bot 9c8317f79c [UPD] README.rst 7 months ago
i18n [UPD] Update website_video_preview.pot 1 year ago
readme [IMP] Use new README template 1 year ago
static [UPD] README.rst 7 months ago
templates [ADD] website_video_preview 1 year ago
README.rst [IMP] Use new README template 1 year ago [ADD] website_video_preview 1 year ago [ADD] website_video_preview 1 year ago


Website Video Preview

.. !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!! This file is generated by oca-gen-addon-readme !!
!! changes will be overwritten. !!

.. |badge1| image::
:alt: Beta
.. |badge2| image::
:alt: License: AGPL-3
.. |badge3| image::
:alt: OCA/website
.. |badge4| image::
:alt: Translate me on Weblate
.. |badge5| image::
:alt: Try me on Runbot

|badge1| |badge2| |badge3| |badge4| |badge5|

Normally when you add a video on your page it will load the entire video player.
This will make your page load more data even when the visitor doesn't watch the video.
When visitors are using their mobile data plan it will unnecessary drain it.
This module prevents this issue by loading a preview image first.

The iframe of the player is loaded only when the user clicks on the preview image.

Currently only YouTube videos are supported.

**Table of contents**

.. contents::


To use this module, you need to:

#. Go in editing mode on the website
#. Go to the location where you want to insert a video
#. Insert the video
#. Save the page

Known issues / Roadmap

* Support more video services (not only YouTube)

Bug Tracker

Bugs are tracked on `GitHub Issues <>`_.
In case of trouble, please check there if your issue has already been reported.
If you spotted it first, help us smashing it by providing a detailed and welcomed
`feedback <**Steps%20to%20reproduce**%0A-%20...%0A%0A**Current%20behavior**%0A%0A**Expected%20behavior**>`_.

Do not contact contributors directly about support or help with technical issues.



* Onestein


* Dennis Sluijk <>


This module is maintained by the OCA.

.. image::
:alt: Odoo Community Association

OCA, or the Odoo Community Association, is a nonprofit organization whose
mission is to support the collaborative development of Odoo features and
promote its widespread use.

This module is part of the `OCA/website <>`_ project on GitHub.

You are welcome to contribute. To learn how please visit