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

271
Visualizações
Is there any way to add watermark on html5/html 5 video element, which user can not remove by going into the browser console/inspect mode?

I want to create a video watermark, which end user can not remove by manipulating DOM. Currently I tried adding watermark by using css and overlays, which is pretty easy to remove if user has even a little knowledge about DOM and browser elements.

about 4 years ago · Juan Pablo Isaza
1 Respostas
Responde à pergunta

0

You can try one trick, but this is just a theory - instead of displaying all images directly, create an SVG wrapper that will be displaying actual video, something like this.

Then on your main page, display this SVG control using img or iframe.

Sample.svg

<svg version="1.1" xmlns="http://www.w3.org/2000/svg" width="100%" height="100%">
  <text x="0" y="0">Some watermark goes here</text>
  <foreignObject x="0" y="0" width="300" height="100">
    <video xmlns="http://www.w3.org/1999/xhtml" width="300" height="100">
      <source src="some-video.mp4" type="video/mp4" />
    </video>
  </foreignObject>
</svg>

Main page

<img src="sample.svg" />
about 4 years ago · Juan Pablo Isaza Relatório
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