@bendyline/squisq-react 2.11.18 → 2.11.20
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/THIRD_PARTY_LICENSES.txt +3 -3
- package/dist/{chunk-2VSD55NT.js → chunk-4HJBKCSY.js} +17 -10
- package/dist/{chunk-SVVPYDV3.js → chunk-7J4YN7EK.js} +1 -1
- package/dist/{chunk-PZCWGBRQ.js → chunk-DI7CKFRY.js} +4 -2
- package/dist/{chunk-63G5OJWY.js → chunk-HCKL2AFN.js} +11 -7
- package/dist/{chunk-PSAO2CTF.js → chunk-JEEBHC5W.js} +1 -1
- package/dist/{chunk-5FJZDX7H.js → chunk-LCBV2SE4.js} +169 -18
- package/dist/{chunk-2FZUFQO3.js → chunk-T7NVETOH.js} +176 -85
- package/dist/{chunk-L4LIIOU2.js → chunk-XQSZ55EQ.js} +1 -1
- package/dist/{chunk-CB2MCXJ6.js → chunk-Y4YCIMES.js} +14 -10
- package/dist/{chunk-QXZXQPL3.js → chunk-Z7OW6RGR.js} +1 -1
- package/dist/diagram-pictures/index.js +4 -4
- package/dist/hooks/index.js +2 -2
- package/dist/index.d.ts +3 -3
- package/dist/index.js +12 -10
- package/dist/json-view/index.js +4 -4
- package/dist/layers/index.js +3 -3
- package/dist/markdown/index.d.ts +22 -2
- package/dist/markdown/index.js +5 -3
- package/dist/page/index.js +7 -7
- package/dist/player/index.d.ts +1 -1
- package/dist/player/index.js +8 -8
- package/dist/{player-BCPc3Tv3.d.ts → player-xxe4LWQI.d.ts} +15 -3
- package/dist/squisq-player.full.global.js +457 -441
- package/dist/squisq-player.global.js +86 -71
- package/dist/standalone-player-full.js +1 -1
- package/dist/standalone-source.js +1 -1
- package/dist/styles/index.css +22 -0
- package/package.json +2 -2
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import {
|
|
2
2
|
BlockRenderer
|
|
3
|
-
} from "../chunk-
|
|
4
|
-
import "../chunk-
|
|
5
|
-
import "../chunk-
|
|
3
|
+
} from "../chunk-LCBV2SE4.js";
|
|
4
|
+
import "../chunk-DI7CKFRY.js";
|
|
5
|
+
import "../chunk-Z7OW6RGR.js";
|
|
6
6
|
import {
|
|
7
7
|
renderMermaidSvgForExport
|
|
8
|
-
} from "../chunk-
|
|
8
|
+
} from "../chunk-HCKL2AFN.js";
|
|
9
9
|
|
|
10
10
|
// src/export/diagramPictures.ts
|
|
11
11
|
import { createElement } from "react";
|
package/dist/hooks/index.js
CHANGED
|
@@ -6,7 +6,7 @@ import {
|
|
|
6
6
|
useDocPlayback,
|
|
7
7
|
useMediaSchedule,
|
|
8
8
|
useViewportOrientation
|
|
9
|
-
} from "../chunk-
|
|
9
|
+
} from "../chunk-7J4YN7EK.js";
|
|
10
10
|
import {
|
|
11
11
|
useAutoSurface
|
|
12
12
|
} from "../chunk-TT6ENR6T.js";
|
|
@@ -16,7 +16,7 @@ import {
|
|
|
16
16
|
useMediaProvider,
|
|
17
17
|
useMediaUrl,
|
|
18
18
|
useResourcePolicy
|
|
19
|
-
} from "../chunk-
|
|
19
|
+
} from "../chunk-HCKL2AFN.js";
|
|
20
20
|
export {
|
|
21
21
|
MediaContext,
|
|
22
22
|
ResourcePolicyContext,
|
package/dist/index.d.ts
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import { S as SquisqRenderAPI, V as VideoPresentation$1, P as PipSize, a as PipShape, b as PipPosition } from './player-
|
|
2
|
-
export { B as BlockMarker, c as BlockRenderer, C as CaptionMode, d as CaptionOverlay, e as CaptionPosition, f as CaptionStyle, g as ControlsLayout, D as DisplayMode, h as DocControlsBottom, i as DocControlsOverlay, j as DocControlsSidebar, k as DocControlsSlideshow, l as DocPlayer, m as DocPlayerProps, n as DocPlayerWithSidebar, o as DocProgressBar, F as FlashcardFaceView, p as FlashcardFaceViewProps, q as FlashcardView, r as FlashcardViewProps, I as InlineAudioPlayer, s as InlineAudioPlayerProps, t as InlineVideoPlayer, u as InlineVideoPlayerProps, M as MediaClipLayer, v as MediaClipLayerProps, w as PlaybackActions, x as PlaybackState, R as RenderAudioSegmentInfo, y as RenderBlockInfo, z as RenderCaptionInfo, A as RenderChapterInfo, E as RenderVideoFrameSelector, G as SlideNavActions, H as SocialCaptionOverlay, J as formatTime } from './player-
|
|
1
|
+
import { S as SquisqRenderAPI, V as VideoPresentation$1, P as PipSize, a as PipShape, b as PipPosition } from './player-xxe4LWQI.js';
|
|
2
|
+
export { B as BlockMarker, c as BlockRenderer, C as CaptionMode, d as CaptionOverlay, e as CaptionPosition, f as CaptionStyle, g as ControlsLayout, D as DisplayMode, h as DocControlsBottom, i as DocControlsOverlay, j as DocControlsSidebar, k as DocControlsSlideshow, l as DocPlayer, m as DocPlayerProps, n as DocPlayerWithSidebar, o as DocProgressBar, F as FlashcardFaceView, p as FlashcardFaceViewProps, q as FlashcardView, r as FlashcardViewProps, I as InlineAudioPlayer, s as InlineAudioPlayerProps, t as InlineVideoPlayer, u as InlineVideoPlayerProps, M as MediaClipLayer, v as MediaClipLayerProps, w as PlaybackActions, x as PlaybackState, R as RenderAudioSegmentInfo, y as RenderBlockInfo, z as RenderCaptionInfo, A as RenderChapterInfo, E as RenderVideoFrameSelector, G as SlideNavActions, H as SocialCaptionOverlay, J as formatTime } from './player-xxe4LWQI.js';
|
|
3
3
|
import { Theme, VideoPresentation, VideoPipSize, VideoPipShape, VideoPipPosition, MotionSpec, Doc, ScheduledClip, MediaProvider } from '@bendyline/squisq/schemas';
|
|
4
4
|
import { DashboardStyleId, ViewportConfig, CoverSlideTemplate, CoverSlidePlayback } from '@bendyline/squisq/doc';
|
|
5
5
|
export { getAnimationStyle, getTransitionClass } from '@bendyline/squisq/doc';
|
|
6
6
|
import { C as CodeBlockCopyHandler } from './MarkdownRenderer-CC9dOc6b.js';
|
|
7
7
|
export { a as CodeBlockCopyContext, M as MarkdownRenderer, b as MarkdownRendererProps } from './MarkdownRenderer-CC9dOc6b.js';
|
|
8
|
-
export { FenceRendererContext, MermaidDiagram, MermaidDiagramProps, useFenceRenderers } from './markdown/index.js';
|
|
8
|
+
export { FenceRendererContext, MermaidDiagram, MermaidDiagramProps, VideoEmbedFrame, VideoEmbedFrameProps, useFenceRenderers } from './markdown/index.js';
|
|
9
9
|
export { CanvasSection, CanvasSectionProps, ImageDisplayMode, LinearDocView, LinearDocViewProps, PageSectionView, PageSectionViewProps, PageViewContext, PageViewContextValue, PaginatedDocPage, PaginatedDocView, PaginatedDocViewProps, usePageView } from './page/index.js';
|
|
10
10
|
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
11
11
|
import { RefObject } from 'react';
|
package/dist/index.js
CHANGED
|
@@ -15,17 +15,17 @@ import {
|
|
|
15
15
|
formatTime,
|
|
16
16
|
resolveDocPlayerAppearance,
|
|
17
17
|
useMediaClipDurations
|
|
18
|
-
} from "./chunk-
|
|
18
|
+
} from "./chunk-Y4YCIMES.js";
|
|
19
19
|
import {
|
|
20
20
|
PaginatedDocView
|
|
21
|
-
} from "./chunk-
|
|
21
|
+
} from "./chunk-JEEBHC5W.js";
|
|
22
22
|
import {
|
|
23
23
|
CanvasSection,
|
|
24
24
|
LinearDocView,
|
|
25
25
|
PageSectionView,
|
|
26
26
|
PageViewContext,
|
|
27
27
|
usePageView
|
|
28
|
-
} from "./chunk-
|
|
28
|
+
} from "./chunk-4HJBKCSY.js";
|
|
29
29
|
import {
|
|
30
30
|
useModalDialog
|
|
31
31
|
} from "./chunk-65POMKHR.js";
|
|
@@ -34,11 +34,11 @@ import {
|
|
|
34
34
|
useDocPlayback,
|
|
35
35
|
useMediaSchedule,
|
|
36
36
|
useViewportOrientation
|
|
37
|
-
} from "./chunk-
|
|
37
|
+
} from "./chunk-7J4YN7EK.js";
|
|
38
38
|
import {
|
|
39
39
|
JsonView,
|
|
40
40
|
createJsonFormFenceRenderer
|
|
41
|
-
} from "./chunk-
|
|
41
|
+
} from "./chunk-XQSZ55EQ.js";
|
|
42
42
|
import {
|
|
43
43
|
useAutoSurface
|
|
44
44
|
} from "./chunk-TT6ENR6T.js";
|
|
@@ -48,12 +48,13 @@ import {
|
|
|
48
48
|
InlineAudioPlayer,
|
|
49
49
|
InlineVideoPlayer,
|
|
50
50
|
MarkdownRenderer,
|
|
51
|
+
VideoEmbedFrame,
|
|
51
52
|
useAnimatedImage,
|
|
52
53
|
useFenceRenderers
|
|
53
|
-
} from "./chunk-
|
|
54
|
+
} from "./chunk-T7NVETOH.js";
|
|
54
55
|
import {
|
|
55
56
|
BlockRenderer
|
|
56
|
-
} from "./chunk-
|
|
57
|
+
} from "./chunk-LCBV2SE4.js";
|
|
57
58
|
import {
|
|
58
59
|
ImageLayer,
|
|
59
60
|
MapLayer,
|
|
@@ -66,17 +67,17 @@ import {
|
|
|
66
67
|
VideoLayer,
|
|
67
68
|
getAnimationStyle,
|
|
68
69
|
getTransitionClass
|
|
69
|
-
} from "./chunk-
|
|
70
|
+
} from "./chunk-DI7CKFRY.js";
|
|
70
71
|
import {
|
|
71
72
|
MermaidDiagram
|
|
72
|
-
} from "./chunk-
|
|
73
|
+
} from "./chunk-Z7OW6RGR.js";
|
|
73
74
|
import {
|
|
74
75
|
MediaContext,
|
|
75
76
|
ResourcePolicyContext,
|
|
76
77
|
useMediaProvider,
|
|
77
78
|
useMediaUrl,
|
|
78
79
|
useResourcePolicy
|
|
79
|
-
} from "./chunk-
|
|
80
|
+
} from "./chunk-HCKL2AFN.js";
|
|
80
81
|
export {
|
|
81
82
|
AnimatedImageControls,
|
|
82
83
|
BlockRenderer,
|
|
@@ -114,6 +115,7 @@ export {
|
|
|
114
115
|
TableLayer,
|
|
115
116
|
TextLayer,
|
|
116
117
|
TreeLayer,
|
|
118
|
+
VideoEmbedFrame,
|
|
117
119
|
VideoLayer,
|
|
118
120
|
createJsonFormFenceRenderer,
|
|
119
121
|
formatTime,
|
package/dist/json-view/index.js
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import {
|
|
2
2
|
JsonView,
|
|
3
3
|
createJsonFormFenceRenderer
|
|
4
|
-
} from "../chunk-
|
|
4
|
+
} from "../chunk-XQSZ55EQ.js";
|
|
5
5
|
import "../chunk-TT6ENR6T.js";
|
|
6
|
-
import "../chunk-
|
|
7
|
-
import "../chunk-
|
|
8
|
-
import "../chunk-
|
|
6
|
+
import "../chunk-T7NVETOH.js";
|
|
7
|
+
import "../chunk-Z7OW6RGR.js";
|
|
8
|
+
import "../chunk-HCKL2AFN.js";
|
|
9
9
|
export {
|
|
10
10
|
JsonView,
|
|
11
11
|
createJsonFormFenceRenderer
|
package/dist/layers/index.js
CHANGED
|
@@ -8,9 +8,9 @@ import {
|
|
|
8
8
|
TextLayer,
|
|
9
9
|
TreeLayer,
|
|
10
10
|
VideoLayer
|
|
11
|
-
} from "../chunk-
|
|
12
|
-
import "../chunk-
|
|
13
|
-
import "../chunk-
|
|
11
|
+
} from "../chunk-DI7CKFRY.js";
|
|
12
|
+
import "../chunk-Z7OW6RGR.js";
|
|
13
|
+
import "../chunk-HCKL2AFN.js";
|
|
14
14
|
export {
|
|
15
15
|
ImageLayer,
|
|
16
16
|
MapLayer,
|
package/dist/markdown/index.d.ts
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
export { a as CodeBlockCopyContext, C as CodeBlockCopyHandler, M as MarkdownRenderer, b as MarkdownRendererProps } from '../MarkdownRenderer-CC9dOc6b.js';
|
|
2
2
|
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
3
3
|
import { Theme } from '@bendyline/squisq/schemas';
|
|
4
|
+
import { VideoEmbed } from '@bendyline/squisq/markdown';
|
|
4
5
|
import * as react from 'react';
|
|
5
6
|
import { FenceRendererMap } from '@bendyline/squisq/fence';
|
|
6
7
|
export { FenceRenderContext, FenceRenderer, FenceRendererMap } from '@bendyline/squisq/fence';
|
|
7
|
-
import '@bendyline/squisq/markdown';
|
|
8
8
|
|
|
9
9
|
interface MermaidDiagramProps {
|
|
10
10
|
source: string;
|
|
@@ -16,8 +16,28 @@ interface MermaidDiagramProps {
|
|
|
16
16
|
/** Read-only Mermaid rendering for page bodies and slide layers. */
|
|
17
17
|
declare function MermaidDiagram({ source, className, ariaLabel, theme, }: MermaidDiagramProps): react_jsx_runtime.JSX.Element;
|
|
18
18
|
|
|
19
|
+
interface VideoEmbedFrameProps {
|
|
20
|
+
/** The recognized video (`parseVideoEmbedUrl` / `findBlockVideoEmbed`). */
|
|
21
|
+
embed: VideoEmbed;
|
|
22
|
+
/**
|
|
23
|
+
* The author's label. Names the iframe for assistive tech and, when
|
|
24
|
+
* `showCaption` is on, renders beneath the player as a link to the page.
|
|
25
|
+
*/
|
|
26
|
+
title?: string | null;
|
|
27
|
+
/** Render the title as a caption linking to the watch page (default true). */
|
|
28
|
+
showCaption?: boolean;
|
|
29
|
+
/**
|
|
30
|
+
* Phrasing-content root (`<span>`, no caption) for a player nested in
|
|
31
|
+
* authored HTML, where a `<figure>` could land inside a `<p>`.
|
|
32
|
+
*/
|
|
33
|
+
inline?: boolean;
|
|
34
|
+
/** Extra className on the root element. */
|
|
35
|
+
className?: string;
|
|
36
|
+
}
|
|
37
|
+
declare function VideoEmbedFrame({ embed, title, showCaption, inline, className, }: VideoEmbedFrameProps): react_jsx_runtime.JSX.Element;
|
|
38
|
+
|
|
19
39
|
declare const FenceRendererContext: react.Context<FenceRendererMap | null>;
|
|
20
40
|
/** The ambient registry, or null when no provider wraps this subtree. */
|
|
21
41
|
declare function useFenceRenderers(): FenceRendererMap | null;
|
|
22
42
|
|
|
23
|
-
export { FenceRendererContext, MermaidDiagram, type MermaidDiagramProps, useFenceRenderers };
|
|
43
|
+
export { FenceRendererContext, MermaidDiagram, type MermaidDiagramProps, VideoEmbedFrame, type VideoEmbedFrameProps, useFenceRenderers };
|
package/dist/markdown/index.js
CHANGED
|
@@ -1,15 +1,17 @@
|
|
|
1
1
|
import {
|
|
2
2
|
FenceRendererContext,
|
|
3
3
|
MarkdownRenderer,
|
|
4
|
+
VideoEmbedFrame,
|
|
4
5
|
useFenceRenderers
|
|
5
|
-
} from "../chunk-
|
|
6
|
+
} from "../chunk-T7NVETOH.js";
|
|
6
7
|
import {
|
|
7
8
|
MermaidDiagram
|
|
8
|
-
} from "../chunk-
|
|
9
|
-
import "../chunk-
|
|
9
|
+
} from "../chunk-Z7OW6RGR.js";
|
|
10
|
+
import "../chunk-HCKL2AFN.js";
|
|
10
11
|
export {
|
|
11
12
|
FenceRendererContext,
|
|
12
13
|
MarkdownRenderer,
|
|
13
14
|
MermaidDiagram,
|
|
15
|
+
VideoEmbedFrame,
|
|
14
16
|
useFenceRenderers
|
|
15
17
|
};
|
package/dist/page/index.js
CHANGED
|
@@ -1,19 +1,19 @@
|
|
|
1
1
|
import {
|
|
2
2
|
PaginatedDocView
|
|
3
|
-
} from "../chunk-
|
|
3
|
+
} from "../chunk-JEEBHC5W.js";
|
|
4
4
|
import {
|
|
5
5
|
CanvasSection,
|
|
6
6
|
LinearDocView,
|
|
7
7
|
PageSectionView,
|
|
8
8
|
PageViewContext,
|
|
9
9
|
usePageView
|
|
10
|
-
} from "../chunk-
|
|
10
|
+
} from "../chunk-4HJBKCSY.js";
|
|
11
11
|
import "../chunk-TT6ENR6T.js";
|
|
12
|
-
import "../chunk-
|
|
13
|
-
import "../chunk-
|
|
14
|
-
import "../chunk-
|
|
15
|
-
import "../chunk-
|
|
16
|
-
import "../chunk-
|
|
12
|
+
import "../chunk-T7NVETOH.js";
|
|
13
|
+
import "../chunk-LCBV2SE4.js";
|
|
14
|
+
import "../chunk-DI7CKFRY.js";
|
|
15
|
+
import "../chunk-Z7OW6RGR.js";
|
|
16
|
+
import "../chunk-HCKL2AFN.js";
|
|
17
17
|
export {
|
|
18
18
|
CanvasSection,
|
|
19
19
|
LinearDocView,
|
package/dist/player/index.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { B as BlockMarker, c as BlockRenderer, C as CaptionMode, d as CaptionOverlay, f as CaptionStyle, g as ControlsLayout, D as DisplayMode, h as DocControlsBottom, i as DocControlsOverlay, j as DocControlsSidebar, k as DocControlsSlideshow, l as DocPlayer, m as DocPlayerProps, n as DocPlayerWithSidebar, o as DocProgressBar, F as FlashcardFaceView, p as FlashcardFaceViewProps, q as FlashcardView, r as FlashcardViewProps, I as InlineAudioPlayer, s as InlineAudioPlayerProps, t as InlineVideoPlayer, u as InlineVideoPlayerProps, M as MediaClipLayer, v as MediaClipLayerProps, b as PipPosition, a as PipShape, P as PipSize, w as PlaybackActions, x as PlaybackState, R as RenderAudioSegmentInfo, y as RenderBlockInfo, z as RenderCaptionInfo, A as RenderChapterInfo, G as SlideNavActions, H as SocialCaptionOverlay, S as SquisqRenderAPI, V as VideoPresentation, J as formatTime } from '../player-
|
|
1
|
+
export { B as BlockMarker, c as BlockRenderer, C as CaptionMode, d as CaptionOverlay, f as CaptionStyle, g as ControlsLayout, D as DisplayMode, h as DocControlsBottom, i as DocControlsOverlay, j as DocControlsSidebar, k as DocControlsSlideshow, l as DocPlayer, m as DocPlayerProps, n as DocPlayerWithSidebar, o as DocProgressBar, F as FlashcardFaceView, p as FlashcardFaceViewProps, q as FlashcardView, r as FlashcardViewProps, I as InlineAudioPlayer, s as InlineAudioPlayerProps, t as InlineVideoPlayer, u as InlineVideoPlayerProps, M as MediaClipLayer, v as MediaClipLayerProps, b as PipPosition, a as PipShape, P as PipSize, w as PlaybackActions, x as PlaybackState, R as RenderAudioSegmentInfo, y as RenderBlockInfo, z as RenderCaptionInfo, A as RenderChapterInfo, G as SlideNavActions, H as SocialCaptionOverlay, S as SquisqRenderAPI, V as VideoPresentation, J as formatTime } from '../player-xxe4LWQI.js';
|
|
2
2
|
export { a as CodeBlockCopyContext, C as CodeBlockCopyHandler } from '../MarkdownRenderer-CC9dOc6b.js';
|
|
3
3
|
import 'react/jsx-runtime';
|
|
4
4
|
import '@bendyline/squisq/schemas';
|
package/dist/player/index.js
CHANGED
|
@@ -12,20 +12,20 @@ import {
|
|
|
12
12
|
MediaClipLayer,
|
|
13
13
|
SocialCaptionOverlay,
|
|
14
14
|
formatTime
|
|
15
|
-
} from "../chunk-
|
|
16
|
-
import "../chunk-
|
|
17
|
-
import "../chunk-
|
|
15
|
+
} from "../chunk-Y4YCIMES.js";
|
|
16
|
+
import "../chunk-4HJBKCSY.js";
|
|
17
|
+
import "../chunk-7J4YN7EK.js";
|
|
18
18
|
import "../chunk-TT6ENR6T.js";
|
|
19
19
|
import {
|
|
20
20
|
InlineAudioPlayer,
|
|
21
21
|
InlineVideoPlayer
|
|
22
|
-
} from "../chunk-
|
|
22
|
+
} from "../chunk-T7NVETOH.js";
|
|
23
23
|
import {
|
|
24
24
|
BlockRenderer
|
|
25
|
-
} from "../chunk-
|
|
26
|
-
import "../chunk-
|
|
27
|
-
import "../chunk-
|
|
28
|
-
import "../chunk-
|
|
25
|
+
} from "../chunk-LCBV2SE4.js";
|
|
26
|
+
import "../chunk-DI7CKFRY.js";
|
|
27
|
+
import "../chunk-Z7OW6RGR.js";
|
|
28
|
+
import "../chunk-HCKL2AFN.js";
|
|
29
29
|
export {
|
|
30
30
|
BlockRenderer,
|
|
31
31
|
CaptionOverlay,
|
|
@@ -327,6 +327,8 @@ interface DocPlayerProps {
|
|
|
327
327
|
*/
|
|
328
328
|
declare function DocPlayer(props: DocPlayerProps): react_jsx_runtime.JSX.Element;
|
|
329
329
|
|
|
330
|
+
type VideoEmbedMode = 'player' | 'poster' | 'placeholder';
|
|
331
|
+
|
|
330
332
|
/** Viewport configuration type */
|
|
331
333
|
interface ViewportDimensions {
|
|
332
334
|
width: number;
|
|
@@ -363,8 +365,14 @@ interface BlockRendererProps {
|
|
|
363
365
|
tableContentRenderer?: TableLayerContentRenderer;
|
|
364
366
|
/** Grow all slide text by one shared factor without overflow or new overlap. */
|
|
365
367
|
growTextToFit?: boolean;
|
|
368
|
+
/**
|
|
369
|
+
* How hosted-video layers (YouTube, Vimeo, …) draw: a live `player`, a
|
|
370
|
+
* `poster` (default — thumbnails and previews never load a player), or a
|
|
371
|
+
* `placeholder` poster with no remote thumbnail, for frame capture.
|
|
372
|
+
*/
|
|
373
|
+
videoEmbeds?: VideoEmbedMode;
|
|
366
374
|
}
|
|
367
|
-
declare function BlockRenderer({ block, blockTime, basePath, isEntering, isExiting, transition, viewport, isPlaying, muted, animationsEnabled, theme, tableContentRenderer, growTextToFit, }: BlockRendererProps): react_jsx_runtime.JSX.Element;
|
|
375
|
+
declare function BlockRenderer({ block, blockTime, basePath, isEntering, isExiting, transition, viewport, isPlaying, muted, animationsEnabled, theme, tableContentRenderer, growTextToFit, videoEmbeds, }: BlockRendererProps): react_jsx_runtime.JSX.Element;
|
|
368
376
|
|
|
369
377
|
interface CaptionOverlayProps {
|
|
370
378
|
/** Caption track with timestamped phrases */
|
|
@@ -534,8 +542,10 @@ interface InlineVideoPlayerProps {
|
|
|
534
542
|
preload?: 'none' | 'metadata' | 'auto';
|
|
535
543
|
/** Extra className on the wrapper. */
|
|
536
544
|
className?: string;
|
|
545
|
+
/** Accessible name — a markdown reference's alt text; `<video>` has no `alt`. */
|
|
546
|
+
label?: string;
|
|
537
547
|
}
|
|
538
|
-
declare function InlineVideoPlayer({ src, basePath, width, height, poster, controls, preload, className, }: InlineVideoPlayerProps): react_jsx_runtime.JSX.Element | null;
|
|
548
|
+
declare function InlineVideoPlayer({ src, basePath, width, height, poster, controls, preload, className, label, }: InlineVideoPlayerProps): react_jsx_runtime.JSX.Element | null;
|
|
539
549
|
|
|
540
550
|
interface InlineAudioPlayerProps {
|
|
541
551
|
/** Source path — resolved through MediaContext when relative. */
|
|
@@ -548,8 +558,10 @@ interface InlineAudioPlayerProps {
|
|
|
548
558
|
preload?: 'none' | 'metadata' | 'auto';
|
|
549
559
|
/** Extra className on the wrapper. */
|
|
550
560
|
className?: string;
|
|
561
|
+
/** Accessible name — a markdown reference's alt text; `<audio>` has no `alt`. */
|
|
562
|
+
label?: string;
|
|
551
563
|
}
|
|
552
|
-
declare function InlineAudioPlayer({ src, basePath, controls, preload, className, }: InlineAudioPlayerProps): react_jsx_runtime.JSX.Element | null;
|
|
564
|
+
declare function InlineAudioPlayer({ src, basePath, controls, preload, className, label, }: InlineAudioPlayerProps): react_jsx_runtime.JSX.Element | null;
|
|
553
565
|
|
|
554
566
|
interface MediaClipLayerProps {
|
|
555
567
|
schedule: ScheduledClip[];
|