Video format

Discussion in 'iOS Programming' started by Abu Rayane, Sep 24, 2014.

  1. Abu Rayane macrumors member

    Joined:
    Sep 23, 2014
    #1
    Hello everybody,

    I tried to watch MP4 files on my iPhone, but it does NOT work, is there any specifications that should be present to watch these videos?

    Thanks in advance
     
  2. PhoneyDeveloper macrumors 68040

    PhoneyDeveloper

    Joined:
    Sep 2, 2008
    #2
  3. Abu Rayane thread starter macrumors member

    Joined:
    Sep 23, 2014
  4. Cromulent macrumors 603

    Cromulent

    Joined:
    Oct 2, 2006
    Location:
    The Land of Hope and Glory
    #4
    You should probably use H.264 for the video codec if you want it to work in as many places as possible. Including in just about all browsers, iOS, Android and many other devices.
     
  5. Abu Rayane thread starter macrumors member

    Joined:
    Sep 23, 2014
    #5
    Basically, I use H.264, but still did not get it to work
     
  6. dejo Moderator

    dejo

    Staff Member

    Joined:
    Sep 2, 2004
    Location:
    The Centennial State
    #6
    Please provide more specifics on how "it does not work". What are your results vs. what you expect? Are you getting errors? If so, what do they say? If it's crashing, what do the crash reports say?

    P.S. I suggest you read the following blog article from Mike Ash on Getting Answers.
     
  7. Abu Rayane thread starter macrumors member

    Joined:
    Sep 23, 2014
    #7
    There is no error, it shows a blank area where the video is located, you can see an example here
     
  8. dejo Moderator

    dejo

    Staff Member

    Joined:
    Sep 2, 2004
    Location:
    The Centennial State
    #8
    So, you're just asking how to do this for a web page, then. Hmm, I suggest you ask your question in the Web Design and Development forum instead.
     
  9. Abu Rayane thread starter macrumors member

    Joined:
    Sep 23, 2014

Share This Page