Description
ZW Player Video Embed is a professional-grade HTML5 video player supporting all major video formats and streaming protocols.
Perfect for: live streaming, online courses, video portfolios, surveillance feeds.
Key Features
Format Support
– Codecs: H.264, H.265, AV1, MP3, Opus
– VOD: HLS, DASH, HTTP-FLV, HTTP-MP4
– Live: HTTP-FLV, WebSocket-FLV, HLS, DASH, WebRTC, RTSP
Player Features
– Screenshot and video recording
– Segmented playback
– Picture-in-picture and mini player
– Multi-quality switching
– Speed control
Integration
– Gutenberg block with visual editor
– Shortcode: [zwplviem url=”video.mp4″]
– Classic editor button
– Multiple instances support
– JSON configuration for advanced setups
Usage
Basic: [zwplviem url=”https://example.com/video.mp4″]
Live: [zwplviem url=”live.flv” isLive=”true” autoplay=”true”]
Full: [zwplviem url=”video.mp4″ poster=”cover.jpg” autoplay=”true” muted=”true” ratio=”16:9″]
Multi-quality: [zwplviem url=”[{“name”:”HD”,”url”:”hd.mp4″,”default”:true},{“name”:”SD”,”url”:”sd.mp4″}]”]
External Services & Third-Party Libraries
This plugin includes minified JavaScript libraries for video playback. Below are the sources and licenses for each library:
ZWPlayer Core (zwplayer.js)
This is the main player library developed by ZW Player Team.
Documentation: https://www.zwplayer.com/
License: Proprietary – The minified zwplayer.js is provided for use within this plugin. Source code is not publicly available.
DASH.js (dash.all.min.js)
A JavaScript library for playing DASH (Dynamic Adaptive Streaming over HTTP) content.
Source: https://github.com/Dash-Industry-Forum/dash.js
License: BSD-3-Clause
Version included: 4.x
Note: This library may reference XML schemas (schemas.xmlsoap.org) for MPD manifest parsing. No user data is transmitted to external servers during normal playback.
HLS.js (hls.min.js, hls.light.min.js)
A JavaScript library for playing HLS (HTTP Live Streaming) content in browsers.
Source: https://github.com/video-dev/hls.js
License: Apache-2.0
Version included: 1.x
FLV.js (flv.min.js, flv.live.js)
A JavaScript library for playing FLV (Flash Video) content via HTTP-FLV or WebSocket-FLV streaming.
Source: https://github.com/bilibili/flv.js
License: Apache-2.0
MPEGTS.js (mpeg.min.js)
A JavaScript library for playing MPEG-TS streams.
Source: https://github.com/xqq/mpegts.js
License: Apache-2.0
Build Tools
No build tools are required for this plugin. All JavaScript files are pre-built and included as-is. The libraries above are used directly without additional compilation.
Blocks
This plugin provides 1 block.
- ZWPlayer 视频
Installation
- Upload to /wp-content/plugins/zw-player-video-embed/
- Activate in WordPress ‘Plugins’ screen
- Use Gutenberg block or shortcode [zwplviem url=”your-video-url”]
FAQ
-
What formats are supported?
-
H.264/H.265/AV1 video, MP3/Opus audio. Protocols: HLS, DASH, FLV, MP4, WebRTC, RTSP.
-
Can I use it for live streaming?
-
Yes. Enable “Live Stream” mode or add isLive=”true” to shortcode.
-
How to add multiple qualities?
-
Use JSON in URL field: [{“name”:”1080p”,”url”:”hd.mp4″,”default”:true},{“name”:”720p”,”url”:”sd.mp4″}]
-
Does it support picture-in-picture?
-
Yes, including auto mini player when scrolling.
Reviews
There are no reviews for this plugin.
Contributors & Developers
“ZW Player Video Embed” is open source software. The following people have contributed to this plugin.
ContributorsTranslate “ZW Player Video Embed” into your language.
Interested in development?
Browse the code, check out the SVN repository, or subscribe to the development log by RSS.
Changelog
2.0
- Added: H.265/HEVC and AV1 support
- Added: WebRTC and RTSP streaming
- Added: Video recording and segmented playback
- Added: Auto mini player
- Improved: Gutenberg block UI
- Fixed: Text domain issues
1.0
- Initial release with HLS, DASH, FLV support
