如何将视频上传到 Odoo?
我想在 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?
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 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
因此,经过一些研究,我找到了如何在 Odoo 上上传视频的解决方案。
为了添加任何媒体,您首先需要在前端编辑网站的页面。当您单击
编辑
时,您将在右侧边栏上看到新块和所有编辑选项。然后,单击页面中的空白区域,您将看到侧边栏上的STYLE
部分将变为活动状态。单击图像图标(将其悬停时为“文件/图像”),然后将打开选择媒体
模式。转到Document
部分 -->上传文档
-->从本地存储中选择视频,上传完成后,它将在您之前单击的空白区域添加/出现一个小视频图标。右键单击它并复制链接。然后,删除链接的多余部分即可。例如
最终结果:
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 thatSTYLE
section on sidebar will become active. Click to the image icon ("File/Image" when you hover it) andSelect a Media
modal will open. Go toDocument
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.
final result: