İçereği Atla
Menü
Bu soru işaretlendi
1 Cevapla
5547 Görünümler

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'

Avatar
Vazgeç
En İyi Yanıt
preload="yes"  loop width="100%" height="auto" autoplay loop muted playsinline


Avatar
Vazgeç
Üretici

It is giving an syntactical error:

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

İlgili Gönderiler Cevaplar Görünümler Aktivite
2
May 17
16137
1
Mar 19
8452
1
Kas 24
2963
3
Nis 23
7051
3
Mar 22
12368