@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.
@@ -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,7 +1,6 @@
1
1
  {
2
2
  "name": "@didask/scol-r",
3
- "version": "2.16.0",
4
- "version": "2.17.0",
3
+ "version": "2.17.1",
5
4
  "description": "Shareable Cross-Origin Learning Resources",
6
5
  "main": "index.html",
7
6
  "types": "lib/index.d.ts",
@@ -1 +0,0 @@
1
- export {};
@@ -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
- });