How can I get more control on embedded video in Flutter? - flutter

I want to play videos on my Flutter application. So I have implemented flutter_inappwebview and gave it a initial URL like this:
initialUrlRequest: URLRequest(
url: Uri.parse(state.selectedOption!.url!)),
It does show video and play it well. But I have no control on this video. For example I want to implement "Skip Intro", "Continue Where i Left Off" features but I cannot do that because I dont have control on video player. Since I want to show embedded videos only, I cannot use video_player package. It doesn't support embedded videos (as far as I know). How can How can I get more control on embedded video?

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.

Flutter embed Apple Podcasts iframe in both web and iOS/Android

How do I go about embedding Apple's Podcast player in both iOS/Android and web? I would like the embedded player to play audio when pressed on 'play' button as well as size it dynamically (based on MediaQuery).
When I try the WebView widget in Android, I find that it essentially behanves like a small browser window inside the app and I am not able to play the audio at all.
Thanks!

Tips on using webview to play an embedded Flash movie

I've tried (without success) to get a video to play within a webview. I can see the video thumbnail with the default play button overlaying the video.
When I click the play button - the entire video hi-lights in transparent yellowish/orange. Clicking play again causes the Play button to blink. The thumbnail always remains, but never plays. I can even see the timeline below the video with the play-head, etc. I can never touch the video controls, because every click treats the entire video like one big button - and hi-lights like mentioned above.
They are numerous videos to be played and they are not at YouTube, so launching the YT player with an intent isn't desired.
I'm using SDK 8 (2.2), runing on a 2.3.6 device, and Have the latest Flash Player 11.xxxxx installed.
Any suggestions?
Took another approach in the app.

Adding a YouTube video to my application

I am trying to embed a YouTube video in my application, and I am going through this tutorial as a start. I get the red screen when I run it on the stimulator, so I presume everything went well.
Now when the user taps on the screen while the video is playing I need a toolbar to appear, with a slider showing the length of the video (and the user could slide to his/her desired time on the video).
I need to know if this feature comes by default when you embed the YoutTube video, or do i have to code it? If i have to code it how should i do it? Any sample codes or tutorial?
The only way to show a YouTube video in an iOS app is by having it inside a UIWebView (that is what the tutorial walks you through). Once the user taps the "play" button, the video should go full screen and automatically present the standard video controls that you see when you play videos on iOS.
Youtube provides the HTML code for embedding videos in web pages. This HTML code will also produce a video when embedded in a UIWebView. While the video is playing, all of the standard Youtube video controls (Play, Pause, Time Slider) should also show up in the UIWebView.

Can you play a <video> inside the page with Safari iPhone?

I would like to play a video from inside the rendered page with an iPhone/Safari.
When I put a <video>, it's always opened and played in a separate full-screen Quicktime window. Is there a way to play the video directly from the page?
(a similar question Play video not in full screen mode suggests it's not possible)
Yes, it's possible to play video within the browser, but as you said, in the Quicktime fullscreen application, and the HTML5 sound API is not available (in iPhone OS 3.x).
But in the coming iPhone OS 4, it will be possible (used for iAd), so you will have to wait until this summer (or play with the beta SDK now).
No, with the current SDK compatible media will always play in full screen and there is no way to avoid that.