如何将视频上传到 Odoo?

发布于 2025-01-12 16:48:47 字数 465 浏览 2 评论 0原文

我想在 Odoo 网站上手动从本地存储上传视频,但似乎没有这样的选项。

当我尝试上传任何媒体时,我发现我可以上传图像、文档(例如pdf文件)。上传任何图像或 pdf 文件都没有问题,但在视频部分,写着:视频代码(URL 或嵌入)接受 Youtube、Vimeo、Dailymotion 和 Youku 视频。为什么?为什么这是不可能的?你有什么解决办法吗?

输入图片此处描述

我特别问这个问题是因为我想在轮播上播放视频,当我在移动设备上插入 vimeo 或 youtube 视频时,我遇到了点击取消静音问题。

有想法,解决方案吗?

I would like to upload video(s) from my local storage, manually, on Odoo website but it seems that there is no such option.

When I try to upload any media, I see that I can upload image, document (e.g. pdf file). There is no problem to upload any image or pdf file but on video section, it is written: Video code (URL or Embed) and Accepts Youtube, Vimeo, Dailymotion and Youku videos. Why? Why is this not possible? Do you have any solution?

enter image description here

I especially am asking this because I want to play video on my carousel and when I insert a vimeo or youtube video, on mobile, I have the Tap to Unmute issue.

Ayn idea, solution?

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

祁梦 2025-01-19 16:48:47

因此,经过一些研究,我找到了如何在 Odoo 上上传视频的解决方案。

为了添加任何媒体,您首先需要在前端编辑网站的页面。当您单击编辑时,您将在右侧边栏上看到新块和所有编辑选项。然后,单击页面中的空白区域,您将看到侧边栏上的 STYLE 部分将变为活动状态。单击图像图标(将其悬停时为“文件/图像”),然后将打开选择媒体模式。转到 Document 部分 --> 上传文档 -->从本地存储中选择视频,上传完成后,它将在您之前单击的空白区域添加/出现一个小视频图标。右键单击它并复制链接。然后,删除链接的多余部分即可。

例如

www.yourdomain.com/web/content/111111/?unique=2323c304345b19d696a5cf1cabb05cc9da49a5d90&download=true

最终结果:

www.yourdomain.com/web/content/111111/

So, after I did some researches I have found the solution of how to upload a video on Odoo.

In order to add any media, you first need to edit a page of the website on front-end. When you click to Edit you will see the new blocks and all edit options on the right sidebar. Then, click to an empty area in the page and you will see that STYLE section on sidebar will become active. Click to the image icon ("File/Image" when you hover it) and Select a Media modal will open. Go to Document section --> Upload a document --> choose video from your local storage and when the upload finishes, it will add/appear a small video icon on the empty area where you had clicked before. Right click on it and and copy the link. Then, remove the extra part of the link and that is it.

e.g.

www.yourdomain.com/web/content/111111/?unique=2323c304345b19d696a5cf1cabb05cc9da49a5d90&download=true

final result:

www.yourdomain.com/web/content/111111/
~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文