A
A
Alexander Buyan2017-09-15 14:47:46
css
Alexander Buyan, 2017-09-15 14:47:46

Why is the video on the site not displayed on a smartphone?

6301ce00048741758939062abdbf142c.png
This is how crap happens. My code is below:

<video class="header__video" width="100%" autoplay loop muted>
      <source src="video/header.mp4" type="video/mp4">
        <source src="video/header.webm" type="video/webm">
          <source src="video/header.ogv" type="video/ogg">
            <object data="video/header.swf" type="application/x-shockwave-flash">
              <param name="movie" value="video/header.swf">
            </object>
          </video>

What to do, experts?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
I
illuzor, 2017-09-15
@iLLuzor

Because mobile browsers don't support flash

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question