Skip to content

Commit 7789f1f

Browse files
floodooprateekmedia
authored andcommitted
feat: Add showSubtitlesPerDefault flag to control subtitles (fluttercommunity#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 fluttercommunity#648
1 parent 440ecc3 commit 7789f1f

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)