Jun 12, 2010

[網頁] Html 5

一直以為firefox有支援youtube HTML-5的功能
但是結果絕不是像大眾想得那麼美好

1.完全看懂YouTube HTML 5支援功能
2.Firefox3.6有了HTML5,卻不能在Youtube 中使用?

總之就是因為video標籤不限制編碼器
youtube採用的h.264(需要權利金)firefox沒有採納
所以造成這個怪象

不過也並非完全無解
YouTube HTML5 影片播放器
還好孤狗大神就是大神
雖然因為 情理法 無法讓每種browser兼顧
所以有下面的變形

支援的瀏覽器
We support browsers that support both the video tag in HTML5 and either the h.264 video codec or the WebM format (with VP8 codec).
* Firefox (WebM enabled version available here)
* Google Chrome (h.264 supported now, WebM enabled version available here)
* Opera (WebM enabled version available here)
* Apple Safari (h.264, version 4+)
* 已安裝 Google Chrome Frame 的 Microsoft Internet Explorer (取得 Google Chrome Frame)
下載了firefox的WebM enabled version
它會要求安裝另一個browser介面
而不是在原本的firefox加上新功能,看了不是很喜歡於是放棄
與其這樣,那乾脆裝別支browser還較方便
反正safari-5跟chrome早就隨時預備好了

No comments:

Post a Comment