跳至内容
菜单
此问题已终结
1 回复
5237 查看

Hey all, I am trying to play an embedded video on odoo website.  This video is stored on server itself. Please check below code and let me know what is wrong with it?
Video is working for chrome, firefox,etc but not on the safari. Is there any specific reason why video tag is not working in safari?
Need urgent help, thanks in advance!

JS:

passing video file path (src) from js as below:

$('#hpt-video').each(function () {
var videoPlayer = document.getElementById("hpt-video");
question.video_url.mp4 = '/smart_learn/static/src/video/video_name.mp4'

形象
丢弃
最佳答案
preload="yes"  loop width="100%" height="auto" autoplay loop muted playsinline


形象
丢弃
编写者

It is giving an syntactical error:

lxml.etree.XMLSyntaxError: Specification mandate value for attribute loop
lxml.etree.XMLSyntaxError: Specification mandate value for attribute autoplay

相关帖文 回复 查看 活动
2
5月 17
15566
1
3月 19
8136
1
11月 24
2368
3
4月 23
6734
3
3月 22
11872