S
S
silatal2021-10-20 11:29:39
HTML
silatal, 2021-10-20 11:29:39

Why doesn't the video through the tag work?

There is a code that starts the video:

<video src="/video/video.mp4" preload="auto" autoplay="autoplay" loop="loop" muted="" controls="controls" width="100%" height="auto" type="video/mp4"> </video>

In chrome and firefox everything works correctly, but in opera and safari it does not start. What could be?

Answer the question

In order to leave comments, you need to log in

2 answer(s)
S
silatal, 2021-10-21
@silatal

The problem was in the video. Working code. Changed the video and everything worked.

K
Kywaxe, 2021-10-20
@Kywaxe

Maybe it's a matter of compatibility?
I advise you to check the attributes and versions of browsers for compatibility
https://developer.mozilla.org/ru/docs/Web/HTML/Ele...

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question