@didask/scol-r 2.17.0 → 2.17.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/loadContent.js +2 -1
- package/package.json +1 -2
- package/lib/SCORMAdapter.test.d.ts +0 -1
- package/lib/SCORMAdapter.test.js +0 -14
package/lib/loadContent.js
CHANGED
|
@@ -162,7 +162,8 @@ function loadContent(_a) {
|
|
|
162
162
|
iframe.setAttribute("frameborder", "0");
|
|
163
163
|
iframe.setAttribute("height", "100%");
|
|
164
164
|
iframe.setAttribute("width", "100%");
|
|
165
|
-
iframe.setAttribute("allow", "microphone");
|
|
165
|
+
iframe.setAttribute("allow", "microphone; fullscreen");
|
|
166
|
+
iframe.setAttribute("allowfullscreen", "");
|
|
166
167
|
document.body.insertBefore(iframe, document.getElementById("wrapper"));
|
|
167
168
|
sessionStart = new Date();
|
|
168
169
|
host = sourceUrlParser.host;
|
package/package.json
CHANGED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
package/lib/SCORMAdapter.test.js
DELETED
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
var bun_test_1 = require("bun:test");
|
|
4
|
-
var SCORMAdapter_1 = require("./SCORMAdapter");
|
|
5
|
-
bun_test_1.test('convertMsToCMITimespan ("0000:00:00.00")', function () {
|
|
6
|
-
var milliseconds = (36 * 60 * 60 * 1000) + (6 * 60 * 1000) + (2 * 1000) + (23 * 10);
|
|
7
|
-
var CMITimespan = SCORMAdapter_1.convertMsToCMITimespan(milliseconds);
|
|
8
|
-
bun_test_1.expect(CMITimespan).toBe('0036:06:02.23');
|
|
9
|
-
});
|
|
10
|
-
bun_test_1.test('convertToTimeInterval', function () {
|
|
11
|
-
var milliseconds = (36 * 60 * 60 * 1000) + (6 * 60 * 1000) + (2 * 1000) + (23 * 10);
|
|
12
|
-
var timeInterval = SCORMAdapter_1.convertToTimeInterval(milliseconds);
|
|
13
|
-
bun_test_1.expect(timeInterval).toBe('P1DT12H6M2');
|
|
14
|
-
});
|