A
A
Alexey Prosto2018-06-12 16:05:55
Android
Alexey Prosto, 2018-06-12 16:05:55

How to make a video play on a website from a browser (android)?

The video is not displayed on the site in android using the video tag.
Here at the bottom of the page
https://ksius.ru/portfolio/logo-cent/
1 video mp4 / 2 video webm / 3 video m4v? What to encode, nothing works. Webm, when tapping, only offers to download and seems to display 1 frame.
Everything is good on the tablet, I tried it, but only tried mp4 webm, I don’t know if it will work. Please try on your droids? Maybe just not updated chrome does not work for anyone.
Written like this:

<video autoplay="autoplay" loop="loop" width="100%" height="100%"><source src="/all/logo/cent/logo_c.mp4" /></video><br />
<video autoplay="autoplay" loop="loop" width="100%" height="100%"><source src="/all/logo/cent/logo_c.webm" /></video><br />
<video autoplay="autoplay" loop="loop" width="100%" height="100%"><source src="/all/logo/cent/logo_c.m4v" /></video>

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
Alexey Prosto, 2018-06-12
@Alex_SLV

I asked myself, I answered myself.
https://developers.google.com/web/updates/2016/07/...
I don't know how I found it, but now everything works even on mobile.
The whole bacchanalia was with auto-play of sound, now it is canceled if it is set as muted (muffled).
Now it's spelled like this:

<video autoplay="autoplay" loop="loop" muted="" width="100%" height="100%"><source src="/all/logo/cent/logo_c.webm" type="video/webm" /></video>

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question