bloom-player 2.7.0 → 2.7.1-alpha.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/dist/bloomPlayer-BCtMre73.css +1 -0
- package/dist/bloomPlayer.CZi2ZBi9.js +8062 -0
- package/dist/bloomplayer.htm +19 -10
- package/package.json +4 -3
- package/dist/bloomPlayer-0d54c52a1125dd48c54d.min.js +0 -116
- /package/dist/{right_answer-913c37e88e2939122d763361833efd24.mp3 → right_answer-XEe3HakR.mp3} +0 -0
- /package/dist/{wrong_answer-f96cfc1e0cc2cea2dd523d521d4c8738.mp3 → wrong_answer-BhCi5k6f.mp3} +0 -0
package/dist/bloomplayer.htm
CHANGED
|
@@ -3,14 +3,23 @@
|
|
|
3
3
|
|
|
4
4
|
<!DOCTYPE html>
|
|
5
5
|
<html>
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
6
|
+
|
|
7
|
+
<head>
|
|
8
|
+
<meta charset="UTF-8" />
|
|
9
|
+
<!-- At build time, we replace this with the actual css file -->
|
|
10
|
+
<link rel="stylesheet" href="bloomPlayer-BCtMre73.css">
|
|
11
|
+
</head>
|
|
12
|
+
|
|
13
|
+
<!-- About the background-color here... the bloomPlayer.js will set the background color
|
|
14
|
+
but since it takes a while to fetch and load, we reduce flicker by setting a background color explicitly. -->
|
|
15
|
+
|
|
16
|
+
<body style="background-color: #2e2e2e;">
|
|
17
|
+
<div id="root"><span style="color: #d65649">Loading Bloom Player...</span></div>
|
|
18
|
+
|
|
19
|
+
<!-- At build time, we replace the target of this script tag to point at the
|
|
20
|
+
the bloom player bundle with the cache-busting hash in its name. -->
|
|
21
|
+
<script src="bloomPlayer.CZi2ZBi9.js"></script>
|
|
22
|
+
</body>
|
|
23
|
+
|
|
24
|
+
|
|
16
25
|
</html>
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "bloom-player",
|
|
3
3
|
"description": "A library for displaying Bloom books in iframes or WebViews",
|
|
4
|
-
"author": "SIL
|
|
4
|
+
"author": "SIL Global",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"private": false,
|
|
7
7
|
"// sideeffects might need to be ['*.css'] to avoid 'shaking' our CSS, if we ever get tree shaking working": "",
|
|
@@ -10,6 +10,7 @@
|
|
|
10
10
|
"type": "git",
|
|
11
11
|
"url": "https://github.com/BloomBooks/bloom-player.git"
|
|
12
12
|
},
|
|
13
|
+
"type": "module",
|
|
13
14
|
"files": [
|
|
14
15
|
"dist/*.js",
|
|
15
16
|
"dist/bloomplayer.htm",
|
|
@@ -19,8 +20,8 @@
|
|
|
19
20
|
"dist/*.tsv"
|
|
20
21
|
],
|
|
21
22
|
"volta": {
|
|
22
|
-
"node": "
|
|
23
|
+
"node": "20.15.1",
|
|
23
24
|
"yarn": "1.22.19"
|
|
24
25
|
},
|
|
25
|
-
"version": "2.7.
|
|
26
|
+
"version": "2.7.1-alpha.1"
|
|
26
27
|
}
|