內容簡介
**總結:** 這個 WordPress 外掛可嵌入由 Ant Media Server 提供的 JWT Token 保護的影片內容,可透過原始影片標記播放 mp4 影片和 HLS.js 播放 .m3u8 檔案。這個外掛在瀏覽器中生成 JWT Token,並具有多項功能,包括 HLS.js 整合、JWT 認證、WordPress 快捷指令以及響應式設計。
1. **這個外掛的功能有哪些?**
- 使用 HLS.js 整合以在所有瀏覽器中播放 m3u8 的 HLS 流
- 透過安全的基於 token 的驗證保護影片串流
- 使用 [amsv_video] 快捷指令輕鬆整合於 WordPress 中
- 影片會自動調整大小以適應容器寬度
2. **這個外掛依賴於哪些外部服務?**
- 依賴 HLS.js 函式庫來播放 HLS 流
- HLS.js 函式庫版本:hls.js (v1.6.15 from https://github.com/video-dev/hls.js/releases/tag/v1.6.15)
- 原始碼: https://github.com/video-dev/hls.js
- 授權:Apache 2.0
- 授權 URI:https://github.com/video-dev/hls.js/blob/master/LICENSE
3. **這個外掛的目的是什麼?**
- 透過載入 HLS manifests 或直接的 mp4 檔案,將影片串流載入頁面
- 依賴於 Ant Media Server (由使用者自行設定) 提供的外部影片服務
- Ant Media Server 的運行方式和位置取決於外掛的使用者,該軟體的安裝說明可在其公開文檔中找到。
外掛標籤
開發者團隊
原文外掛簡介
A WordPress plugin for embedding JWT token secured video content from Ant Media Server.
Uses raw video tag for mp4 videos and HLS.js for .m3u8 manifests.
The JWT tokens are generated in the browser.
Features
HLS.js Integration: Uses HLS.js library to play m3u8 HLS streams in all browsers
JWT Authentication: Secure token-based authentication for video streams
WordPress Shortcode: Easy integration using [amsv_video] shortcode
Responsive Design: Videos automatically scale to fit container width
External Services
This plugin relies on the HLS.js library to play HLS streams.
Library: hls.js (v1.6.15 from https://github.com/video-dev/hls.js/releases/tag/v1.6.15)
Source: https://github.com/video-dev/hls.js
License: Apache 2.0
License URI: https://github.com/video-dev/hls.js/blob/master/LICENSE
The plugin’s purpose is to load video streams as HLS manifests or direct mp4 files into the page,
so as such it relies on the external video service provided by Ant Media Server. Where and how
Ant Media Server is running is up to the user of the plugin, the installation instructions for that
software can be found in its public documentation.
