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.
@@ -3,14 +3,23 @@
3
3
 
4
4
  <!DOCTYPE html>
5
5
  <html>
6
- <head>
7
- <meta charset="UTF-8" />
8
- </head>
9
- <body style="background-color: #2e2e2e;">
10
- <div id="root"><span style="color: #d65649">Loading Bloom Player...</span></div>
11
- <script type="text/javascript" src="bloomPlayer-0d54c52a1125dd48c54d.min.js"></script></body>
12
- <!-- At build time, we insert a script tag pointing at bloomPlayer.min.js but with a hash created at build time,
13
- to avoid getting a stale version from a cache (while allowing us to cache it for a long time).
14
- It has a style sheet which sets the same color on the body, but it takes a while to fetch and load,
15
- so we reduce flicker by setting a background color explicitly. -->
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 International",
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": "16.14.0",
23
+ "node": "20.15.1",
23
24
  "yarn": "1.22.19"
24
25
  },
25
- "version": "2.7.0"
26
+ "version": "2.7.1-alpha.1"
26
27
  }