What video format does HTML5 use and why is it compatible with Safari on the iPad

StackOverflow https://stackoverflow.com/questions/2541455

  •  23-09-2019
  •  | 
  •  

문제

What video format does HTML5 support that is compatible with the iPhone/iPad? I was thinking of putting together a website with some instructional videos and I'm now confused as I thought that only Quicktime was supported by Apple mobile devices.

도움이 되었습니까?

해결책

It uses H.264 - though this isn't described as having to be used by the HTML5 spec. Most browsers (IE9, Chrome, Safari) use H.264, though currently Firefox only supports OGG when using the video tag.

If you aren't sure what to do, try this project: http://code.google.com/p/html5media/ it lets you use the video tag with an H.264 video, then backports it to older IEs using a flash fallback.

다른 팁

Its not Ogg Theora and never will be H.264. They were going to put Ogg Theora but Nokia and Apple disagreed because of Hardware Acceleration, Stupid patent fud, compression/quality concerns , and wanting to push the non-free(beer/freedom) H.264. So they didn't include specific codecs in the spec (also screwing over good quality/compression ratio and free Ogg Vorbis audio codec). H.264 is not going into the spec, but unfortunately it might end up being "the practical choice for a while".

Ogg Theora currently has a lead in percentage of html5 browsers market share(Firefox+Opera+Chrome+some others>Safari+Chrome+IE9 Preview+ some others) , on the other hand H.264 is easier to use both with flash as a fall back if the browser doesn't support html 5 video or html 5 video with H.264 codecs(Ogg Theora can be played with Java and maybe Silverlight plugins but those are not as popular/ubiquitous as flash). Plus people tend to care (I would argue too much over iphone/ipad which support H.264, note Android supports both ).

I was hoping Microsoft would decide to be open and screw apple at the same time by supporting VC-1 and Theora but unfortunately they seem to have dicded to go with H.264, hopefully they will change their minds and include Theora in the final ie9 release or that may be the end of the war. Firefox and Opera will not support H.264 unless the war is lost but might or might not afterwards using gstreamer(with directshow/quicktime providing the nonfree codecs).

Ipad supports H.264(I think it uses Quicktime but I think it might limit other Quicktime formats)

    .........IE9 preview    Firefox>3.5    Opera>10.5   Safari  Chrome     GtkWebkit QtWebkit
         (might change hopefully)     
Audio    mp3/AAC    Ogg Vorbis/WAV Ogg Vorbis/WAV   mp3/AAC Ogg Vorbis/mp3 *1       *2
                                 *5            *3                      *4

Video     H.264     Ogg Theora     Ogg Theora     H.264   Ogg Theora/H.264  *1      *2
                                 *5            *3

*1 System codecs:Gstreamer(probably free codecs(ogg), good chance of many non free codecs including H.264/mp3 either bought from fluendo or packaged with non free linux cd/computer or installed by user possibly slightly illegal but common/easy/little chance of punishment)

*2 System codecs:Phonon (Gstreamer/xine/vlc/Direct show/Quicktime backends)- on linux mostly gstreamer/xine

*3 Gstreamer shipping only free codecs on win/mac os x, using System codecs

*4 might support AAC???

*5 In mobile firefox/fennec planning to use Gstreamer, I think, might use it everywhere ala opera later on.

이 기능을 사용할 수있게되기 전에 기능을 활성화해야합니다.

설정 -> 사이트 설정 -> 사이트 기능 관리 및 외부 목록 에 대해 오프라인 동기화를 찾아 활성화를 클릭하십시오.

이제 LIST / WEBPART로 다시 이동하면 단추가 활성화되어 있어야합니다.

편집

OC3LOT에 의해 언급했듯이 Exchange가 필요하며 Outlook 또는 다른 Office가 서버에 설치되어 있지 않습니다!

1. SharePoint 사이트로 캘린더를 통합 할 페이지로 이동하십시오.

2. 페이지 및 편집 페이지를 클릭하십시오.

3. 웹 파트를 추가합니다. Outlook Web App 카테고리를 클릭하십시오.

4. 내 캘린더 웹 파트를 클릭하고 추가를 클릭하십시오.

5. 내 캘린더 웹 파트에서 "공구 창 열기"를 클릭하십시오.

6.enter https://mysite.outlook.com 메일 서버 주소 필드.

7. 계정의 Exchange 일정의 이메일 주소를 입력하십시오. 확인을 클릭하십시오.

메일 서버가 무엇인지 알아야합니다.

여기에 이미지 설명을 입력하십시오

http://community.office365.com. / en-us/forums/154/p/662/1819.aspx

http://social.msdn.microsoft.com/forums/en-us/ecc5a39e-22f2-48ce-abfb-b34ef7c22e09/outlook-web-access-web-part -SharePoint-Server-2013-was-deprecated

The iPad can play HTML5 <video> elements in a .mov or .mp4 container using the H.264 codec.

Safari on the Mac can play any file that QuickTime can play.

It's important to stress that QuickTime isn't a codec, it's a container format. A QuickTime (.mov) file can contain one of many possible codecs (H.264, etc.). Not all .mov files should be treated equally as "QuickTime" files in regards to what/where they can be played and what codec they are. This is a similar concept to .AVI—it's a container format that can deliver several codecs.

H.264 codec right now...

The reason html5 videos work on the iPad, iPhone and iPod touch is because the video player itself is part of the code and does not require a separate program to run unlike flash videos which needs flash player installed, Which cannot be installed on apple mobile devices.

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top