From 51049c5eed5859ff052a1a29b37a78d2a53d2402 Mon Sep 17 00:00:00 2001 From: Michele Pozzi <123.mpozzi@gmail.com> Date: Wed, 23 Oct 2024 14:20:46 +0200 Subject: [PATCH] Update notes now that android is supported as well --- src/playbackConfig.ts | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/playbackConfig.ts b/src/playbackConfig.ts index 70a5748e..57093778 100644 --- a/src/playbackConfig.ts +++ b/src/playbackConfig.ts @@ -47,6 +47,7 @@ export interface PlaybackConfig { * When set to `true`, also make sure to properly configure your app to allow * background playback. * + * @note * On tvOS, background playback is only supported for audio-only content. * * Default is `false`. @@ -54,12 +55,11 @@ export interface PlaybackConfig { * @example * ``` * const player = new Player({ - * { + * playbackConfig: { * isBackgroundPlaybackEnabled: true, - * } - * }) + * }, + * }); * ``` - * @platform iOS, tvOS */ isBackgroundPlaybackEnabled?: boolean; /**