Skip ke Konten
Menu
Pertanyaan ini telah diberikan tanda
1 Balas
859 Tampilan

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
Buang
Penulis Jawaban Terbai

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
Buang
Post Terkait Replies Tampilan Aktivitas
3
Apr 25
2469
2
Jan 25
3595
0
Okt 23
1816
1
Sep 22
2664
0
Jun 16
3377