Skip to content

Commit

Permalink
修复移动网络无法播放问题
Browse files Browse the repository at this point in the history
  • Loading branch information
SDL committed Jun 24, 2022
1 parent bcd6f63 commit b4dfcda
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@
import com.dueeeke.videoplayer.controller.GestureVideoController;
import com.dueeeke.videoplayer.controller.IControlComponent;
import com.dueeeke.videoplayer.player.VideoView;
import com.dueeeke.videoplayer.player.VideoViewManager;
import com.github.tvbox.osc.R;

import java.util.Map;
Expand All @@ -32,6 +33,7 @@ public class BoxVideoController extends GestureVideoController implements View.O

public BoxVideoController(@NonNull Context context) {
this(context, null);
VideoViewManager.instance().setPlayOnMobileNetwork(true);
}

public BoxVideoController(@NonNull Context context, @Nullable AttributeSet attrs) {
Expand Down

0 comments on commit b4dfcda

Please sign in to comment.