Web Rotate 360 Rotator not finding License.lic file

mrchoad

New member
I am embedding my rotator on my page, but they it seems that they are not able to find the license file. I look at the network tab on developer tools and it seems to be looking for the license.lic file at the site's root directory and getting a 404.
Is there a way to specify the license file location in the javascript api call, similar to how you can with jQuery?

My javascript code is
Code:
            _imageRotator.settings.configFileURL = 'rotators/' + $scope.rotatorName + '/published/360_assets/' + $scope.rotatorName + '/' + $scope.rotatorName + '.xml';
            _imageRotator.settings.graphicsPath = 'imagerotator/html/img/thin';
            _imageRotator.settings.responsiveBaseWidth = 960;
            _imageRotator.settings.responsiveMinHeight = 962;
            _imageRotator.runImageRotator("wr360PlayerId");
 

WebSupport

Active member
Hi, yes, you would need to add this line before runImageRotator(..) and update the URL as needed:

Code:
 _imageRotator.licenseFileURL = '/your-licence-path-on-this-server/license.lic';
 
Top