- Dec 25, 2017
- 243
- 128
Hi, glad you like the game! I turned off autoplay on purpose. See dev notes for the reason why. One of the main reasons is that there is sound under each vid and if I autoplay them, the sound would mix and it would become utter chaos.
i understand completly but if you use a "mute" system code like:
sound.pause();
sound.currentTime = 0;
or
<!DOCTYPE html>
<html>
<body>
<h1>The video autoplay attribute</h1>
<video width="320" height="240" controls autoplay muted loop>
<source src="movie.mp4" type="video/mp4">
<source src="movie.ogg" type="video/ogg">
Your browser does not support the video tag.
</video>
</body>
</html>
it will allow you to play all the video like i said but without sound
of course there exist different code allowing you that dependind on wich "code" you are in (html5, javascript,css...) and the one i showed you is an exemple in html5 the advantage is that you can combine an autoplay , a loop ( the video keep playing in loop and a muted so yes 3 in 1 and if you don't understand the mute code ,you can even set the volume of your html5 to 0
as for the other part of the dev note you can also set a code that allow your video to play when in the middle of the window ( the code is a bit complex but a know it exist)
but if you want my aadvice it will be simpler to set your video in loop
so yes for the dev note i would say :
set your video in autoplay,loop and muted and problem resolve,
if you want some site were you can learn to do it, here's some :
You must be registered to see the links
You must be registered to see the links
there advantage is tha you only need to type in the search symbol like "autoplay" and it will propose you there solution inside there site
as for the 2 exemple i use w3school and it work , you can try
in waiting for your reply
best wish