Skip to content

Commit

Permalink
turn on volume when video plays
Browse files Browse the repository at this point in the history
  • Loading branch information
alextran1502 committed Aug 29, 2024
1 parent 744bf50 commit f5aeba7
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions mobile/lib/pages/common/native_video_viewer.page.dart
Original file line number Diff line number Diff line change
Expand Up @@ -147,6 +147,7 @@ class NativeVideoViewerPage extends HookConsumerWidget {

void onPlaybackReady() {
controller.value?.play();
controller.value?.setVolume(0.9);
}

void onPlaybackPositionChanged() {
Expand Down
4 changes: 2 additions & 2 deletions mobile/pubspec.lock
Original file line number Diff line number Diff line change
Expand Up @@ -1746,10 +1746,10 @@ packages:
dependency: transitive
description:
name: vm_service
sha256: "5c5f338a667b4c644744b661f309fb8080bb94b18a7e91ef1dbd343bed00ed6d"
sha256: f652077d0bdf60abe4c1f6377448e8655008eef28f128bc023f7b5e8dfeb48fc
url: "https://pub.dev"
source: hosted
version: "14.2.5"
version: "14.2.4"
wakelock_plus:
dependency: "direct main"
description:
Expand Down

0 comments on commit f5aeba7

Please sign in to comment.