Vous ne pouvez pas sélectionner plus de 25 sujets Les noms de sujets doivent commencer par une lettre ou un nombre, peuvent contenir des tirets ('-') et peuvent comporter jusqu'à 35 caractères.
OCA-git-bot 9c8317f79c [UPD] README.rst il y a 4 mois
i18n [UPD] Update website_video_preview.pot il y a 10 mois
readme [IMP] Use new README template il y a 1 an
static [UPD] README.rst il y a 4 mois
templates [ADD] website_video_preview il y a 1 an
README.rst [IMP] Use new README template il y a 1 an
__init__.py [ADD] website_video_preview il y a 1 an
__manifest__.py [ADD] website_video_preview il y a 1 an


Website Video Preview

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

.. |badge1| image:: https://img.shields.io/badge/maturity-Beta-yellow.png
:target: https://odoo-community.org/page/development-status
:alt: Beta
.. |badge2| image:: https://img.shields.io/badge/licence-AGPL--3-blue.png
:target: http://www.gnu.org/licenses/agpl-3.0-standalone.html
:alt: License: AGPL-3
.. |badge3| image:: https://img.shields.io/badge/github-OCA%2Fwebsite-lightgray.png?logo=github
:target: https://github.com/OCA/website/tree/11.0/website_video_preview
:alt: OCA/website
.. |badge4| image:: https://img.shields.io/badge/weblate-Translate%20me-F47D42.png
:target: https://translation.odoo-community.org/projects/website-11-0/website-11-0-website_video_preview
:alt: Translate me on Weblate
.. |badge5| image:: https://img.shields.io/badge/runbot-Try%20me-875A7B.png
:target: https://runbot.odoo-community.org/runbot/186/11.0
: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 <https://github.com/OCA/website/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 <https://github.com/OCA/website/issues/new?body=module:%20website_video_preview%0Aversion:%2011.0%0A%0A**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 <d.sluijk@onestein.nl>


This module is maintained by the OCA.

.. image:: https://odoo-community.org/logo.png
:alt: Odoo Community Association
:target: https://odoo-community.org

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 <https://github.com/OCA/website/tree/11.0/website_video_preview>`_ project on GitHub.

You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute.