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'
Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:
- CRM
- e-Commerce
- Comptabilité
- Inventaire
- PoS
- Project
- MRP
Cette question a été signalée
1
Répondre
5266
Vues
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
Vous appréciez la discussion ? Ne vous contentez pas de lire, rejoignez-nous !
Créez un compte dès aujourd'hui pour profiter de fonctionnalités exclusives et échanger avec notre formidable communauté !
S'inscrirePublications associées | Réponses | Vues | Activité | |
---|---|---|---|---|
|
2
mai 17
|
15620 | ||
|
1
mars 19
|
8163 | ||
|
1
nov. 24
|
2447 | ||
|
3
avr. 23
|
6764 | ||
|
3
mars 22
|
11937 |