@@ -38,6 +38,7 @@ export type ReactVideoSourceProperties = {
|
||||
cmcd?: Cmcd; // android
|
||||
textTracksAllowChunklessPreparation?: boolean;
|
||||
textTracks?: TextTracks;
|
||||
ad?: AdConfig;
|
||||
};
|
||||
|
||||
export type ReactVideoSource = Readonly<
|
||||
@@ -73,6 +74,11 @@ export enum DRMType {
|
||||
FAIRPLAY = 'fairplay',
|
||||
}
|
||||
|
||||
export type AdConfig = Readonly<{
|
||||
adTagUrl?: string;
|
||||
adLanguage?: ISO639_1;
|
||||
}>;
|
||||
|
||||
export type Drm = Readonly<{
|
||||
type?: DRMType;
|
||||
licenseServer?: string;
|
||||
@@ -276,7 +282,9 @@ export interface ReactVideoProps extends ReactVideoEvents, ViewProps {
|
||||
/** @deprecated Use source.drm */
|
||||
drm?: Drm;
|
||||
style?: StyleProp<ViewStyle>;
|
||||
/** @deprecated Use source.ad.adTagUrl */
|
||||
adTagUrl?: string;
|
||||
/** @deprecated Use source.ad.adLanguage */
|
||||
adLanguage?: ISO639_1;
|
||||
audioOutput?: AudioOutput; // Mobile
|
||||
automaticallyWaitsToMinimizeStalling?: boolean; // iOS
|
||||
|
||||
Reference in New Issue
Block a user