why autoplay is not playing the audio and video file ? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 3

why autoplay is not playing the audio and video file ?

i am doing it in sololearner.

10th Jun 2016, 2:11 AM
Shiva Bhardwaj
Shiva Bhardwaj - avatar
5 Answers
+ 7
It depends on the device you use. Some device browsers don't allow media to be autoplayed (For example Android browsers)
10th Jun 2016, 6:56 AM
James Flanders
+ 2
as James said, some browsers do not allow it. it can actually be annoying unless it's a background video that is silent. if your video has sound, make sure you have controls in your video tag or you will drive users away from your site. think about those adds that pop up and start playing... the user just wants to to kill it! kill it with fire!... lol... do you have autoplay in your video tag? <video controls autoplay> <source src="video.wav" type="video/wav"> you can't watch this in your browser. </video>
10th Jun 2016, 12:25 PM
Trikyas.com
Trikyas.com - avatar
+ 1
some.times its the syntax
20th Jun 2016, 5:47 PM
princemutungi
princemutungi - avatar
0
S9me browsers doesn't supported
14th Jun 2016, 10:32 PM
UMAR MUHAMMAD ALIYU
UMAR MUHAMMAD ALIYU - avatar
0
i am asking about the solo learn application
20th Jun 2016, 5:52 PM
Shiva Bhardwaj
Shiva Bhardwaj - avatar