Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
## 3.0.1
* Fix a bug on Android with URL parsing. See (https://github.com/solid-software/flutter_vlc_player/issues/52),
credits to pharshdev (https://github.com/pharshdev) and Mitch Ross (https://github.com/mitchross)

## 3.0.0
* Migrated to Swift, thanks to Mitch Ross (https://github.com/mitchross),
Amadeu Cavalcante (https://github.com/amadeu01) and pharshdev (https://github.com/pharshdev).
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -165,7 +165,7 @@ public void onMethodCall(MethodCall methodCall, @NonNull MethodChannel.Result re
vout.attachViews();

String initStreamURL = methodCall.argument("url");
Media media = new Media(libVLC, Uri.parse(Uri.decode(initStreamURL)));
Media media = new Media(libVLC, Uri.parse(initStreamURL));
mediaPlayer.setMedia(media);

result.success(null);
Expand All @@ -178,7 +178,7 @@ public void onMethodCall(MethodCall methodCall, @NonNull MethodChannel.Result re

mediaPlayer.stop();
String newURL = methodCall.argument("url");
Media newMedia = new Media(libVLC, Uri.parse(Uri.decode(newURL)));
Media newMedia = new Media(libVLC, Uri.parse(newURL));
mediaPlayer.setMedia(newMedia);

result.success(null);
Expand Down
2 changes: 1 addition & 1 deletion example/android/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ buildscript {
}

dependencies {
classpath 'com.android.tools.build:gradle:3.6.1'
classpath 'com.android.tools.build:gradle:3.6.3'
}
}

Expand Down
2 changes: 1 addition & 1 deletion pubspec.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
name: flutter_vlc_player
description: A VLC-powered alternative to Flutter's video_player. Supports multiple players on one screen.
version: 3.0.0
version: 3.0.1
homepage: https://github.com/solid-software/flutter_vlc_player

environment:
Expand Down