@ct-player/embed 1.1.5 → 1.1.10
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/index.cjs +61 -51
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +12 -0
- package/dist/index.d.ts +12 -0
- package/dist/index.js +61 -51
- package/dist/index.js.map +1 -1
- package/dist/styles.css +1 -1
- package/dist/styles.css.map +1 -1
- package/package.json +1 -1
package/dist/index.d.cts
CHANGED
|
@@ -2134,6 +2134,16 @@ interface StreamingCoursePlayerProps {
|
|
|
2134
2134
|
onBuffering?: (isBuffering: boolean) => void;
|
|
2135
2135
|
/** Called when tool changes */
|
|
2136
2136
|
onToolChange?: (tool: string) => void;
|
|
2137
|
+
/** Go-Judge server URL */
|
|
2138
|
+
goJudgeUrl?: string;
|
|
2139
|
+
/** Go-Judge API key */
|
|
2140
|
+
goJudgeApiKey?: string;
|
|
2141
|
+
/** Show chapter markers */
|
|
2142
|
+
showChapters?: boolean;
|
|
2143
|
+
/** Called when entering interactive mode */
|
|
2144
|
+
onInteractionStart?: () => void;
|
|
2145
|
+
/** Called when exiting interactive mode */
|
|
2146
|
+
onInteractionEnd?: (code: string) => void;
|
|
2137
2147
|
}
|
|
2138
2148
|
/**
|
|
2139
2149
|
* Imperative handle for StreamingCoursePlayer
|
|
@@ -2146,6 +2156,8 @@ interface StreamingCoursePlayerRef {
|
|
|
2146
2156
|
getCurrentTime(): number;
|
|
2147
2157
|
getDuration(): number;
|
|
2148
2158
|
getState(): PlaybackState$1;
|
|
2159
|
+
enterInteractiveMode(): void;
|
|
2160
|
+
exitInteractiveMode(): void;
|
|
2149
2161
|
setActiveTool(tool: ActiveTool): void;
|
|
2150
2162
|
getManifest(): StreamingManifest | null;
|
|
2151
2163
|
getBufferHealth(): RemoteBufferHealth;
|
package/dist/index.d.ts
CHANGED
|
@@ -2134,6 +2134,16 @@ interface StreamingCoursePlayerProps {
|
|
|
2134
2134
|
onBuffering?: (isBuffering: boolean) => void;
|
|
2135
2135
|
/** Called when tool changes */
|
|
2136
2136
|
onToolChange?: (tool: string) => void;
|
|
2137
|
+
/** Go-Judge server URL */
|
|
2138
|
+
goJudgeUrl?: string;
|
|
2139
|
+
/** Go-Judge API key */
|
|
2140
|
+
goJudgeApiKey?: string;
|
|
2141
|
+
/** Show chapter markers */
|
|
2142
|
+
showChapters?: boolean;
|
|
2143
|
+
/** Called when entering interactive mode */
|
|
2144
|
+
onInteractionStart?: () => void;
|
|
2145
|
+
/** Called when exiting interactive mode */
|
|
2146
|
+
onInteractionEnd?: (code: string) => void;
|
|
2137
2147
|
}
|
|
2138
2148
|
/**
|
|
2139
2149
|
* Imperative handle for StreamingCoursePlayer
|
|
@@ -2146,6 +2156,8 @@ interface StreamingCoursePlayerRef {
|
|
|
2146
2156
|
getCurrentTime(): number;
|
|
2147
2157
|
getDuration(): number;
|
|
2148
2158
|
getState(): PlaybackState$1;
|
|
2159
|
+
enterInteractiveMode(): void;
|
|
2160
|
+
exitInteractiveMode(): void;
|
|
2149
2161
|
setActiveTool(tool: ActiveTool): void;
|
|
2150
2162
|
getManifest(): StreamingManifest | null;
|
|
2151
2163
|
getBufferHealth(): RemoteBufferHealth;
|