Skip to content

Commit d07a5de

Browse files
committed
feat: Add showSubtitlesPerDefault flag to control subtitles (#648)
Introduced `showSubtitlesPerDefault` in `ChewieController` to allow disabling subtitles by default. Updated controls to respect the flag and aligned behavior across platforms. Added documentation. Closes #648
1 parent 9b65ccf commit d07a5de

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

example/lib/app/app.dart

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -42,8 +42,8 @@ class _ChewieDemoState extends State<ChewieDemo> {
4242

4343
List<String> srcs = [
4444
"https://commondatastorage.googleapis.com/gtv-videos-bucket/sample/BigBuckBunny.mp4",
45-
'https://commondatastorage.googleapis.com/gtv-videos-bucket/sample/ElephantsDream.mp4',
46-
'https://commondatastorage.googleapis.com/gtv-videos-bucket/sample/ForBiggerBlazes.mp4',
45+
"https://commondatastorage.googleapis.com/gtv-videos-bucket/sample/ElephantsDream.mp4",
46+
"https://commondatastorage.googleapis.com/gtv-videos-bucket/sample/ForBiggerBlazes.mp4",
4747
];
4848

4949
Future<void> initializePlayer() async {

0 commit comments

Comments
 (0)