mirror of
https://github.com/zhigang1992/DefinitelyTyped.git
synced 2026-05-10 09:40:21 +08:00
fix: update autoplay types to boolean or string. (#27838)
This commit is contained in:
committed by
Sheetal Nandi
parent
fb1b2554a8
commit
271b8f20c0
6
types/video.js/index.d.ts
vendored
6
types/video.js/index.d.ts
vendored
@@ -3760,9 +3760,9 @@ declare namespace videojs {
|
||||
*
|
||||
* @return The current value of autoplay when getting
|
||||
*/
|
||||
autoplay(value?: boolean): void;
|
||||
autoplay(value?: boolean | string): void;
|
||||
|
||||
autoplay(): boolean;
|
||||
autoplay(): boolean | string;
|
||||
|
||||
/**
|
||||
* Create a remote {@link TextTrack} and an {@link HTMLTrackElement}. It will
|
||||
@@ -4559,7 +4559,7 @@ declare namespace videojs {
|
||||
|
||||
interface PlayerOptions extends ComponentOptions {
|
||||
aspectRatio?: string;
|
||||
autoplay?: boolean;
|
||||
autoplay?: boolean | string;
|
||||
controlBar?: ControlBarOptions | false;
|
||||
textTrackSettings?: TextTrackSettingsOptions;
|
||||
controls?: boolean;
|
||||
|
||||
Reference in New Issue
Block a user