bloom-player 2.21.1-alpha.1 → 2.22.0-alpha.2
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/README.md +12 -2
- package/dist/{bloomPlayer.BP9VbJGB.js → bloomPlayer.CE5-ibq6.js} +28 -28
- package/dist/bloomplayer.htm +1 -1
- package/lib/shared.es.js +416 -413
- package/lib/shared.es.js.map +1 -1
- package/package.json +1 -1
- package/src/shared/dragActivityRuntime.ts +17 -2
package/README.md
CHANGED
|
@@ -61,9 +61,19 @@ Example: `showBackButton=true`
|
|
|
61
61
|
Default: `false`
|
|
62
62
|
|
|
63
63
|
> [!NOTE]
|
|
64
|
-
>
|
|
64
|
+
> If bloom-player is the top level window (e.g. in Bloom Reader), this button will be a left arrow. However if bloom-player is embedded in another page (e.g. in an iframe), it will show as an ellipsis, unless `backButtonIcon` says otherwise.
|
|
65
65
|
>
|
|
66
|
-
>
|
|
66
|
+
> The ellipsis is used in BloomLibrary.org when the user has used a link from somewhere else to jump directly into to reading a book. In that case, this button isn't really taking them "back", it's instead taking them to the "Detail" page for that same book on BloomLibrary.org.
|
|
67
|
+
>
|
|
68
|
+
> Either way, once the user has followed a link within the book to another page or book, the button is an arrow that returns them to where they came from.
|
|
69
|
+
|
|
70
|
+
#### backButtonIcon
|
|
71
|
+
|
|
72
|
+
Which icon to show on the button that `showBackButton` adds: `arrow` or `ellipsis`. Use this when embedding bloom-player in an iframe in an app whose back button really does go back, so it should be an arrow.
|
|
73
|
+
|
|
74
|
+
Example: `showBackButton=true&backButtonIcon=arrow`
|
|
75
|
+
|
|
76
|
+
Default: none (bloom-player chooses, as described under `showBackButton`)
|
|
67
77
|
|
|
68
78
|
#### lang
|
|
69
79
|
|