Flutter audioplayers plugin - how to play online radio from this link? - flutter

I am trying to use the audioplayers plugin in flutter to play the radio at the following link
https://video2b.vixtream.net/radio/v/fbcfm
I tried setting the url but that doesn't work.
I am not sure how to extract the streaming url and set it in the AudioPlayer.
Any help is appreciated.
Thanks

You can use flutter radio package. It will full fill your requirements. Check working flutter app here...
Source code

Related

Is it possible to create a custom share sheet in Flutter?

I want to build this custom share sheet shown in the screenshot depending on the apps that are on the mobile, could anyone tell me if it's possible? screenshot
i am currently using flutter's share_plus package, but the share method summons the platform's share sheet, is it possible to customize my own share sheet and use it for both platforms android and ios?
Using the Flutter Availability package you can customize this by styling BottomSheet from scratch. Still, this package is only for Android devices. Unfortunately, iOS does not provide any API to get the installed APPs information.
I guess You'll have to work with a modalBottomSheet and https://pub.dev/packages/url_launcher
You can check if an application is installed, but this would work only for android Is there any way to identify that a particular application is installed in my android/ios device through flutter and dart?

How to load and show a video file flutter web

I want to show a video in my website developed using flutter web, what the solution for this problem?
Note: Using video_player package doesn't work for file. VideoPlayerController.file() not implemented for flutter web.
Thx for help!

How to take screenshot using flutter agora plugin?

In current agora Flutter SDK, I can't able to take screenshot. Please guide is there is any API or workaround to take a screenshot using the agora plugin
I tried to take a screenshot using the screenshot plugin(https://pub.dev/packages/screenshot#-installing-tab). But it produces a blank screen image
Please guide to fix this
Agora Flutter SDK is using Surface View because of which you wont be able to take screenshot of the stream, as it will return with a black screen.
This is the workaround that I found for this: I used this package instead
to take the screenshot. I also have also written a sample code to illustrate agora flutter SDK and native_screenshot package. You can have a look here : https://github.com/Meherdeep/agora-videocall-demo
Note: This package is only supported for API version > 24

How to use flutter firebase_ml_vision plugin for live reading of characters or barcodes

Is firebase_ml_vision plugin supports live reading of characters or barcodes from the camera?
If no, how can I achieve this functionality?
Is it possible to use get output frames from the camera and use them with the plugin?
I think you can use Maurice’s MLkit demo. Both the firebase_ml_vision and camera plugins are provided in Maurice’s MLkit. repository link
Check out this tweet, He builded the same thing that you want using the same repo only.
tweet link
You can use https://pub.dev/packages/flutter_camera_ml_vision which basically start from Maurice's MlKit demo but put it

Is there a way to open other applications in flutter

I need to be able open other apps in my flutter application
In an application i am working on I need to be able to play videos however the video_player plugin in flutter only has play and pause options and there is chewie also however we don't have the option of pausing chewie with commands , so I am thinking of opening videos through other apps like vlc,MX players, etc. How do i open these apps in flutter.
Please take a look at the open_file plugin, it supports opening most of the file including videos.
Example usage:
Specify dependency in pubspec.yaml
dependencies:
open_file: ^1.1.1
then
import 'package:open_file/open_file.dart';
OpenFile.open(your_file_path);
Hope that helps!