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

videoQuality cannot be empty #225

Open
nikunjshaligram opened this issue Aug 23, 2024 · 0 comments
Open

videoQuality cannot be empty #225

nikunjshaligram opened this issue Aug 23, 2024 · 0 comments

Comments

@nikunjshaligram
Copy link

var token = 'token';
final Map<String, String> headers = <String, String>{};
headers['Authorization'] = 'Bearer ${token}';

print("Video URL: ${widget.video.url}");
print("Headers: $headers");

_controller = PodPlayerController(
    playVideoFrom: PlayVideoFrom.vimeoPrivateVideos(
      '${widget.video.url}',
      httpHeaders: headers,
    ),
    podPlayerConfig: const PodPlayerConfig(
      autoPlay: true,
      isLooping: true,
    ))
  ..initialise().then((_) {
    print('PodPlayerController initialized successfully.');
  }).catchError((error) {
    print('Initialization error: $error');
  });

I have to implement this code but I get an error using pod player with vimeo url. Url worked in browser properly, but in mobile app side not work.

Initialization error: Exception: videoQuality cannot be empty

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