From bc57972b74779c4ee8f4ed2e782e9ce3ed53fd6a Mon Sep 17 00:00:00 2001 From: winlin Date: Wed, 11 May 2022 13:19:28 +0800 Subject: [PATCH] Refine plugin description. --- srs-player/readme.txt | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/srs-player/readme.txt b/srs-player/readme.txt index 273fc7b..df62fd5 100644 --- a/srs-player/readme.txt +++ b/srs-player/readme.txt @@ -25,12 +25,19 @@ Then, publish live stream to SRS by [OBS](https://obsproject.com/) and follow th Done, view stream on a WordPress post or page, please follow the tutorial: [How to Publish Your SRS Livestream Through WordPress](https://blog.ossrs.io/publish-your-srs-livestream-through-wordpress-ec18dfae7d6f), and bellow are some tips. * For HLS live streaming, please use the following shortcode: + `[srs_player url="https://your_server/live/livestream.m3u8"]` + * For WebRTC streaming, the shortcode: + `[srs_player url="webrtc://your_server/live/livestream"]` + * For HTTP-FLV live streaming, the shortcode: + `[srs_player url="https://your_server/live/livestream.flv"]` + * For HLS/MP4 VoD streaming, the shortcode: + `[srs_player url="https://your_server/vod/file.mp4"]` For detailed documentation, please visit the [SRS Player](https://github.com/ossrs/WordPress-Plugin-SrsPlayer) page.