Skip to content

Commit

Permalink
add comments
Browse files Browse the repository at this point in the history
  • Loading branch information
maximencko committed Sep 4, 2021
1 parent 07bb826 commit c3fb34d
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 11 deletions.
7 changes: 3 additions & 4 deletions audio_service/example/lib/video_player_example.dart
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,8 @@
// //
// // https://github.com/ryanheise/audio_service
// //
// // This example implements a minimal audio handler that renders the current
// // This example implements a minimal audio handler which use video player and
// // renders the current
// // media item and playback state to the system notification and responds to 4
// // media actions:
// //
Expand All @@ -15,7 +16,7 @@
// //
// // To run this example, use:
// //
// // flutter run
// // flutter run -t lib/video_player_example.dart
//
// import 'dart:async';
//
Expand All @@ -27,8 +28,6 @@
// // You might want to provide this using dependency injection rather than a
// // global variable.
// late VideoPlayerHandler _audioHandler;
// // NOTE:
// // To run this example you need to
//
// Future<void> main() async {
// _audioHandler = await AudioService.init(
Expand Down
15 changes: 8 additions & 7 deletions audio_service/example/pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,18 +9,19 @@ dependencies:
flutter:
sdk: flutter

path_provider: ^2.0.1
audio_session: ^0.1.5
just_audio: ^0.7.5
flutter_tts: ^3.0.0
# comment flutter_tts and uncomment this to use video_player_example
# video player has conflict with packages above so
# comment them and related code and uncomment this to use video_player_example
# TODO use normal video player dependency when pull request is accepted(will add link soon)
# video_player:
# git:
# url: https://github.com/surfstudio/plugins.git
# ref: surf-video-player-2
# path: packages/video_player/video_player
video_player:
git:
url: https://github.com/surfstudio/plugins.git
ref: surf-video-player-2
path: packages/video_player/video_player
rxdart: ^0.27.0
path_provider: ^2.0.1
audio_service:
path: ../

Expand Down

0 comments on commit c3fb34d

Please sign in to comment.