html5功能技術(shù)介紹科技模板_第1頁
html5功能技術(shù)介紹科技模板_第2頁
html5功能技術(shù)介紹科技模板_第3頁
html5功能技術(shù)介紹科技模板_第4頁
html5功能技術(shù)介紹科技模板_第5頁
已閱讀5頁,還剩57頁未讀, 繼續(xù)免費(fèi)閱讀

下載本文檔

版權(quán)說明:本文檔由用戶提供并上傳,收益歸屬內(nèi)容提供方,若內(nèi)容存在侵權(quán),請進(jìn)行舉報(bào)或認(rèn)領(lǐng)

文檔簡介

??????????HTML5<video>2021.12???CJE&MMusic.Live?????????2021???&HTML5?????可以在以下情況使用不限次數(shù)的用于您個(gè)人/公司、企業(yè)的商業(yè)演示。修改模板中的內(nèi)容包括,圖片,數(shù)據(jù),文本的替換??截惸0逯械膬?nèi)容用于其它幻燈片母版中使用。不可以在以下情況使用用于任何形式的在線付費(fèi)下載。收集整理我們發(fā)布的免費(fèi)資源后,用于各種形式的付費(fèi)下載。收集整理我們發(fā)布的免費(fèi)資源后,刻錄光碟銷售。本PPT由2PPT網(wǎng)收集整理,版權(quán)屬原作者所有PPT模板下載PPT課件下載PPT背景下載PPT圖表下載PPT教程下載隨時(shí)歡送您訪問2PPT網(wǎng)ppt??1.??????????2.????????3.????????-PluginbasedVideo-Flashvideo-HTML5video

-HTML5videoDemo

