Is it possible to share content(image, video, document, etc) through specific platform only in flutter? - flutter

I want to share content(image, audio, video, or document) to other platforms using sharing integration and I found one package for the same as share_pluse.
share_plus provides options for all platforms which are feasible to share the content(image, audio, video, or document). But in my case, I want to show only fix the number of platforms to users on which they can share the content.
So Is there any way using which we can fix the platform on which users can share the content?

Related

How can I handle multiple formats in a video player used in my flutter application for android/ios?

The backend api sends a link url to the video that can be used in the video player's source. But the issue is, the source can vary from m4v, mp4 and other potential formats. I want to support the major formats, if not all, in the app.
Backend is in Django. I am open to modify the api code as well.
If the video formats need conversion, suggest the fastest way with an ETA for a ~100MB file.
Tried video_player plugin from pub.dev. At worse, I am thinking of integrating flutter_ffmpeg but I don't want users to wait and ruin their UX.

Using Youtube as video storage for my app

I am still relatively new to these topics.
I am programming my app in Flutter and I can already use Flutter to play a foreign video from Youtube in the app.
I want to upload in Youtube all my video resources as private to be able to display them in my app.
Is there any documentation on how to do this? What are the costs per request?
Is Youtube even right for such a mobile app?`
I was going to use Firebase cloud storage, but think that can get very expensive once I release the app.
What other options would I have?
This question isn't really suitable for StackOverflow, since it's basically just asking whether you can use YouTube.
That being said, as long as you don't violate the T&C of YouTube and you're fine with storing all your videos on their platform, yes, you can do this. Using YouTube this way is free as of now. But note that there is a difference between "private" and "unlisted".
You can create a profile on youtube, upload as many videos as you want and list them as unlisted, meaning you can only find the video if you have the link, then in your app link the vides to whatever selection method you have. so ex I have a button when clicked launches a specific unlisted youtube url link and plays the video.
It would be the same as if someone was searching your video publicly and playing it, both are free.

[Flutter]How to download video to app, and make it accessible only through the app (Similarly to Youtube/Netflix)

i'm fairly new to Flutter and is currently working on a course app that requires downloading the videos to the app.
The downloaded video will only be accessible through the app just like Youtube and Netflix, and will be hidden/encrypted from gallery. Would greatly appreciate if someone if someone could point me in the right direction in building this feature.
On iOS and Android your app has it's own isolated folder for storing documents. Items stored there are not intended to be accessible to the user outside of your app. This folder isn't scanned by the Gallery or accessible to other apps on the device. (However, with a little effort a user can access the files so this is not a complete solution where security is an concern. You would need to add encryption if you didn't, say, want a motivated user to copy the video file to a PC and be able to play it.)
the path_provider plugin gives your Flutter app common file locations on a device. The private app folder location is retrieved with getApplicationDocumentsDirectory()
"Download video" is a vague requirement. Most video on the internet (Netflix, Youtube) is provided via HLS or DASH for streaming, which you do download but the video is split up into many files- sometimes thousands of files for a single video. The dart:http package is likely what you're going to want to use to get/download the files (unless the video files aren't available via HTTP/HTTPS, then you'll need a different transport-specific library, like FTP, RTSP, etc.)

I would like to know if I can create an ar experience using facebook that will play entire songs and videos?

I'm new to the Facebook AR studio and wanted to know if I can add entire songs and videos to a marker. And if that marker can be a simple logo or graphic.
AR Studio does not allow markers at this moment. As far as I know there is no information about when this feature will be available.
Regarding playing songs and videos, the only limitation I think you will find is the size of the effect. Facebook asks developers to limit the effect file size to 2MB.

How to control the playlist on yahoo webplayer?

I have a self hosted wordpress site. I have few posts with embedded mp3 files. I am using yahoo web player currently. It puts a little play icon in front of all the mp3 files. Now, if the user clicks on one of the play icon, it loads the playlist with all the mp3 files in that page/post.
Is it possible to let the user pick the songs that they want to add to the playlist?
I am thinking of placing a little '+' icon for all the mp3 files and hoping that Yahoo has the necessary provision in the API.
Does anyone know a place where i can get the details on the API? Google search was not of much help in this.
Thank you.
There is some level of customization available, but might not be enough for the changes you're looking for.
Here is the official documentation: http://webplayer.yahoo.com/docs/