iPad Video Playback only delivers audio, not visuals - iphone

Recently we've developed an iPhone app for an external company, and everything works fine in the app.
There is a section where the app pulls video from the client's server, and streams it into the iPhone's MPMoviePlayerController. This works fine on the iPhone and iPodTouch - both the video and the audio show up just great.
The problem, however, is that when the app is run on an iPad (using the iPad's iPhone simulator thingo that it does) only the audio plays, and no video can be seen.
Does anybody have any suggestions about what may be causing this? I thought perhaps it was the encoding, but then why would this prevent the video from playing on the iPad, and not the iPhone?

Use mpmovieplayerviewcontroller instead, you might find it works better.Here is a link to the ref http://developer.apple.com/iphone/library/iPad/index.html#documentation/mediaplayer/reference/mpmovieplayerviewcontroller_class/reference/reference.html

Related

iOS video not playing in mobile safari

I have this really annoying problem that I cannot seem to solve.
We have some short clips on our server that we are trying to view via mobile safari. The weird thing is that we are able to view the movie on mobile safari when our iPhones are on 3g, and not when we are on WiFi.
It gets weirder that we are able to view the movie sometimes on wifi and not other times.
Here is the link in question:
http://bit.ly/Za0xBA
Why would the link play via 3g and not via wifi? Are there some settings in there that would be stopping? We even tried to wireshark the connection via the iOS simulator and what was going on and it looks like the video is downloading fine.
This is driving us nuts!

Youtube embedded video will only have audio when iPhone not muted

I'm developing a mobile website which includes Youtube embedded videos, I am doing this through the <iframe> tag:
<iframe src="http://www.youtube.com/embed/videoID" frameborder="0" width="560" height="315"></iframe>
The video embeds OK, and plays as expected, but when the iPhone has the silent switch to Muted, no audio comes out, (with headphones the audio is OK). Whenever I un-mute the iPhone, the speakers work fine and the Youtube video works perfectly...
Is there a way I can override the iPhone silent switch so that the speakers play the video even when the iPhone is muted?
Many apps, including the native Youtube app work fine with the speakers even when the iPhone is muted, since these are all user-initiated audio events...
No, Apple allows it's users to have this option to respect their privacy. There are times when everyone needs to have their phones be silent. iPhone wouldn't be much of a phone if it didn't allow that.

How can I embed a video on my website in order to work on an iPhone and what video format is required?

I have seen several sites where they are able to create links to videos and they actually open on the video player of the iPhone, iPad or iPod.
This is obviously not a flash player video, and they don't seem to be embedded from youtube.
So I was wondering how can I add a video on my site that can be opened on an iPhone, and also what type of format is required for this?
Thanks
HTML5 Video works on iOS devices, see http://html5video.org
and here is a decent player plugin
http://videojs.org

MPMoviePlayerController Streaming Video won't play Audio

I'm streaming video to my app with MPMoviePlayerController, works great in Simulator and my device, but one of my beta testers devices won't play the audio. Audio controls won't appear, and instead, show the following image:
Any idea what is going on? Thanks in advance!!
The beta testers phone was on vibrate... dummy.

How do I choose a video from UIImagePickerController on iPhone 3G?

On my iPhone 3G I have a couple videos saved from emails and some apps i recored with and every time I try and open the UIImagePickerController it doesn't show the videos for me to choose. How do I get the UIImagePickerController to include videos and not just pictures?
You can't, not on the iPhone 3G. For reasons only known to the gods at Apple, almost all video functionality is disabled on the 3G though it can support it perfectly fine.