JavaScript Play Sound on Document Ready without Human Interact
- Estado: Open
- Premio: $10
- Propuestas recibidas: 13
Resumen del concurso
MandarinNu.com is a Chinese language teaching web app, which is generated by React Native Expo.
We want to show users sample dialog module on page load with sound.
https://mandarinnu.com
Right now, a user has to click anywhere on the page in order for the cartoon characters to speak.
(You could try :)
What we want is let sound play on page load.
What we tried is to place the following code inside the <body> tag, but not work as expected.
<script>
document.addEventListener("DOMContentLoaded", function(event) {
document.getElementById('hi').click();
});
</script>
We prefer not using jQuery if not necessary, as jQuery is not used at any other places in the application.
The first correct solution will be paid.
Habilidades recomendadas
Principales propuestas de este concurso
-
mahede1218 Bangladesh
-
karim0725 Bangladesh
-
muniryasir Pakistan
-
harinisbca2021 India
-
mbsheikh2018 Pakistan
-
mbsheikh2018 Pakistan
-
joeljohn159 India
-
sharmashivank80 India
-
ricauterruiiz2 Venezuela
-
Sanjayyadav01 India
-
Mrshaikh100 India
-
saalimzafar India
Tablero de aclaración pública
Cómo comenzar con los concursos
-
Publica tu concurso Fácil y rápido
-
Consigue toneladas de propuestas De todo el mundo
-
Elige la mejor propuesta ¡Descarga fácilmente los archivos!