Keep video playing when app goes to the background and show player controller in the notification - flutter

Want this feature in flutter (android/IOS)
I want to keep the video playing when an app goes to the background and shows a player controller in the notification.
Is this possible?

You can try this library https://pub.dev/packages/just_audio with the latest version 0.9.21. It's quite easy to configure though some features are still experimental e.g Simultaneous downloading+caching, Background play which are here Experimental features. Overall it works for me.

Related

How to show video player when the application is in minimised

I am making a video streaming application. I want my application to show the video player in a tiny window when the app is minimised while playing like amazon prime app.Is there any way to implement this
This feature is known as pictures in picture mode. I used this plugin pip_flutter to implement this feature.

Can I avoid the native fullscreen video player in Jwplayer on iPhone

I came across this ans to avoid fullscreen video player in iPhone.Can we use this module to create video player custom controls.
I have using jwplayer and have own custom video controls (fast forward/backward, transcript, slow/fast, volume control, fullscreen).This controls gets hidden in iPhone and native iPhone video player is shown.
Is there any way to avoid this iphone fullscreen and still bring own custom controls.
Can this module be used for jwplayer? to bring own custom video control with jwplayer.
I have not seen that particular library in use with our player, so you're more than able to try it - but I cannot guarantee any success, nor can we provide support for its use.
With that being said, iOS 10 is slated to bring inline video playback to Safari for iPhone and the good news is our player is already set up in the way it needs to take advantage of this. Obviously, iOS 10 is in beta and not final yet so things are subject to change, but this is good news for those customers looking for inline video playback in Safari on iPhone.

recording a conversation on tokbox for iphone/ipad

I tried using the following code from http://codethink.no-ip.org/wordpress/archives/673 then putting it into the The OpenTokHello sample app from OpenTok and it appears to not actually record the video as I thought it would.
I made the ScreenCaptureView the new "superview" of everything and then made sure that the video streaming views would be added to that view. And when I played the video, the place where the streaming video should've been, was blank.
Any ideas on what I'm doing wrong?
Full disclosure: I wrote some of the OpenTok iOS SDK and work for TokBox.
The implementation of this ScreenCaptureView might not work with our SDK because all of our video rendering is done outside the context of UIView. You'd have to grab the rendering layer of the view in order to recover that part of the screen.
Depending on why you're trying to record the conversation, I recommend either
Using screen capture in QuickTime and running your app in simulator (easier)
Waiting for OpenTok archiving support on iOS which will be available in a few months (also easy, but not for the impatient)
Capturing the rendering output of the subscriber from CoreGraphics (less easy)

Play splash movie every time app launch (with multi-task support)

the app I'm working on supports iOS multi-task feature by default, and I want to stick with this.
Upon app launch, a splash movie clip is played (code is in AppDelegate), after user hits the home button, and re-launches the app, I want to the same splash movie be played before showing the last view where use was.
I know by switching off the multi-task support, I can achieve this, but in the meanwhile, I'm losing the multi-task support feature, and I need to write code to save/resume user states. So, is there any workaround for this? thanks!
You could try the app delegate's applicationDidBecomeActive: method but quite frankly I'd consider this to be user hostile behaviour. Who wants to see a movie every time they switch between apps? The point of multitasking on the iPhone is to quickly change between apps and this violates that.

Playing video in a Customview like iPad feature

When we call MPMoviePlayerController.play method, the movie player is opened and the video is played in a separate full screen. is it possible to play a video in a custom view, that is I have an image added on a view, when this image is clicked, the image has to be removed and the video has to play there itself as the feature in iPad.
Non-full screen playback of video is possible in iPhone OS 3.2 for iPad.
If you are porting an application that uses the MPMoviePlayerController class of the Media Player framework, you must change your code if you want it to run in iPhone OS 3.2. The old version of this class supports only full-screen playback using a simplified interface. The new version supports both full- and partial-screen playback and offers you more control over various aspects of the playback.
On the full-screen question, see this section of the iPad Programming Guide for further information, and this property of MPMoviePlayerController specifically.
Bear in mind that you can still only play one video at a time, and that this is only currently possible for iPad.
Not using MPMoviePlayerController, no.
You might be able to achieve this using a custom movie player, but I haven't seen one in the wild yet, and I don't know how it would be done.