1 / 6

串流技術

串流技術. 製作人 : 李佳陵. 前提. 決定影片串流欲使用的播放軟體 – Quicktime 播放器。 將 AC_QuickTime.js 檔 (JScript Script File) 放置於網站的根目錄底下 , 目的是與網頁中的串流程式碼呼應 , 才可播放 ! Ps. 需注意程式碼中寫入的 AC_QuickTime.js 與根目錄底下 AC_QuickTime.js 檔兩者 檔名大小寫 是否相同 , 若不同 , 則無法播放影片 !. 程式碼一. <script src="/AC_QuickTime.js" language="JavaScript"

Download Presentation

串流技術

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. 串流技術 製作人 : 李佳陵

  2. 前提 • 決定影片串流欲使用的播放軟體– Quicktime 播放器。 • 將AC_QuickTime.js檔(JScript Script File)放置於網站的根目錄底下,目的是與網頁中的串流程式碼呼應,才可播放! • Ps.需注意程式碼中寫入的AC_QuickTime.js與根目錄底下AC_QuickTime.js檔兩者檔名大小寫是否相同,若不同,則無法播放影片!

  3. 程式碼一 • <script src="/AC_QuickTime.js" • language="JavaScript" • type="text/javascript"> • </script> • <script language="JavaScript" type="text/javascript"> • QT_WriteOBJECT_XHTML('http://images.apple.com/quicktime/qtv/mwsf06/images/qtbutton_100.mov','498','286','','autoplay','true','cache','FALSE','controller','false','href','rtsp://210.60.55.239/vod/Glasses/ok/funwork.mp4','target','QuickTimePlayer','type','video/quicktime');</script> Ps.此程式碼是另外跳出影片播放!

  4. 程式碼二 • <script src="/AC_QuickTime.js" • language="JavaScript" • type="text/javascript"> • </script> • <script language="JavaScript" type="text/javascript"> • QT_WriteOBJECT_XHTML('http://images.apple.com/quicktime/qtv/mwsf06/images/qtbutton_100.mov','498','286','','autoplay','true','cache','FALSE','controller','false','href','rtsp://210.60.55.239/vod/Glasses/ok/funwork.mp4','target','myself','type','image/x-quicktime');</script> Ps.此程式碼是影片直接於該網頁中播放,須注意影片的檔案大小與網頁的空間是否配合!

  5. 程式碼解說 連接影片檔位置,注意是用rtsp://連結! 代表圖片放置位置及影片大小,需用絕對路徑! • <script language="JavaScript" type="text/javascript"> • QT_WriteOBJECT_XHTML('http://images.apple.com/quicktime/qtv/mwsf06/images/qtbutton_100.mov','498','286','','autoplay','true','cache','FALSE','controller','false','href','rtsp://210.60.55.239/vod/Glasses/ok/funwork.mp4','target','QuickTimePlayer','type','video/quicktime');</script> 決定影片播放方式

  6. 小叮嚀 • 若使用者電腦無Quocktime播放軟體,則影片無法播放;此程式碼也沒有提供自動下載Quocktime軟體功能,因此,網站建立者需考慮使用者便利,提供下載路徑或其他辦法!

More Related