I have read that you plan to deprecate the Webviewer’s iframe constructor in a future release (Apryse Documentation | Documentation). When we did a simple test to replace the iframe constructor with the new Web Component constructor, we noticed some styling impact but also a significant performance impact. So we were wondering when you are planning to deprecate and stop support for the iframe implementation.
I have also noticed that the following error is thrown since @pdftron/webviewer version 10.2:
Refused to apply style from 'http://localhost:4202/lib/ui/style.css' because its MIME type ('text/html') is not a supported stylesheet MIME type, and strict MIME checking is enabled.
The Webviewer iframe’s index.html still contains a reference to a style.css file, but that file is no longer present in v10.2, resulting in the above error with the iframe view. This error is also thrown with the Web Component view.