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

185
Views
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
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!