From 209350bc6aee3571201ed8d0e95560067f6ceba5 Mon Sep 17 00:00:00 2001 From: bosd <11499387+bosd@users.noreply.github.com> Date: Wed, 14 Oct 2026 11:54:02 +0200 Subject: [PATCH] [ADD] website_sale_product_video_html5 Accept video files hosted on your own server or on a CDN as product media video URL. They are shown with the browser's HTML5 player, using the media image as poster, and are only downloaded when played. --- website_sale_product_video_html5/README.rst | 139 +++++ website_sale_product_video_html5/__init__.py | 1 + .../__manifest__.py | 17 + .../i18n/website_sale_product_video_html5.pot | 67 +++ .../models/__init__.py | 2 + .../models/product_image.py | 60 +++ .../models/res_config_settings.py | 16 + .../pyproject.toml | 3 + .../readme/CONFIGURE.md | 7 + .../readme/CONTRIBUTORS.md | 1 + .../readme/DESCRIPTION.md | 8 + .../readme/ROADMAP.md | 3 + .../readme/USAGE.md | 19 + .../static/description/icon.png | Bin 0 -> 9455 bytes .../static/description/index.html | 482 ++++++++++++++++++ .../tests/__init__.py | 2 + .../tests/test_product_image.py | 159 ++++++ .../tests/test_product_page.py | 38 ++ website_sale_product_video_html5/tools.py | 82 +++ .../views/res_config_settings_views.xml | 26 + 20 files changed, 1132 insertions(+) create mode 100644 website_sale_product_video_html5/README.rst create mode 100644 website_sale_product_video_html5/__init__.py create mode 100644 website_sale_product_video_html5/__manifest__.py create mode 100644 website_sale_product_video_html5/i18n/website_sale_product_video_html5.pot create mode 100644 website_sale_product_video_html5/models/__init__.py create mode 100644 website_sale_product_video_html5/models/product_image.py create mode 100644 website_sale_product_video_html5/models/res_config_settings.py create mode 100644 website_sale_product_video_html5/pyproject.toml create mode 100644 website_sale_product_video_html5/readme/CONFIGURE.md create mode 100644 website_sale_product_video_html5/readme/CONTRIBUTORS.md create mode 100644 website_sale_product_video_html5/readme/DESCRIPTION.md create mode 100644 website_sale_product_video_html5/readme/ROADMAP.md create mode 100644 website_sale_product_video_html5/readme/USAGE.md create mode 100644 website_sale_product_video_html5/static/description/icon.png create mode 100644 website_sale_product_video_html5/static/description/index.html create mode 100644 website_sale_product_video_html5/tests/__init__.py create mode 100644 website_sale_product_video_html5/tests/test_product_image.py create mode 100644 website_sale_product_video_html5/tests/test_product_page.py create mode 100644 website_sale_product_video_html5/tools.py create mode 100644 website_sale_product_video_html5/views/res_config_settings_views.xml diff --git a/website_sale_product_video_html5/README.rst b/website_sale_product_video_html5/README.rst new file mode 100644 index 0000000000..ab0ba7fa2b --- /dev/null +++ b/website_sale_product_video_html5/README.rst @@ -0,0 +1,139 @@ +.. image:: https://odoo-community.org/readme-banner-image + :target: https://odoo-community.org/get-involved?utm_source=readme + :alt: Odoo Community Association + +============================= +eCommerce Product Video HTML5 +============================= + +.. + !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! + !! This file is generated by oca-gen-addon-readme !! + !! changes will be overwritten. !! + !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! + !! source digest: sha256:ef92162bf8a78a8ace1cc240924bd890473dc59e63844aac70be3c3e5c98a6f9 + !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! + +.. |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/license-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%2Fe--commerce-lightgray.png?logo=github + :target: https://github.com/OCA/e-commerce/tree/19.0/website_sale_product_video_html5 + :alt: OCA/e-commerce +.. |badge4| image:: https://img.shields.io/badge/weblate-Translate%20me-F47D42.png + :target: https://translation.odoo-community.org/projects/e-commerce-19-0/e-commerce-19-0-website_sale_product_video_html5 + :alt: Translate me on Weblate +.. |badge5| image:: https://img.shields.io/badge/runboat-Try%20me-875A7B.png + :target: https://runboat.odoo-community.org/builds?repo=OCA/e-commerce&target_branch=19.0 + :alt: Try me on Runboat + +|badge1| |badge2| |badge3| |badge4| |badge5| + +This module lets you showcase products with video files hosted on your +own server or on a CDN, next to the YouTube, Vimeo, Dailymotion, +Instagram and Facebook videos supported by Odoo in the eCommerce media +of products. + +Such videos are played with the browser's native HTML5 ``