Quicktime movies won't play in iPhone

Discussion in 'iPhone Tips, Help and Troubleshooting' started by technekai, Apr 30, 2008.

  1. technekai macrumors newbie

    Joined:
    Feb 28, 2008
    #1
    hello, all,

    i used QuickTime 7.4.1 to convert a large .mov file into web movies for desktop (medium-sized .m4v), iphone on wifi (small-sized .m4v), and iphone on cellular (.3gp). i pasted in their auto-generated code to embed the movies in my web page, but Safari on the iPhone won't play them. here's the url to the web page:
    http://technekai.com/shadow/balcony.html

    and the direct link to the file, which plays just fine on a desktop browser:
    http://technekai.com/shadow/media/FromTheBalcony-iPhone-cell.3gp

    what's going on? is the Apple code bad?

    this is the code i used in the body of my web page:

    <script type="text/javascript"><!--
    QT_WritePoster_XHTML('Click to Play', 'images/FromTheBalcony-poster.jpg',
    'media/FromTheBalcony.mov',
    '320', '256', '',
    'controller', 'true',
    'autoplay', 'true',
    'bgcolor', 'black',
    'scale', 'aspect');
    //-->
    </script>
    <noscript>
    <object width="320" height="256" classid="clsid:02BF25D5-8C17-4B23-BC80-D3488ABDDC6B" codebase="http://www.apple.com/qtactivex/qtplugin.cab">
    <param name="src" value="images/FromTheBalcony-poster.jpg" />
    <param name="href" value="media/FromTheBalcony.mov" />
    <param name="target" value="myself" />
    <param name="controller" value="false" />
    <param name="autoplay" value="false" />
    <param name="scale" value="aspect" />
    <embed width="320" height="256" type="video/quicktime" pluginspage="http://www.apple.com/quicktime/download/"
    src="images/FromTheBalcony-poster.jpg"
    href="media/FromTheBalcony.mov"
    target="myself"
    controller="false"
    autoplay="false"
    scale="aspect"> </embed>
    </object>
    </noscript>


    and in the header i have:

    <script src="http://www.apple.com/library/quicktime/scripts/ac_quicktime.js" language="JavaScript" type="text/javascript"></script>
    <script src="http://www.apple.com/library/quicktime/scripts/qtp_library.js" language="JavaScript" type="text/javascript"></script>
    <link href="http://www.apple.com/library/quicktime/stylesheets/qtp_library.css" rel="StyleSheet" type="text/css" />


    anyone have a simpler solution?
    thank you,
    aya.
     
  2. technekai thread starter macrumors newbie

    Joined:
    Feb 28, 2008
    #2
    SOLVED - Quicktime movies now play in iPhone

    man, i feel like a moron. instead of using a relative path to my reference .mov quicktime movie, i used the full URL. no problem now. works just fine.

    ARRGH!
     
  3. Roxerroneous macrumors newbie

    Joined:
    Jan 9, 2008
    #3
    I've been running in to the same problem with my encoded videos and haven't been able to resolve my issues. I tried your video on my iPhone and it just showed the poster and didn't play the video, which is the problem I've experienced with my vids. Is it working for everyone else or is it just my phone? Any help would be appreciated.
     
  4. technekai thread starter macrumors newbie

    Joined:
    Feb 28, 2008
    #4
    oh but now it works fine on my laptop and iphone (whether on edge or wifi).

    when looking at the page on my iphone on edge, i do have to wait a bit for a small blue "play" icon to show up. but now everything is fine, as long as i use the full URL to my reference movie. my movies are not set to autoplay.
     
  5. Roxerroneous macrumors newbie

    Joined:
    Jan 9, 2008
    #5
    Hmmm, I just tried your movie again and still could not see anything other than your poster. It works fine on my computer and my iphone is using the same wireless connection as my laptop so I doubt loading the movie is an issue.

    I know my phone can play movies because the embedded movie on this page loads fine: http://www.geeksrus.com/2007/07/04/video-of-invisible-shield-on-my-iphone/
    I'm wondering why your movie will work on your phone but not mine. Do you mind me asking which firmware you are running? I'm on 1.1.4, so I doubt that's an issue unless apple has removed certain codecs in their firmware updates. Thanks for your help.
     
  6. technekai thread starter macrumors newbie

    Joined:
    Feb 28, 2008
    #6
    sorry! my bad! i have two pages on that site with video, and i had fixed one but not the "balcony" one. so thanks to you, both should be working. try it now?

    if you look at the source, note that in three places i use the full URL path to a file, not a relative path. that is the only change i made, and it seems to work on two different iphones, one with 2.0 firmware, and the other one with the firmware you have.
     
  7. Roxerroneous macrumors newbie

    Joined:
    Jan 9, 2008
    #7
    Thanks for your help! Your video now has the poster and the blue play arrow and putting the full URL for my video fixed my problems. Thanks again for taking the time to help.
     
  8. dausoner macrumors newbie

    Joined:
    Dec 18, 2008
    #8
    same problem

    I had a similar issue although it wasn't coding related it was related to how much free space is available on the iPhone. Seems like Apple set a limit on how much space needs to be available in order to play back quicktime vids from the web. Makes sense. So if you cant play back certain videos that you know you should be able to play back, check your available free space.
     
  9. AK55 macrumors newbie

    Joined:
    Feb 25, 2010
    #9
    Please Help!

    My iPhone won't play streaming QuickTime files through Safari. It wouldn't be as big of a deal if I had access to Internet right now but I don't and am gong crazy trying to figure out how to listen to this streaming radio broadcast. My fiancé has an iPhone too, and when he clicks and holds on this .mp3 download link to open it in a new page, the broadcast plays flawlessly through QuickTime. On my iPhone, the page comes up filled with a bizarre code/encryption. He said I need to clear everything, but I'm OCD about deleting unneeded bookmarks, e-mails, and clearing Safari's cache and such very often. So I dont know what else I could delete if there's some bug somewhere. When using Safari, the debug console is always counting numbers. I never thought anything of it because it's always done that since I got the phone. But my man says he doesn't have that problem either. Does anyone have any help, advice or tips for me? I'll greatly appreciate any. Thanks in advance!!

    -AK-
     

Share This Page