콘텐츠로 건너뛰기
메뉴
커뮤니티에 참여하려면 회원 가입을 하시기 바랍니다.
신고된 질문입니다
1 회신
5393 화면

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
15858
1
3월 19
8260
1
11월 24
2678
3
4월 23
6888
3
3월 22
12125