Open nikunjshaligram opened 3 months ago
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
var token = 'token'; final Map<String, String> headers = <String, String>{}; headers['Authorization'] = 'Bearer ${token}';
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