2

So, someone asked me this question today, and I am very curious about the answer. This person wants to put up a video on a website, and wants it to be viewable on both the iPad and on PCs. They don't mind providing two links, but they seemed to lean slightly more to the idea of having one link. Plus, I am very curious to the answer.

Also, they were telling me how when they go to YouTube to view a video, they can view it regardless of accessing the video from their iPad or a computer. I told them that this is because YouTube has multiple versions / formats of a video and shows you the format best suitable for your device. Was that answer correct? And being that one video on YouTube can be accessed / viewed regardless of device, I am not sure if this person has any kind of opposition to posting the video on YouTube.

Assuming they do though, I have these questions:

1) If I were to put a direct link to a video on a website for people to view (using whatever default player is available on their device to play videos) or download, and I want that one video to be viewable regardless of the device accessing it, what's the best video format / extension to use--flv, mp4, etc.?

2) If I wanted to go a step further and use my own embedded video player, what's the best one to use, best in the sense that it can be viewed on as many platforms as possible, especially the iPad and personal computers? I see the jw player used on lots of sites. I don't have an iPad though, so I can't test it.

  • MOV is the most spread container for this use with codec H.264 – Pethő Jonatán Feb 15 '15 at 21:35
  • 2
    @PethőJonatán No, it isn't. None of the major browsers support .mov without plugins. en.wikipedia.org/wiki/HTML5_video#Browser_support – stib Feb 17 '15 at 8:57
  • Apple still doesn't support Flash on iOS at all, right? So no jwplayer, just HTML5 video. – Peter Cordes Feb 23 '15 at 4:04
5

h.264 is very widely supported and can be found in multiple different types of container formats. mp4 or m4v are probably the most widely used extensions, but particular support for files varies based on what players are installed on devices.

MP4 is the official MPEG 4 standard container format. M4V is an originally Apple based container which also added AVC support, but is still a bit more open than MOV. Most players will also interchangeably play a file regardless of an M4V or MP4 extension provided that they support reading both file formats.

MP4 probably has slightly better overall compatibility while M4V probably has slightly better compatibility on Apple devices, but that is also subject to change and is hard to measure accurately.

|improve this answer|||||
  • mp4 and mov are fairly closely related, anyway. (e.g. MP4 uses a "moov atom" to store some muxing metadata.) So yes, h.264 video and aac audio in an MP4 container is pretty much the standard these days for video on the Internet. Non-patent-encumbered alternatives like webm (with VP8/VP9 and vorbis/opus) haven't gained enough traction yet. – Peter Cordes Feb 23 '15 at 4:03
0

When you upload to YouTube or use an Embed Code to show a YouTube (or JWPlayer) Video it matters a tiny bit to YouTube what Format you upload, some work better than others and you could probably find something that isn't accepted.

Once the Video is uploaded and someone opens a Webpage with the Video on it (either on the YouTube Website or elsewhere) your Browser on your Mobile Device starts a Player that simply works.

Can the Device you want to test work on YouTube?, yes means your all set.

How you upload doesn't affect how the Device downloads (unless you embed a Player that only serves the exact same Video File that was uploaded - you either need to write your own to do that or find one with the least features).

Q1: Choose .mp4 . Q2: Embed the YouTube Player.

|improve this answer|||||

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.