I'm developing an iPad magazine App.
While researching other apps I thought the GQ one was the best.
I would like to implement a similar custom movie player in my app. It would include a Play button, pause button, stop button, and slidebar along with the player.
I'm looking for ideas on how GQ implements a player like this or how I may go about creating my own.
MPMoviePlayerController
UIButton
UISlider
Related
Sorry for squeezing two questions into one, just figured those may be related and with respect to the DB storage at SO...
I am trying to find out a way to add the iphone camera native zoom slider as well as something similar to the youtube app player controller. I am guessing that the youtube one may be a custom button or something, but did not find a way to add the zoom slider.
I would like to add those two as overlay to a camera view that I am using within the app.
You could extract the UIKit artwork with https://github.com/0xced/UIKit-Artwork-Extractor.For the movie player controls you could use three UIButton and one UISlider.For the camera control you could subclass UIControl or UISlider.
I'm thinking of a way to include a demo of how my iPhone app works along with the app. I need to demonstrate how one of my on-screen GMGridView controls works.
Is it possible to record or programmatically create a set of long press, touches moved, touches ended events and then invoke them on the interface?
I would suggest this:
Add a visual tap effect when you press the screen Record yourself
using the App on the simulator using a screen capture Add in a video
player at the tutorial screen that shows how to use the app
Or create a UIView animation doing the above steps if you rather not add a video player.
A great way to this is SIKULI tool. You can automate the demo work flows easily : http://sikuli.org/
I am creating an app that plays a video. This video is promotional material for a company. It details some of their products. What I want to do is create a button that can "jump" to a specific product. If you click the Product A button, you can jump to the section of the video about Product A.
I've got a basic (and I mean basic) knowledge of how MPMoviePlayerController works, but I don't know how to customise it yet. Can this custom button work and if so how?
Cheers
Yes just add them to the MPMoviePlayerController's view property (thats if you are not using it fullscreen like me: Unable to add overlay to MPMoviePlayerController in SDK 4.1)
Not sure what to call this, but I'd like to offer a way for users to pick and control their music from within my app. I've seen a few apps that offer an "iPod" button that appears to bring up the iPod app. Is this a built in control like the UIImagePickerController or have they simply duplicated all the functionality?
Check out the MediaPlayer framework. In particular, you're talking about the MPMediaPickerController
What I'm doing in Couch to 5k is inserting a UIView with a toolbar, labels, and an image view. The toolbar has the standard buttons for controlling the iPod music player. Then I'm using MPMusicPlayerController to control the iPod music playback.
Here's some sample code to get the iPod music player and what's playing:
musicPlayer = [MPMusicPlayerController iPodMusicPlayer];
item = musicPlayer.nowPlayingItem;
And then I register for NSNotification using the code provided in Apple's documentation on MPMusicPlayerController.
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.