Answer the question
In order to leave comments, you need to log in
How to play video automatically on website in android?
Hello. The site has a video, it is used as a background. It doesn't work on mobile devices. Is there any way to fix this?
<video autoplay loop poster="<?=$arResult['DISPLAY_PROPERTIES']['FILE_3']['FILE_VALUE']['SRC'];?>">
<source src="<?=$arResult['DISPLAY_PROPERTIES']['FILE_1']['FILE_VALUE']['SRC'];?>">
<source src="<?=$arResult['DISPLAY_PROPERTIES']['FILE_2']['FILE_VALUE']['SRC'];?>">
</video>
Answer the question
In order to leave comments, you need to log in
No way.
Do not force mobile users to load extra traffic, you can get by with a poster or GIF for the background.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question