Empresas
Empregos
  • Sobre nós
  • Soluções
    • Publicação de vagas
      Publique sua vaga e receba candidatos qualificados em 48h.
    • Avaliações de candidatos
      Mais de 500 testes técnicos e psicológicos, mais anti-fraude.
    • Headhunting
      Busca executiva personalizada do início ao fim.
    • Folha de Pagamento + EOR
      Dispersão de folha e EOR em mais de 15 países da LATAM.
  • Preços
  • Empregos

0

328
Visualizações
Error with Feature-Policy header: Unrecognized feature: 'speaker'

I was experimenting with some JavaScript code. I tried generate sound by oscillator on localhost via snippets. But run that snippet on another website by accident. In that snippet, there was a mistake and it play sound in infinity cycle. Website freeze and after refresh, there is a warning in console:

Error with Feature-Policy header: Unrecognized feature: 'speaker'.

and, on that site, I am not able to play any sound anymore. I tried another browser but Edge or Firefox do not ever supporting that feature. I tried another PC and also VPN and still same. Is there anything what I can do with it? It is forever? Btw I launched it on Stackoverflow.

Code of snippet what I tried:

function playAudio(){
    context = new AudioContext();

    var o = context.createOscillator();
    o.type = 'sine';
    o.frequency.value = 350;
    o.connect(context.destination);

    // Start the sound
    o.start(0);
    // Play the sound for a second before stopping it
    setTimeout(async function() {
        o.stop(0);
        //await sleep(100);
        //playAudio();
    }, 1000);
}

while(true){
    playAudio();
}
about 4 years ago · Juan Pablo Isaza
Responde à pergunta
Encontrar trabalhos remotos

Descubra a nova forma de encontrar um emprego!

melhores empregos
Principais categorias de trabalho
Empresas
Postar vaga Preços Comercial
Jurídico
Termos e Condições Política de privacidade
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomende algumas ofertas para mim
Preciso de ajuda