How to preview video thumbnails while scrubbing the progress bar in video_player(Flutter)? - flutter

I am building and VOD app, and trying to implement Youtube like on scrubbing showing thumbnails images for the relative time frame.
I have generated video thumbnails for every minute of total video length, now is there any way built in already to show these for HLS videos, or I need to build some custom solution for it?
If anyone has worked on this before would like some insights on it.

Related

Youtube video view in swift

Is there a way to present youtube videos in app other than using webView, I've tried YoutubePlayer_in_WKWebView and hasn't been working. webView works but I just want the video to be displayed, not the whole page.
You would have to obtain the actual video file if you want just the video to display without the rest of the YouTube page. While officially it's unethical to rip videos from YT, unofficially it's not that hard.

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.

How to make swf file smaller?

I'm trying to capture a video demo of my iPhone app so I can post it on Youtube.
I'm using Jing application (http://www.techsmith.com/jing/) for Mac, and was able to capture a video of the app. However, I looked at the resulting file size and it's 130MB!!! That's huge!
The video is 3:40 mins.
Any tips on how I can make the size of the file smaller, so that I can easily share it and post it on Youtube?
Thanks!!
Make the dimensions smaller, don't have a keyframe as every single frame, change the quality from best to good, same for audio (best to good), change the format. Isn't it kind of strange that you're posting a SWF movie for an iPhone app? Haha, anyway, hope this works!

MPMoviePlayerController overlay

I'm loading video from external URL in my iphone app. This loading takes few minutes as the control downloads the video. While the video is being downloaded, I would like to display a small snapshot of the video (separate png file) on top of the media player control. This would be similar to the youtube app which displays a snapshot while video is downloading and the snapshot goes off when playback starts.
Any hints as how this can be achieved?
regards,
D2
Just create a new UIImageView with your png, and [moveiPLayerController.view addSubview:myPNGImgView]; to display it. When the movie is loaded, then do a -removeSubview.