@goboss/web-video-player-sdk 1.0.0 → 1.0.5
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.d.ts +5 -0
- package/dist/index.js +19196 -444
- package/dist/index.js.map +1 -1
- package/dist/index.umd.js +43 -4
- package/dist/index.umd.js.map +1 -1
- package/package.json +4 -22
package/dist/index.d.ts
CHANGED
|
@@ -229,6 +229,8 @@ export declare interface PlayerInstance {
|
|
|
229
229
|
*/
|
|
230
230
|
export declare interface PlayerProps {
|
|
231
231
|
src: string;
|
|
232
|
+
autoplay?: boolean;
|
|
233
|
+
muted?: boolean;
|
|
232
234
|
chapters?: Chapter[];
|
|
233
235
|
keyMoments?: KeyMoment[];
|
|
234
236
|
subtitles?: SubtitleTrack[];
|
|
@@ -440,6 +442,8 @@ export declare const WebVideoPlayer: default_2.FC<WebVideoPlayerProps>;
|
|
|
440
442
|
|
|
441
443
|
declare interface WebVideoPlayerProps {
|
|
442
444
|
src: string;
|
|
445
|
+
autoplay?: boolean;
|
|
446
|
+
muted?: boolean;
|
|
443
447
|
chapters?: Chapter[];
|
|
444
448
|
keyMoments?: KeyMoment[];
|
|
445
449
|
subtitles?: SubtitleTrack[];
|
|
@@ -457,6 +461,7 @@ declare interface WebVideoPlayerProps {
|
|
|
457
461
|
enablePlaybackSpeed?: boolean;
|
|
458
462
|
enablePiP?: boolean;
|
|
459
463
|
enableFullscreen?: boolean;
|
|
464
|
+
autoFullscreen?: boolean;
|
|
460
465
|
subtitleStyle?: SubtitleStyle;
|
|
461
466
|
}
|
|
462
467
|
|