bloom-player 2.20.3-alpha.1 → 2.21.0
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.BAVrzru3.js → bloomPlayer.CDiYXJvB.js} +21 -21
- package/dist/bloomplayer.htm +1 -1
- package/lib/narration.d.ts +2 -0
- package/lib/shared.es.js +342 -338
- package/lib/shared.es.js.map +1 -1
- package/package.json +1 -1
- package/src/shared/dragActivityRuntime.ts +15 -41
- package/src/shared/narration.ts +22 -5
package/dist/bloomplayer.htm
CHANGED
|
@@ -18,7 +18,7 @@
|
|
|
18
18
|
|
|
19
19
|
<!-- At build time, we replace the target of this script tag to point at the
|
|
20
20
|
the bloom player bundle with the cache-busting hash in its name. -->
|
|
21
|
-
<script src="bloomPlayer.
|
|
21
|
+
<script src="bloomPlayer.CDiYXJvB.js"></script>
|
|
22
22
|
</body>
|
|
23
23
|
|
|
24
24
|
|
package/lib/narration.d.ts
CHANGED
|
@@ -40,6 +40,8 @@ export declare const ToggleImageDescription: LiteEvent<boolean>;
|
|
|
40
40
|
export declare function setIncludeImageDescriptions(b: boolean): void;
|
|
41
41
|
export declare function playAllSentences(page: HTMLElement | null, canvasToExclude?: HTMLElement): void;
|
|
42
42
|
export declare function playAllAudio(elements: HTMLElement[], page: HTMLElement): void;
|
|
43
|
+
export declare function getNarrationFileName(id: string, element: Element | null | undefined): string;
|
|
44
|
+
export declare function currentAudioUrl(id: string, element?: Element | null): string;
|
|
43
45
|
export declare function abortNarrationPlayback(): void;
|
|
44
46
|
export declare function pageHasAudio(page: HTMLElement): boolean;
|
|
45
47
|
export declare function playNarration(): void;
|