Ant Media Secure Video
A WordPress plugin for embedding JWT token secured video/audio content from Ant Media Server. Uses raw video tag for mp4 videos, audio tag for mp3 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 i
A WordPress plugin for embedding JWT token secured video/audio content from Ant Media Server. Uses raw video tag for mp4 videos, audio tag for mp3 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.
- 01Upload the plugin folder to the /wp-content/plugins/ directory.
- 02Activate the plugin through the ‘Plugins’ menu in WordPress.
- 03Configure the plugin settings at Settings > Ant Media Secure Video .