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

187
Visualizações
Unable to capture screenshot of SCORM present in Iframe

I am using Html2Canvas JavaScript library to take screenshot of the SCORM content rendering in the iFrame. I have Scorm package (it is same html file, css,js file) file that is loading from the same server so I am not getting any CORS issues, The Scorm is embedded into iFrame to play in the web page.But when I capture the screenshot of the iframe content , I am getting partial content from the page, It ignoring some content, I don't know where I am doing.

click_evn = e.target.parentNode;
    html2canvas(click_evn, {
       background: '#fff',
       height: window.innerHeight,
       windowHeight: window.innerHeight,
       logging: true,
       // allowTaint : true,
       // useCORS:true,
       onrendered: function(canvas){
         before_imgData = canvas.toDataURL('image/png');
       }
   });

My content of the Scorm in iframe is
enter image description here

The result of the screenshot
enter image description here

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