T
T
tenaro2015-12-28 16:50:38
JavaScript
tenaro, 2015-12-28 16:50:38

How to automatically play media content on mobile devices?

Is there any actual solution to start automatically? for example background music in the game
Or video when entering the page.

Answer the question

In order to leave comments, you need to log in

2 answer(s)
Y
yeti357, 2015-12-28
@tenaro

I don't know about Android devices, but I don't know about iOS devices. The content will not load until a tap is made. We got out of the situation like this: for these devices they indicated that the sound was turned off, and offered to turn it on by pressing the corresponding button

D
Denis Ineshin, 2015-12-28
@IonDen

Alas, this is not possible. This is the policy of the creators of devices. It is assumed that you are using a mobile device on a cellular network that charges for traffic. Therefore, you must personally control what you want to download and what not. Therefore, without the direct action of the user (for example, clicking on the play), neither the video nor the audio will not only be played, but even not loaded.
Perhaps in the future, when the price of mobile Internet falls closer to zero, this policy will be cancelled.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question