Empresas
Empleos
  • Sobre nosotros
  • Soluciones
    • Publicación de vacantes
      Publica tu vacante y recibe candidatos calificados en 48h.
    • Evaluación de candidatos
      500+ pruebas técnicas y psicológicas, más anti-fraude.
    • Headhunting
      Búsqueda ejecutiva a la medida de principio a fin.
    • Nómina + EOR
      Dispersión de nómina y EOR en más de 15 países de LATAM.
  • Precios
  • Empleos

0

184
Vistas
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 la pregunta
Encuentra empleos remotos

¡Descubre la nueva forma de encontrar empleo!

Top de empleos
Top categorías de empleo
Empresas
Publicar vacante Precios Comercial
Legal
Términos y condiciones Política de privacidad
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomiéndame algunas ofertas
Necesito ayuda