Safari on iPad has problem playing MP4s if it thinks it has a cached copy

This is a packet capture of an instance when an MP4 movie plays out in Safari on the iPad:
GET http://1.s3.amazonaws.com/1.mp4 HTTP/1.1
Host: 1.s3.amazonaws.com
User-Agent: Mozilla/5.0 (iPad; U; CPU OS 421 like Mac OS X; en-us) AppleWebKit/533.17.9 (KHTML, like Gecko) Version/5.0.2 Mobile/8C148 Safari/6533.18.5
Accept: application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/pn g,/;q=0.5
Accept-Language: en-us
Accept-Encoding: gzip, deflate
Connection: keep-alive
Proxy-Connection: keep-alive
HTTP/1.0 200 OK
x-amz-id-2: 5QhAFS6fvHTKzFnGR06ZVIZMx0/Npa7LbTpqZL/IKA2i/66/cbuMwuA8JQdATf
x-amz-request-id: F12FA7AB337CDDDB
Date: Tue, 21 Dec 2010 23:09:59 GMT
x-amz-meta-md5-hash: 27a69ce9609026e883f24bab474fb43e
Last-Modified: Mon, 29 Nov 2010 16:58:05 GMT
ETag: "27a69ce9609026e883f24bab474fb43e"
Accept-Ranges: bytes
Content-Type: video/mp4
Content-Length: 39528047
Server: AmazonS3
Connection: keep-alive
Proxy-Connection: keep-alive
GET http://1.s3.amazonaws.com/1.mp4 HTTP/1.1
Host: 1.s3.amazonaws.com
Range: bytes=0-1
Accept: /
Accept-Encoding: identity
Connection: keep-alive
User-Agent: AppleCoreMedia/1.0.0.8C148 (iPad; U; CPU OS 421 like Mac OS X; en_us)
Proxy-Connection: keep-alive
HTTP/1.0 206 Partial Content
x-amz-id-2: n7vKKunwCWZGdLy5od5nTUFUc+bp6dBV5BG5PjMS9Lqe0BFJIS3TAFRrJgIV3o68
x-amz-request-id: 7BB4FD6AC1F299B0
Date: Tue, 21 Dec 2010 23:10:00 GMT
x-amz-meta-md5-hash: 27a69ce9609026e883f24bab474fb43e
Last-Modified: Mon, 29 Nov 2010 16:58:05 GMT
ETag: "27a69ce9609026e883f24bab474fb43e"
Accept-Ranges: bytes
Content-Range: bytes 0-1/39528047
Content-Type: video/mp4
Content-Length: 2
Server: AmazonS3
Connection: keep-alive
Proxy-Connection: keep-alive
GET http://1.s3.amazonaws.com/1.mp4 HTTP/1.1
Host: 1.s3.amazonaws.com
Range: bytes=0-39528046
Accept: /
Accept-Encoding: identity
Connection: keep-alive
User-Agent: AppleCoreMedia/1.0.0.8C148 (iPad; U; CPU OS 421 like Mac OS X; en_us)
Proxy-Connection: keep-alive
HTTP/1.0 206 Partial Content
x-amz-id-2: r0O3sLqr3xPevFlVYaDnYzoBm4Sqkre73BbyNmHgF0gHA4vUxB/XreKxPOfUT2mY
x-amz-request-id: ADF5AD627BF658F8
Date: Tue, 21 Dec 2010 23:10:00 GMT
x-amz-meta-md5-hash: 27a69ce9609026e883f24bab474fb43e
Last-Modified: Mon, 29 Nov 2010 16:58:05 GMT
ETag: "27a69ce9609026e883f24bab474fb43e"
Accept-Ranges: bytes
Content-Range: bytes 0-39528046/39528047
Content-Type: video/mp4
Content-Length: 39528047
Server: AmazonS3
Connection: keep-alive
Proxy-Connection: keep-alive
This is a packet capture when a movie fails to play:
GET http://2.s3.amazonaws.com/2.mp4 HTTP/1.1
Host: 2.s3.amazonaws.com
User-Agent: Mozilla/5.0 (iPad; U; CPU OS 421 like Mac OS X; en-us) AppleWebKit/533.17.9 (KHTML, like Gecko) Version/5.0.2 Mobile/8C148 Safari/6533.18.5
Accept: application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/pn g,/;q=0.5
Accept-Language: en-us
Accept-Encoding: gzip, deflate
Connection: keep-alive
Proxy-Connection: keep-alive
HTTP/1.0 200 OK
x-amz-id-2: 20REtIp6hCFXDC2AkVLGTyNbrDAnEjrZQp1iMp4T6PHY7kyrXwkBtfMSiainhY
x-amz-request-id: 2BE016782AC16F0F
Date: Tue, 21 Dec 2010 23:14:30 GMT
Last-Modified: Tue, 30 Nov 2010 15:07:14 GMT
ETag: "9c2cfe7abdc0ad0b0ff173e7edcb13ec"
Accept-Ranges: bytes
Content-Type: video/mp4
Content-Length: 11660446
Server: AmazonS3
Connection: keep-alive
Proxy-Connection: keep-alive
GET http://2.s3.amazonaws.com/2.mp4 HTTP/1.1
Host: 2.s3.amazonaws.com
Range: bytes=0-1
Accept: /
Accept-Encoding: identity
Connection: keep-alive
User-Agent: AppleCoreMedia/1.0.0.8C148 (iPad; U; CPU OS 421 like Mac OS X; en_us)
If-Modified-Since: Tue, 30 Nov 2010 15:07:14 GMT
If-None-Match: "9c2cfe7abdc0ad0b0ff173e7edcb13ec"
Proxy-Connection: keep-alive
HTTP/1.0 304 Not Modified
x-amz-id-2: 89hVPJNDxUDdBlTufRKZhTUsJqghMad0l1msfxYtDvjO7mm2GSg0QTLYOMdovCtK
x-amz-request-id: E01D8F361061E50B
Date: Tue, 21 Dec 2010 23:14:30 GMT
Last-Modified: Tue, 30 Nov 2010 15:07:14 GMT
ETag: "9c2cfe7abdc0ad0b0ff173e7edcb13ec"
Server: AmazonS3
Connection: keep-alive
Proxy-Connection: keep-alive
GET http://2.s3.amazonaws.com/2.mp4 HTTP/1.1
Host: 2.s3.amazonaws.com
Range: bytes=0-11660445
Accept: /
Accept-Encoding: identity
Connection: keep-alive
User-Agent: AppleCoreMedia/1.0.0.8C148 (iPad; U; CPU OS 421 like Mac OS X; en_us)
Proxy-Connection: keep-alive
HTTP/1.0 206 Partial Content
x-amz-id-2: Eis7DCS0J1ZWeghfy4fLgSLc9CAtAeTMLnAfDbAXtioqxVNVLjXHd0KirxNDYLP9
x-amz-request-id: B32505FA1FEC1D8D
Date: Tue, 21 Dec 2010 23:14:31 GMT
Last-Modified: Tue, 30 Nov 2010 15:07:14 GMT
ETag: "9c2cfe7abdc0ad0b0ff173e7edcb13ec"
Accept-Ranges: bytes
Content-Range: bytes 0-11660445/11660446
Content-Type: video/mp4
Content-Length: 11660446
Server: AmazonS3
Connection: keep-alive
Proxy-Connection: keep-alive
These examples are from AmazonS3, but the same happens on Apache.
It looks like a problem with cacheing in Safari. The movie fails to play if Safari includes If-Modified-Since in the first byte range GET request and the server responds with a 304, Not Modified.
Has anyone encountered this problem and found a way to work around it?

