HTML5視頻播放器:Accessible HTML5 Video Player
What is it?
一個輕量級的HTML5視頻播放器,包括字幕和屏幕閱讀器可訪問性支持。

Features
- 提供了一個HTML5視頻播放器自定義控件。
- 支持字幕;只需使用標準的HTML5視頻語法,創建一個VTT的字幕文件。
- 使用原生的HTML5 form 控件控制音量(輸入范圍),并指示進度(progress元素)。
- 支持只有鍵盤用戶訪問。
- 可在加載時,打開或關閉字幕選項。
- 可設定起始播放的時間,或控制播放進度。
- 播放器寬度與Video 元素的寬度一致。
- 沒有依賴關系。使用原生的JavaScript寫成。
- 如果JavaScript不可用,將由瀏覽器的原生播放。
瀏覽器支持情況:
- Chrome: full support.
- Safari: full support.
- Firefox: full support.
- Internet Explorer 10, 11: full support.
- Internet Explorer 9: native video player used (aesthetic choice since HTML5 range input and progress element are not supported).
- Internet Explorer 8: renders fallback content of video element (in the demo, this is an image linked to the video file).
- Smartphones and tablets: controls and captions are not customized as both are natively supported in latest versions.
本文由用戶 jopen 自行上傳分享,僅供網友學習交流。所有權歸原作者,若您的權利被侵害,請聯系管理員。
轉載本站原創文章,請注明出處,并保留原始鏈接、圖片水印。
本站是一個以用戶分享為主的開源技術平臺,歡迎各類分享!