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

114
Visualizações
Embedly oembed endpoint mute gifs

I'm using embedly's /oembed endpoint to get link previews for everything. However some links doesnt return already muted and plays a sound. I'm using angular and load the preview link like so

    <!-- Link Post Body With Embedded html -->
    <div [innerHTML]="sanitizedPreviewHtml" ></div>
    <!-- End Link Post Body  Embedded html -->

and I'm setting the "sanitizedPreviewHtml" like so,

      this.sanitizedPreviewHtml = this.sanitizer.bypassSecurityTrustHtml(this.topicSummary.previewHtml);
      this.previewHtml.nativeElement.muted = true;

But from time to time, the browser plays sound on my items. Even if I mute the gif, if I reload the page it sometimes (but not always) will play the sound again. this so far only happened on giphy links, such as this one

https://giphy.com/clips/hamlet-happy-mrw-relieved-PcDeJOYXcX0ENsrOvj

How can I make sure every preview like this I receive is muted?

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