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
- Boekhouding
- Voorraad
- PoS
- Project
- MRP
Deze vraag is gerapporteerd
1
Beantwoorden
5241
Weergaven
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
Geniet je van het gesprek? Blijf niet alleen lezen, doe ook mee!
Maak vandaag nog een account aan om te profiteren van exclusieve functies en deel uit te maken van onze geweldige community!
AanmeldenGerelateerde posts | Antwoorden | Weergaven | Activiteit | |
---|---|---|---|---|
|
2
mei 17
|
15575 | ||
|
1
mrt. 19
|
8139 | ||
|
1
nov. 24
|
2379 | ||
Video Preview Widget in Odoo 12?
Opgelost
|
|
3
apr. 23
|
6739 | |
|
3
mrt. 22
|
11887 |