-HTML5video???-?????????????????????????-1996~vs.2021~??????????–BrowserWars://health20.kr/1648??????????-Devices??????????–Devices(PCvs.SmartPhone)可以在以下情況使用不限次數(shù)的用于您個(gè)人/公司、企業(yè)的商業(yè)演示。修改模板中的內(nèi)容包括,圖片,數(shù)據(jù),文本的替換??截惸0逯械膬?nèi)容用于其它幻燈片母版中使用。不可以在以下情況使用用于任何形式的在線付費(fèi)下載。收集整理我們發(fā)布的免費(fèi)資源后,用于各種形式的付費(fèi)下載。收集整理我們發(fā)布的免費(fèi)資源后,刻錄光碟銷售。本PPT由2PPT網(wǎng)收集整理,版權(quán)屬原作者所有PPT模板下載PPT課件下載PPT背景下載PPT圖表下載PPT教程下載隨時(shí)歡送您訪問2PPT網(wǎng)ppt??????????–???????????????????-?????????????????–NScreen????????可以在以下情況使用不限次數(shù)的用于您個(gè)人/公司、企業(yè)的商業(yè)演示。修改模板中的內(nèi)容包括,圖片,數(shù)據(jù),文本的替換??截惸0逯械膬?nèi)容用于其它幻燈片母版中使用。不可以在以下情況使用用于任何形式的在線付費(fèi)下載。收集整理我們發(fā)布的免費(fèi)資源后,用于各種形式的付費(fèi)下載。收集整理我們發(fā)布的免費(fèi)資源后,刻錄光碟銷售。本PPT由2PPT網(wǎng)收集整理,版權(quán)屬原作者所有PPT模板下載PPT課件下載PPT背景下載PPT圖表下載PPT教程下載隨時(shí)歡送您訪問2PPT網(wǎng)ppt????????–???Devices????????–??????????MultimediaCodingonthewebisfragmentedManyvideocodecs:DIVX,XVID,H264WMV,VC-1,VP8ManyContainers(FileFormat):AVI,MKVMP4,FLVManydeliverymethodsRTSP/RTPStreaming,ProgressivedownloadLiveHttpStreaming,SmoothStreaming????????–????????????–?????????????????????????????????????????????????????????PluginBasedVideoFlashVideoHTML5VideoPluginBasedVideoPluginBasedVideo??OS??????????????Video?????)Mac?FF??wmv?????????)wmv,mov,rm?Plugin????????????????(ActiveX?)可以在以下情況使用不限次數(shù)的用于您個(gè)人/公司、企業(yè)的商業(yè)演示。修改模板中的內(nèi)容包括,圖片,數(shù)據(jù),文本的替換??截惸0逯械膬?nèi)容用于其它幻燈片母版中使用。不可以在以下情況使用用于任何形式的在線付費(fèi)下載。收集整理我們發(fā)布的免費(fèi)資源后,用于各種形式的付費(fèi)下載。收集整理我們發(fā)布的免費(fèi)資源后,刻錄光碟銷售。本PPT由2PPT網(wǎng)收集整理,版權(quán)屬原作者所有PPT模板下載PPT課件下載PPT背景下載PPT圖表下載PPT教程下載隨時(shí)歡送您訪問2PPT網(wǎng)pptFlashVideoFlashVideo??2002,FlashVideo??–Sorensonsparkcodec??2003,FLVformat??–VP6codec??2005,youtube??FlashFLVformat??2006,H.264codec??FlashVideo-Market??DesktopSmartPhoneFlashVideo–CodeExample<objectwidth="425"height="344"><paramname="movie“value="://youtube/v/9sEI1AUFJKw&hl=en&fs=1&"></param><paramname="allowFullScreen“value="true"></param><paramname="allowscriptaccess“value="always"></param><embedsrc="://youtube/v/9sEI1AUFJKw&hl=en&fs=1&"type="application/x-shockwave-flash“allowscriptaccess="always"allowfullscreen="true“width="425"height="344"></embed></object>FlashVideo-Flash??FlashVideo–ThoughtsonFlashHTML5<video>HTML5<video>HTML5?????????(<audio>,<video>)????????????????????????????video?????JavaScript?ActionScript?????Powerful(simple)APIHTML5<video>??:IEFirefoxSafariChromeOperaiPhoneAndroid9.0+3.5+3.0+3.0+10.5+1.0+2.0+HTML5<video>-Example<videowidth="480"height="380“controls><sourcesrc=":///{...}_512kb.mp4"type="video/mp4"></source><sourcesrc=":///{...}nsters.ogv"type="video/ogg"></source><p>Yourbrowserdoesn'tlikeHTML5video,watchthemovieon<aref=":///{...}_monsters"></a>.</p></video>???????????Controlling<video>withJavaScriptvarv=document.getElementById('player');v.play();v.pause();v.volume=...;v.currentTime=...;...<video>

methods&attributesvarvideo=$('video').get(0);video.play();video.pause();video.paused;//Returnstrueifvideoispaused.video.ended;//Returnstrueifvideoisover.video.volume;//Returnsvolumevalue(between0-1)video.volume=0.5;//Setsvolumevalue(between0-1)video.currentTime;//Currentpointoftimeinthevideo.video.length;//Returnsthelengthinseconds.video.seekable;//Returnstrueifsupportsseeking.video.playbackRate;//Allowsyoutorewind/fastforward.?????????src:???????????currentTime:?????????????duration:?????????????paused:????????ended:????????muted:???????volume:???(0.0~1.0?????)error:???????networkState:???????????????????(???,???,??,?????)????load():??????????(???????)play():?????????pause():????

Eventsfiredby<video>varv=document.getElementById('player');v.addEventListener('loadeddata',function(){...},true)v.addEventListener('play',function(){...},true)v.addEventListener('pause',function(){...},true)v.addEventListener('timeupdate',function(){...},true)v.addEventListener('ended',function(){...},true)...?????play:??????progress:????????????

???(??????)??timeupdate:?????????ended:???????error:???????,??????????????

HTML5VideoDemoDemo-Videowithexternalcontrols??<video>UI???OPERASAFARIFIREFOXCHROMEIE9Demo-FancyvideocontrolswithJavascriptDemo-FancyvideoswapDemo-HTML5VideoEventsandAPIDemo-TransformingHTML5videowithCSS3://isithackday/mit/transforming-video.htmlDynamicContentInjection://people.mozilla/~prouget/demos/DynamicContentInjection/play.xhtmlCanvasVideoHTML5Video???HTML5Video???????????????(Codecfragment)?????????????(ProgressiveDownload)???????(ContentsProtection)???+??(Encapsulation+Embedding)??????(FullscreenVideo)???+??????????????????????/?????????????????Ecosystem(?????????,??)???????(~2021)Codec/Container–MP4/H.264

