Skip to content

Commit

Permalink
do not stop if reach end
Browse files Browse the repository at this point in the history
same as video_player_avfoundation
  • Loading branch information
wang-bin committed Oct 22, 2023
1 parent d3c3db2 commit 0dcafc3
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lib/src/video_player_mdk.dart
Original file line number Diff line number Diff line change
Expand Up @@ -192,6 +192,7 @@ class MdkVideoPlayerPlatform extends VideoPlayerPlatform {
final player = MdkVideoPlayer();
_log.fine('$hashCode player${player.nativeHandle} create($uri)');

player.setProperty("keep_open", "1");
player.setProperty('avio.protocol_whitelist',
'file,rtmp,http,https,tls,rtp,tcp,udp,crypto,httpproxy,data,concatf,concat,subfile');
_playerOpts?.forEach((key, value) {
Expand Down

0 comments on commit 0dcafc3

Please sign in to comment.