I am not surprised at all by your reply!
I would do that, soon as I'm done with stretching/timing adjustment; thing was I was still 10 seconds from the end when it started acting up. But Just as a safe precaution in case it would do something like that I had already backed up a couple of times so thankfully I don't need to do it all over again!
So, you don't think that "set beat markers" (or something like that) can be locked to beats in MT? For example if I run the "Find and Mark" beats in EV and then use those beats to snap to the closest beat in MT, stretching the file as need be in order to get it there.. ? Maybe I'm dreaming out of this world.. Next time I'll have to force my clients to sing until they sing it dead on right!
Thanks for your response!

Similar Messages

  • Problem playing mp4 with StageVideo using Air 3.8 and 3.9

    I have spent days pulling my hair out trying to get a mp4 video to play on my iPad or iPhone using StageVideo. I have tried numerous examples on the web that all claim to work and none of them would work on my devices. Note I was testing with Air 3.9
    This morning I tried a sample someone had kindly uploaded to the web that had the Air settings set to Air 3.7 and wow and behold it works.
    Changing the version of Air to 3.8 or 3.9 stops it working. This is the case when testing in the Flash CS6 IDE and on the iPad.
    So is there a bug in Air 3.8 and 3.9 or has there been a change in how StageVideo is implenented?
    If anyone has managed to play mp4 using StageVideo and Air 3.8 or 3.9 please let me know and if you are able to paste the code even better.
    Here is a link to the example I am using
    http://01am.co.uk/comment/2

    Thank you for replying to my post. I am pleased I am not going mad and that it is not just me having these issues.
    When I displayed some debugging info on screen with regards the NetStatus events. I had the following scenario:
    NetStream.Play.Start
    NetStream.Buffer.Full
    NetStream.Play.Failed
    NetStream.Play.Stop
    I have not tested with Air 4.0 but sounds like this is also not working from reading the bug report. Seems a pretty major bug which is why I assumed I must be doing something wrong.
    Let me know if Air 3.7 works for you.

  • Safari for iPad has JavaScript issues with many sites

    Two sites I frequent, Slashdot and Digg, are real pains to use on the iPad. On Digg, you can't just tap a headline, it won't open. You have to hold the tap and open it in a new window.
    On Slashdot, when you click on a new headline, you jump up to the top of the page.
    These sites have other Ajax features that make using safari agony.
    Here's to hoping apple can get their iPad version of safari working like the desktop version.

    Report your problem to Apple here: http://www.apple.com/feedback/ipad.html

  • Safari 4.0.5. problems playing mp3 files.

    Hi,
    I'm having trouble playing mp3 files on my iWeb created website. When I use Safari (4.0.5) to browse, Safari does not display the player part of the mp3., and on my welcome page, it does not play the music that's set to autoplay.
    When I use Firefox to browse the same website, all mp3 files work fine, including the mp3 set to autoplay on the welcome page !
    I also tested browsing with Safari 4.0.4 running on OSX 10.5.8, (on another computer), and it works fine !
    I'm guessing this means something is buggy with Safari 4.0.5. running on OSX 10.6.3. or could it be something else ?
    Anyone notice this type of issues with Safari 4.0.5. ?
    Some feedback would be appreciated.
    Thanks.

    Thanks for confirming that you are experiencing a similar issue when using Safari 4.0.5 and try to play your mp3 files. As I mentioned earlier, Firefox displays, and plays the files perfectly !
    This must be some kind of bug in 4.0.5. that Apple needs to fix.
    I already sent Apple a bug report.
    By the way, I used another computer running OSX 10.5.8 and Safari 4.0.4 to test my site, and found no issue, Safari 4.0.4 works fine, it played the autoplay mp3 file, and displayed the mp3 player without any issues. Which seems to indicate that this is a Safari 4.0.5. issue.

  • Problem Playing MP4 Converted for iPhone via my iWeb on the iPhone

    Hi, I converted a video file in iTunes specifically for the iPhone (MP4). Then I uploaded it to my iWeb site and tried to view it on my iPhone via a WiFi connection. At first I got the QuickTime window and then it turned to a play button with a slash through it and nothing more happened. It's a 3MB file formatted for the iPhone being accessed from an Apple server. It otherwise plays fine in iTunes and when synched to the iPhone from the iPod. Why won't it play?
    Message was edited by: Woodwyn

    Restart the phone
    Turn LTE on/off
    Talk to Verizon

  • Safari is not playing mp4 videos in iPad 2 (iOS 7.0.4)

    Dear All,
    I am trying to play mp4 videos on Safari in iPad 2 (iOS 7.0.4). The video files are uploaded in AWS. Everything works fine with iPad Chrome Browser. My problem is the videos are not playing on Safari in iPad 2 (iOS 7.0.4). The same videos are uploaded in localhost are playing fine on Safari in iPad 2 (iOS 7.0.4).
    Let me know the solution if some one knows.
    Thanks,
    Muruganandhan K

    Hello, Setya Widya. 
    Thank you for visiting Apple Support Communities. 
    Since you are experiencing multiple issues with Apps that require internet, this sounds like you may have an issue with your Wi-Fi connection.  Try going through the steps in the first article. 
    iOS: Troubleshooting Wi-Fi networks and connections
    http://support.apple.com/kb/TS1398
    I would also attempt to update the device using iTunes on your computer and test accessing these applications after the update. 
    Update your iPhone, iPad, or iPod touch
    http://support.apple.com/kb/ht4623
    Cheers,
    Jason H. 

  • HTTP_REFERER header is missing in request for .mp4 from Safari on ipad or iphone

    I just discovered that when I have a .mp4 file embedded in my webpage and I visit that page using Safari on the iPad, the request for the .mp4 is missing the referer header.  This is a problem for me because I use URL Rewriting in my web.config file on IIS and I redirect requests (in which the HTTP_REFERER does not begin with my own domain name) to a no hotlink image.  Safari on the iphone4 does the same thing when I visit this page--the HTTP_REFERER header in the request for the .mp4 is empty.  I've had to turn my hotlinking protection for MP4 files off on my site in order for ipad/iphone to display the video on my page.  If the hotlink protection (i.e., rewrite rule in my web.config) is turned on, the video does not display.
    It seems like this would be a common issue because hotlink protection is commonly implemented in this manner.
    Is there something I am issing?  Some special way of preventing hotlinking and yet letting the mp4 content through to idevices?
    Thank You!

    I have the same issue with Safari, but with mp3 files not playing using a HTML5 player on my website. I have hotlink protection enabled and the audio plays on every other browser except Safari, so there's seems to be a problem playing any videos or mp3 files when hotlink protection is enabled.

  • Safari will not play .mp4 movies

    I upload a .mp4 movie to my server and Safari cannot play it. It displays a mass of numbers and such.
    I found an article online that says to add a .htaccess file to my server at the, infamous, "root level"... what's this guy smokin'??? Could this possibly work? Has anyone had a similar experience with Safari not playing .mp4 videos? (They play just fine in QT Player)
    Thanks

    If you are having problems playing MPEG4 video in Quicktime 7.4 (and Apple are aware that some users have had such problems) you should carefully check in
    /Library/Quicktime and
    /Library/Internet Plug-ins and
    Home/Library/Quicktime
    to check whether you have any third party plug-ins that are not completely up to date.
    Current versions of Flip4Mac and DiVX and Perian do NOT cause failure alone or in combination. However the one SPECIFIC extension that ALWAYS causes the failure alone or in groups is 3ivxMediaImp. All other 3ivx extensions DO work. Remove only that ONE SPECIFIC extension.
    Please try this and see if it fixes your problem with QT Player, the QT Firefox Plugin, and iTunes not playing MPEG4 files (including mp4 files).
    Older 3ivx and DivX components are often incompatible with new QuickTime versions and are, in many cases, obviated by component packs like Perian.
    This is not the only explanation for issues with MPEG4 file playback in QuickTime 7.4 and later, however. The issue with videos from democracynow.org and others, for instance, is the result of that content not complying with MPEG4 standards (namely that they use bogus track dimensions). QuickTime had previously ignored invalid track dimensions but this was changed in order to support properly authored anamorphic content.
    The recent update to QT 7.4.1 has fixed a number of issues but some problems are unavoidable when working with non-standards compliant content. The standards are important for many reasons including keeping hackers from manipulating improperly coded web pages.
    However, there is a workaround (also the basis for why those files will still play in iTunes): there are a few ways to trick QuickTime into ignoring the invalid track data. For instance, rename the files .3GP and they'll show up just fine.
    Post back if you want a list of the plug-ins you should have in order to play pretty much anything in Quicktime.

  • Hi there , I have Ipad 2. just upgraded to OS 5.1 and now cant transfer any videos to it. videos already stored can be played but when i try to copy any new video, it says that the video cannot be played by Ipad.I have tried mp4, mov, m4v but nothing play

    hi there , I have Ipad 2. just upgraded to OS 5.1 and now cant transfer any videos to it. videos already stored can be played but when i try to copy any new video, it says that the video cannot be played by Ipad.I have tried mp4, mov, m4v but nothing plays.

    Log in to the Developer forum. You will find instructions on how to install the lastest beta. Your problem is the beta you have installed has expired. All of them did on October 5; you will find hundreds of threads discussing this. If you have a beta it is assumed that you will continue as a beta tester, so a simple update using iTunes will not work.
    If you no longer want to be a beta tester install the GM 7.0.2 by restoring from iTunes using DFU mode.

  • Safari will not play mp4 over HTTPS

    Hello,
    I have a file, sample.html, which contains only the following code:
    <html> <body>
    <video width="600" autoplay loop poster="placeholder.jpg">
    <source src="sample.mp4" />
    </video>
    </body> </html>
    The mp4 file referenced is the one downloaded from here: http://support.apple.com/kb/HT1425
    When I use Safari to access my page via http://myserver.com/sample.html the video plays without problem.
    When I use Safari to access my page via https://myserver.com/sample.html only the placeholder image is displayed.
    Using Safari 7.0.6 on Mac OS X 10.9.4
    I have used http://www.sslshopper.com/ssl-checker.html to check that SSL is correctly configured for my domain and it reports no problems.
    How can I make the video play in Safari when accessed over https?
    Thanks in advance,
    Andy

    If you are having problems playing MPEG4 video in Quicktime 7.4 (and Apple are aware that some users have had such problems) you should carefully check in
    /Library/Quicktime and
    /Library/Internet Plug-ins and
    Home/Library/Quicktime
    to check whether you have any third party plug-ins that are not completely up to date.
    Current versions of Flip4Mac and DiVX and Perian do NOT cause failure alone or in combination. However the one SPECIFIC extension that ALWAYS causes the failure alone or in groups is 3ivxMediaImp. All other 3ivx extensions DO work. Remove only that ONE SPECIFIC extension.
    Please try this and see if it fixes your problem with QT Player, the QT Firefox Plugin, and iTunes not playing MPEG4 files (including mp4 files).
    Older 3ivx and DivX components are often incompatible with new QuickTime versions and are, in many cases, obviated by component packs like Perian.
    This is not the only explanation for issues with MPEG4 file playback in QuickTime 7.4 and later, however. The issue with videos from democracynow.org and others, for instance, is the result of that content not complying with MPEG4 standards (namely that they use bogus track dimensions). QuickTime had previously ignored invalid track dimensions but this was changed in order to support properly authored anamorphic content.
    The recent update to QT 7.4.1 has fixed a number of issues but some problems are unavoidable when working with non-standards compliant content. The standards are important for many reasons including keeping hackers from manipulating improperly coded web pages.
    However, there is a workaround (also the basis for why those files will still play in iTunes): there are a few ways to trick QuickTime into ignoring the invalid track data. For instance, rename the files .3GP and they'll show up just fine.
    Post back if you want a list of the plug-ins you should have in order to play pretty much anything in Quicktime.

  • Playing mp4 files on iPad

    Hi All, this a desperate cry for help before I finally junk my new iPad: I am currently enrolled in an online program running on the Adobe Connect platform. The multimedia files (mp4, pdf etc) can not play on the iPad despite several attempts. Any explanation to this and suggestion on what to do?

    You need an app to play those files....I am pretty sure. I play mp4 videos just fine on the app Goodplayer...the older version! The currently available Goodplayer app may not play mp4 files, since they had a dispute (exhorbitant fees) with Dolby, who banned their software use on Goodplayer and several other apps. I understand that there is an app available at the app store that has Dolby software, in that they collaborate with Dolby in some way. Be sure to check capabilities and limitations before you buy any such app. I don't know about pdf files.

  • My ipad has a safari crash

    my ipad has a safari crash report from a third party how do i repair this?

    Close Safari, double tap on home button then swipe up.  Go into Settings->Safari->Clear History & Website Data.  That will clear your cache.
    Now try opening Safari again to see if your problem is fixed.  Was the 'crash report' a pop-up window on a webpage?  Ignore it, it's not generated by your iPad.
    They do NOT work for Apple. 

  • Will Safari on iPad play mov files?

    From the forum I see iPad does not play mov format. Is this true with Safari on iPad too? Is there a plugin? Will the latest update fix this?
    Only recommendations I have seen on forum is convert to MP4. Not very helpful if browsing the Internet and it is not my content.

    Sorry

  • Only the safari element of the ipad has locked up, how do i restart

    I purchased my IPad 2 early August 2011 and it has developed a problem. All elements of the iPad are OK other than the SAFARI bit which has "locked up". How do I re-start?, any ideas anyone?

    Try clearing Safari's cache : Settings > Safari > Clear Cookies And Data (and Clear History)
    If that doesn't work then try closing Safari completely and then re-open it : from the home screen (i.e. not with Safari 'open' on-screen) double-click the home button to bring up the taskbar, then press and hold any of the apps on the taskbar for a couple of seconds or so until they start shaking, then press the '-' in the top left of the Safari app to close it, and touch any part of the screen above the taskbar so as to stop the shaking and close the taskbar.
    A third option is a reset : press and hold both the sleep and home buttons for about 10 to 15 seconds (ignore the red slider), after which the Apple logo should appear - you won't lose any content, it's the iPad equivalent of a reboot.

  • HLS plays on Mac Safari but not Windows Safari nor iPad

    Hi,
        I have the following code that plays on Mac Safari:
    <!DOCTYPE html>
    <html lang="en">
    <head>
    <meta charset="utf-8" />
    <title>Test HLS</title>
    </head>
    <body>
    <video controls width="480" height="270">
        <!-- <source  src="http://walterebert.com/playground/video/hls/sintel-trailer.m3u8"> -->
        <source  src="http://d1ckv7o9k6o3x9.cloudfront.net/d54cfa01-eff2-4e86-946e-dc8b2ee4a7e8/media/ hls/MVI_5927.m3u8">
    </video>
    </body>
    </html>
    The url can be cut/pasted into the browser and works also but neither this code nor the url works in Windows Safari or iPad
    http://d1ckv7o9k6o3x9.cloudfront.net/d54cfa01-eff2-4e86-946e-dc8b2ee4a7e8/media/ hls/MVI_5927.m3u8
    Versions of software:
    Mac Safari: Version 7.0.3 (9537.75.14) (works)
    Windows Safari: Version 5.1.7 (7534.7.2) (doesn't work - blank screen)
    iPad Safari: ios Version 7.1.1 (doesn't work - cannot decode)
    I'm creating the hls using ffmpeg lpgl with this command:
                                  $cmd = $this->ffmpegcmd .
                                            " -re -y -i ".$transcoded_mp4_file.
      " -map 0 ".
      " -f segment ".
                                            " -segment_list ".$transcoded_file.
      " -segment_list_flags +live ".
      " -segment_time 1 ".
      " -segment_list_type m3u8 ".$transcoded_hls_ts_file."%05d.ts".
      ' 2>&1';
    Any help is much appreciated.
    Regards,
    jt_dylan

    Do I have to embed the mp4's in an HTML5 wrapper just to play them from my disk?
    Yes.

Maybe you are looking for