Thank you for your answer.
I'm trying to use the iSpring pro player (evaluation) in the guest page.
This is the guest:
https://drive.google.com/file/d/0BxtO-pPpZS0FRU9XbHdrb09FcE0/I'm getting the following errors in FF 30 console:
The character encoding of the HTML document was not declared. The
document will render with garbled text in some browser configurations if
the document contains characters from outside the US-ASCII range. The
character encoding of the page must be declared in the document or in
the transfer protocol. host.html
TypeError: mutating the
[[Prototype]] of an object will cause your code to run very slowly;
instead create the object with the correct initial [[Prototype]] value
using Object.create ses-single-frame.js:3603
SES initialization ses-single-frame.js:969
"Repaired: Non-deletable RegExp statics are a global communication channel" ses-single-frame.js:948
"Repaired: Date.prototype is a global communication channel" ses-single-frame.js:948
"Repaired: WeakMap.prototype is a global communication channel" ses-single-frame.js:948
"Not repaired: Strict getter must not box this, but does" ses-single-frame.js:948
"Not repaired: [[ThrowTypeError]] is not frozen" ses-single-frame.js:948
"Not repaired: [[ThrowTypeError]] has normal function properties" ses-single-frame.js:948
"Max Severity: Safe spec violation(1)." ses-single-frame.js:948
"Repaired: WeakMap throws when given some keys" ses-single-frame.js:948
"438 Apparently fine" ses-single-frame.js:948
"123 Deleted" ses-single-frame.js:948
"1 Frozen harmless" ses-single-frame.js:948
"Max Severity: Safe spec violation(1)." ses-single-frame.js:948
"initSES succeeded." ses-single-frame.js:948
"Uncaught
script error: Error: not loaded in source:
"
http://localhost:8000/presentation/data/player.js?B29519F1" at line: 1"
ses-single-frame.js:27119
"Uncaught script error: TypeError:
PresentationPlayer is undefined in source:
"
http://localhost:8000/presentation/index.html" at line: 1"
ses-single-frame.js:27119
This is the host page:
<html>
<head>
<title>Caja host page</title>
<script type="text/javascript"
src="//
caja.appspot.com/caja.js">
</script>
</head>
<body>
<h1>Caja host page</h1>
<div id="guest"></div>
<script type="text/javascript">
var uriPolicy = {
rewrite: function(uri) {
return uri;
}
};
caja.initialize({
cajaServer: '
https://caja.appspot.com/',
es5Mode:true,
debug: true
});
caja.load(document.getElementById('guest'), uriPolicy, function(frame) {
frame.code('/presentation/index.html',
'text/html')
.run();
});
</script>
</body>
</html>
Am I doing something wrong or is the guest use something that is not supported by caja?
Thanks