Forum

screenshot not working in ie11 / edge

27 June 2018 15:20
the screenshot function main.canvas_data_url() does not seem to work in the ie11 or edge browsers.

the documentation is unclear on what the used callback function receives. In firefox and chrome, it returns a string with the screenshot url. in ie11 it instead returns an almost empty object.

we use it like this (simplified):

screenshot = function(callback){
m_main.canvas_data_url(callback, "image/jpeg");
}

var win = open("");
function imageCallback(imagepath){win.location.href = imagepath;}
screenshot(imageCallback);
03 July 2018 11:15
Reproduced, but solution is not found yet. The issue added to the task list.
Alexander (Blend4Web Team)
twitter
 
Please register or log in to leave a reply.