Skip to Content
Menu
This question has been flagged
1 Reply
611 Views

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!


Avatar
Discard
Author Best Answer

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.

Avatar
Discard
Related Posts Replies Views Activity
3
Apr 25
2083
2
Jan 25
3181
0
Oct 23
1521
1
Sep 22
2269
0
Jun 16
3121