Skip to content

Commit 7e08aec

Browse files
committed
Add the video player parameter to define videojs or hlsjs
1 parent 74ec751 commit 7e08aec

File tree

1 file changed

+12
-2
lines changed

1 file changed

+12
-2
lines changed

src/main/webapp/play.html

Lines changed: 12 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,17 +34,27 @@
3434
<script type="module" src="./js/embedded-player.js">
3535
/**
3636
* This page accepts following arguments through http query parameters
37+
*
3738
* 1. "id": the stream id to play.It is mandatory
39+
*
3840
* 2. "token": the token to play stream. It's mandatory if token security is enabled on server side.
41+
*
3942
* 3. "autoplay": To start playing automatically if streams is available. Optional. Default value is true
43+
*
4044
* 4. "mute": To start playing with mute if streams is available. Optional. Default value is true
45+
*
4146
* 5. "playOrder": the order which technologies is used in playing. Optional. Default value is "webrtc,hls".
42-
* possible values are "hls,webrtc","webrtc","hls","vod","dash"
47+
* possible values are "webrtc","hls","vod","dash", "ll-hls". You can give the playOrder comma-separated
48+
*
4349
* 6. "playType": the order which play type is used in playing. Optional. Default value is "mp4,webm".
4450
* possible values are "webm,mp4"","mp4","webm","mov"
51+
*
4552
* 7. "targetLatency": To define target latency for the DASH player. Optional. Default value is 3.
53+
*
4654
* 8. "is360": To play the stream in 360. Default value is false.
47-
55+
*
56+
* 9. "player": "videojs" or "hlsjs". Default value is videojs. It defines the player library to use for hls and vod playback.
57+
*
4858
* It support vod playback directly from name of the file. Just give the stream id having a prefix with streams folder
4959
* streams/test.mp4
5060
*/

0 commit comments

Comments
 (0)