Skip to Content
เมนู
คุณต้องลงทะเบียนเพื่อโต้ตอบกับคอมมูนิตี้
คำถามนี้ถูกตั้งค่าสถานะ
1 ตอบกลับ
5319 มุมมอง

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

Related Posts ตอบกลับ มุมมอง กิจกรรม
2
พ.ค. 17
15721
1
มี.ค. 19
8206
1
พ.ย. 24
2562
Video Preview Widget in Odoo 12? แก้ไขแล้ว
3
เม.ย. 23
6812
3
มี.ค. 22
12006