Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

324
Views
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
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!