9.0ubiquitous,patentencumbered,licensing/royalties49Codec/Container–OggTheora

“freeandopen〞,nolicensing/royaltiesnotmanytoolsforit,notweboptimised50Codec/Container–WebM/VP8

openandroyalty-free,weboptimised???????????????????H.264viaHTML5withafallbacktoFlashorSilverlight(playingthesamefile)ifthebrowsercannotplayH.264nativelyvia<video>.HTML5video+Flashvideo<videocontrolsautoplayposter="..."width="..."height="..."><sourcesrc="movie.mp4"type="video/mp4"/><sourcesrc="movie.webm"type="video/webm"/><sourcesrc="movie.ogv"type="video/ogg"/><objectwidth="..."height="..."type="application/x-shockwave-flash"data="player.swf"><paramname="movie"value="player.swf"/><paramname="flashvars"value="...file=movie.mp4"/><!--fallbackcontent--></object></video>CSSstyledvideocontrols–MediaElementJS://mediaelementjs/ChromeFrameMinimaleffortforbringingIE6,7and8uptothelatestHTML5technologiesTwowaystogetyourwebsitesreadyforChromeFrame:Clientside:

Serverside:

<meta-equiv="X-UA-Compatible〞content="chrome=1">X-UA-Compatible:chrome=1????????StreamingProtocol–ProgressiveDownload-VideoDelivery????????????-?????????-Flash?HTML5audio,video,iOS,Android?????-???????????-???????????(???????)-??????????????StreamingProtocol–RTMP/RTSPStreaming-RTMP+Flash?StreamingProtocol,FMS,Wowza,????CDN?????+Bandwithefficiency,Qualityswitching-RTSP:Android?????-??????-????,??????(rtsp/554,rtmp/1935,rtmpt/80)-?????????(???????????????)-?????,???????StreamingProtocol–AdaptiveHTTPStreaming-HTTPDynamicStreaming:Flash-HttpLiveStreaming:iOS,Android3.0-SmoothStreaming:Silverlight,IISMediaServiceExtension-DASH(DynamicAdaptiveStreamingoverHTTP):MPEG?????

-RTMP?AdaptiveStreaming????-?????StreamingProtocol–Device???DevicesPr

溫馨提示

  • 1. 本站所有資源如無特殊說明,都需要本地電腦安裝OFFICE2007和PDF閱讀器。圖紙軟件為CAD,CAXA,PROE,UG,SolidWorks等.壓縮文件請下載最新的WinRAR軟件解壓。
  • 2. 本站的文檔不包含任何第三方提供的附件圖紙等,如果需要附件,請聯(lián)系上傳者。文件的所有權(quán)益歸上傳用戶所有。
  • 3. 本站RAR壓縮包中若帶圖紙,網(wǎng)頁內(nèi)容里面會(huì)有圖紙預(yù)覽,若沒有圖紙預(yù)覽就沒有圖紙。
  • 4. 未經(jīng)權(quán)益所有人同意不得將文件中的內(nèi)容挪作商業(yè)或盈利用途。
  • 5. 人人文庫網(wǎng)僅提供信息存儲空間,僅對用戶上傳內(nèi)容的表現(xiàn)方式做保護(hù)處理,對用戶上傳分享的文檔內(nèi)容本身不做任何修改或編輯,并不能對任何下載內(nèi)容負(fù)責(zé)。
  • 6. 下載文件中如有侵權(quán)或不適當(dāng)內(nèi)容,請與我們聯(lián)系,我們立即糾正。
  • 7. 本站不保證下載資源的準(zhǔn)確性、安全性和完整性, 同時(shí)也不承擔(dān)用戶因使用這些下載資源對自己和他人造成任何形式的傷害或損失。

最新文檔

評論

0/150

提交評論