try using {% static.. to server your file.
Em qua., 21 de abr. de 2021 às 19:44, תמר בביוף <tamar14191@gmail.com> escreveu:
Hello everyone:I try to enable a video tag in HTML like this<video width="530" height="440" controls autoplay>
<source src="../static/you.mp4" type="video/mp4"></source>
</video>:My problem is that the video does not run on Django, and looks like a blackRunning on html alone it works,Does anyone know what the problem is? Is not a video tag enough when using Django?--
You received this message because you are subscribed to the Google Groups "Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to django-users+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/db9c1818-3312-45b4-a652-6a2dbc5bb688n%40googlegroups.com.
--
Thiago Luiz Parolin
You received this message because you are subscribed to the Google Groups "Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to django-users+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/CANbmKysnyHnW7yz6jL_rBS5xBrdroHmZNKTzn%2Bx2D2Vj0dy8aA%40mail.gmail.com.
No comments:
Post a Comment