#35168: Problem with templates and the <video></video> tag
-------------------------------------+-------------------------------------
               Reporter:  Estuardo   |          Owner:  nobody
  Ramírez                            |
                   Type:  Bug        |         Status:  new
              Component:  Template   |        Version:  5.0
  system                             |       Keywords:  templates, video
               Severity:  Normal     |  tag, bug
           Triage Stage:             |      Has patch:  0
  Unreviewed                         |
    Needs documentation:  0          |    Needs tests:  0
Patch needs improvement:  0          |  Easy pickings:  0
                  UI/UX:  0          |
-------------------------------------+-------------------------------------
 The templates have a problem because when you create a <video></video> tag
 it plays the video but when the tag has "controls" controls, it does not
 allow the video to go forward or backward and it is a problem since you
 cannot do anything, not even using js or css code.

 And NO, it is not a browser compatibility problem, no matter what browser
 you do it in, it doesn't work, whether you use static, media or whatever
 you use, it doesn't work.
 If you run this code in Django:

 {{{
 {% load static %}
 <!DOCTYPE html>
 <html lang="es">
 <head>
     <meta charset="UTF-8">
     <meta name="viewport" content="width=device-width, initial-scale=1.0">
     <title>Document</title>
 </head>
 <body>
     <video width="640" height="360" controls>
         <source src="{% static "prueba.mp4" %}" type="video/mp4">
         Tu navegador no soporta el tag de video.
     </video>
 </body>
 </html>
 }}}


 It doesn't work, that is, the video plays but it doesn't let you rewind or
 fast forward the video.
 And if you run that code in a simple html file without all that magic it
 works perfectly.

 The error has been around for many versions, I have already tried it with
 different versions. I noticed this error thanks to the Django community in
 Spanish on Telegram
-- 
Ticket URL: <https://code.djangoproject.com/ticket/35168>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.

-- 
You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-updates/0107018d7c9db674-1353663a-4d28-4a6e-910d-77e630da7d91-000000%40eu-central-1.amazonses.com.

Reply via email to