Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Short Video player is not support ios and Android? #234

Open
pen110 opened this issue Aug 29, 2023 · 0 comments
Open

Short Video player is not support ios and Android? #234

pen110 opened this issue Aug 29, 2023 · 0 comments

Comments

@pen110
Copy link

pen110 commented Aug 29, 2023

I run flick-video-player-master [example-lib] this project,
VideoPlayerController.contentUri is only supported on Android.
'package:video_player/video_player.dart':
Failed assertion: line 328 pos 16: 'defaultTargetPlatform == TargetPlatform.android'

The relevant error-causing widget was:
Container
Container:file:///Users/panxin/Downloads/flick-video-player-master/example/lib/short_v
ideo_player/short_video_player/short_video_player.dart:49:18

When the exception was thrown, this was the stack:
#2 new VideoPlayerController.contentUri
(package:video_player/video_player.dart:328:16)
#3 _FlickMultiPlayerState.initState
(package:example/short_video_player/short_video_player/multi_manager/flick_multi_player.
dart:34:33)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant