Skip to content

Commit

Permalink
Refine plugin description.
Browse files Browse the repository at this point in the history
  • Loading branch information
winlinvip committed May 11, 2022
1 parent d98f8bf commit bc57972
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions srs-player/readme.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down

0 comments on commit bc57972

Please sign in to comment.