Placing Cortona3D Solo library on a web server

Starting from version 9.0 RapidAuthor allows for creating publications that do not require browser plugins. These publications can be viewed with the help of Cortona3D Solo that is based on asm.js and WebGL/HTML5 technologies.

Cortona3D Solo Library consists of three files: Cortona3DSolo.js, Cortona3DSolo.js.mem and Cortona3DSoloCore.js.

On default the Cortona3D Solo Library is placed into the resource folder of the RapidAuthor publication. If you have a large number of publications you will need to update the Cortona3D Solo Library for each publication when a new version of Cortona3D Solo Library is released. To save time and effort you can place the Cortona3D Solo Library on a dedicated place on the server using the “3D Viewer URL” in the RapidAuthor publish options.

Your web server should be able to use the Cross-origin resource sharing (CORS) to ensure the proper workflow.

For example, for Apache you need to add the following line to the .htaccess file:

Access-Control-Allow-Origin: *

The information about CORS activation on other web servers is available here:
http://enable-cors.org/server.html

Please, note that if you use the Microsoft IIS web server, it needs to be configured to return files with the .mem extension. This is not a standard extension and your server may block it and return error 404 when such file is requested by a client.