Empresas
Empleos
  • Sobre nosotros
  • Soluciones
    • Publicación de vacantes
      Publica tu vacante y recibe candidatos calificados en 48h.
    • Evaluación de candidatos
      500+ pruebas técnicas y psicológicas, más anti-fraude.
    • Headhunting
      Búsqueda ejecutiva a la medida de principio a fin.
    • Nómina + EOR
      Dispersión de nómina y EOR en más de 15 países de LATAM.
  • Precios
  • Empleos

0

268
Vistas
Autoplay audio on page load in browser

I have to play audio on page load i have checked these links also :

How to make audio autoplay on chrome

<html>
<head>
  <script src="https://ajax.googleapis.com/ajax/libs/jquery/3.5.1/jquery.min.js"></script>
</head>
<body>
  <audio id="audio1" style="display:none;">
    <source src="https://ia800206.us.archive.org/16/items/SilentRingtone/silence_64kb.mp3" type="audio/mpeg">
    <embed height="50" width="100" src="https://ia800206.us.archive.org/16/items/SilentRingtone/silence_64kb.mp3">
  </audio>

  <iframe src="https://ia800206.us.archive.org/16/items/SilentRingtone/silence_64kb.mp3" allow="autoplay" style="display:none" id="iframeAudio">
  </iframe> 
</body>

I have tried with script also

<script type="text/javascript">
function play()            {
    var audio=document.getElementById('audio1');
    audio.play();
    }
    $(function() {
    play();
   }, 2300);
  </script> 

But browser is restricting it, i want to play audio with progress bar, volume button and speed is there any way i can execute this in browser without user interaction i have checked other site audio plays on there site in chrome also, Is there any third party plugin i can use to resolve this issue.

about 4 years ago · Juan Pablo Isaza
1 Respuestas
Responde la pregunta

0

Chromium browsers do not allow autoplay in most cases.

about 4 years ago · Juan Pablo Isaza Denunciar
Responde la pregunta
Encuentra empleos remotos

¡Descubre la nueva forma de encontrar empleo!

Top de empleos
Top categorías de empleo
Empresas
Publicar vacante Precios Comercial
Legal
Términos y condiciones Política de privacidad
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomiéndame algunas ofertas
Necesito ayuda