How to programmatically make an embedded video player play in fullscreen? - facebook

I am using the Embedded Video Player to add a video to a website. The video is contained within a small container. Therefore, I would like to provide alternative UI for starting the video in a fullscreen mode.
How to programmatically start video in an embedded video player in fullscreen?, i.e. equivalent to user hitting "Fullscreen" button on the video player itself.

Related

Move across multiple video controller

I am trying to use video_player package to play multiple videos continuously. I am using VideoProgressIndicator which allows scrubbing in a video. I am able to move across the video which is currently playing but how to detect that user tapped on another video and update the current video player controller to that video.
And also how do i move the second video controller to the position where user tapped. (Seek to functionality is available in video_player but at which position i need to take the controller to?)
I want to move the video controller to second video controller and the second video should start playing from the position where user tapped.
Refer the video timeline at bottom with scrubber

How to stop the camera movie player stop playing the captured video after selecting to use it?

Hi this is what I am trying to do:
open Camera
capture a new video
use it
create a MPMoviePlayerController to get the thumbnail and duration of the selected video.
All the above steps work FINE if I don't play the new video after capturing it in the Camera, however as soon as I play the video in the camera movie player, and while the video is being played then I click on 'Use' button, it will crash my app in the area of where I try to create a MPMoviePlayerController to get the thumbnail and duration of the selected video. I believe you cannot have more than 1 instance of movie player running.
Anyone got any idea how to fix this?

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.

Accessing iPhone native video player that opens instead of HTML5 video

Annoyingly, when you have an HTML5 video on an HTML page, loaded inside an UIWebView, it opens the native player to play that video when you finally press the play button.
Is there a way to access that native player so I can either override the aspect ratio or hide the controls?
I tried checking all of the views that were added to my UIWebView, but that didn't get me anywhere.
Cheers
Maybe you could intercept the click on video inside your UIWebView and starts the native player pointing it to the video url.
In this way you have full control on the video player.

Customizing the screen of Movieplayer in iPhone

I've few doubts regarding movie player app
How can I customize the screen size. I want only video or movie to be played only to half the screen and I want to add custom controls buttons to the remaining half of movie player.
In movie player example overlay view is there but how to change the name of the button and label in that and I'm unable to do that.
The MPMovePlayer UI cannot be modified. It plays fullscreen video, and provides the default controls. There's currently no way to do what you need in the official iPhone SDK.
Use this link for video player customization:
https://developer.apple.com/library/ios/samplecode/MoviePlayer_iPhone/Introduction/Intro.html#//apple_ref/doc/uid/DTS40007798
download sample code and modify accordingly.