Wednesday, May 30, 2012

Re: MediaView Videos and Safari on iPad

Okay, I found a solution in case somebody else finds this entry:
so iPad and iPhone use Range Requests to request Videos and the default MediaView doesn't support this. I wrote my own View Class based on the Appendix A in following Article: http://mobiforge.com/developing/story/content-delivery-mobile-devices
I hope to find the time to clean up and release the code.

Am Donnerstag, 24. Mai 2012 17:57:48 UTC+2 schrieb Max D:
Hi,

Cake: 2.0.3

I'm using MediaView to deliver videos to the user. This works great on
Firefox, Safari and on my Android Phone but when I try to use it with
mobile Safari on an iPad, the video can't be played. I have a hard
time debugging on the iPad, the only message I get in console is:
"QuickTime, Movie could not be played."
When I put one of the videos in the (public) webroot and load it with
the iPad, the video plays just fine, so it's not a codec problem but
has to with the way MediaView delivers the video.

This is the Code I use: http://pastebin.com/WSFks88U
I tried using "download => true", but it did nothing.

One thing I noticed is, that the Video is requested by a different
User-Agent called "AppleCoreMedia".

Anybody has experience with MediaView, Videos and an iPad?

Thanks in advance.
Max

--
Our newest site for the community: CakePHP Video Tutorials http://tv.cakephp.org
Check out the new CakePHP Questions site http://ask.cakephp.org and help others with their CakePHP related questions.
 
 
To unsubscribe from this group, send email to
cake-php+unsubscribe@googlegroups.com For more options, visit this group at http://groups.google.com/group/cake-php

No comments: