Skip to Content
Menu
Musisz się zarejestrować, aby móc wchodzić w interakcje z tą społecznością.
To pytanie dostało ostrzeżenie
1 Odpowiedz
858 Widoki

Hello,

We are currently migrating our integration from Odoo version 15 to version 16. However, we have encountered an issue: the videos linked to our products are no longer working.

In Odoo 15, we used URLs like the following, which worked without any issues:

https://AWS_SERVICE_NAME.us-east-1.amazonaws.com/TEASER/file_1.mp4

It seems that Odoo 16 might be handling these URLs differently. Does anyone have a solution for this? We would prefer to keep the files hosted on our own services for easier management and manipulation.

This issue is present across all our products with videos.

Thank you in advance for any help!


Awatar
Odrzuć
Autor Najlepsza odpowiedź

I'm posting this for future reference. It looks like the website_editor tool actively searches for an external provider like YouTube or Vimeo to retrieve the embedded URL for videos, instead of handling MP4 files directly as Odoo 15 did.

To address this, we created a custom module that extends the product.image functionality. This allows us to use Odoo’s default tool alongside our custom one, which generates the iframe markup for videos stored on our AWS bucket. Additionally, we added a settings record to define allowed domains for MP4 videos.

Awatar
Odrzuć
Powiązane posty Odpowiedzi Widoki Czynność
3
kwi 25
2469
2
sty 25
3595
0
paź 23
1816
1
wrz 22
2664
0
cze 16
3377