From 35e8f2ce6f5d2443fcf4ee254389a8c36c923143 Mon Sep 17 00:00:00 2001 From: He4eT Date: Wed, 21 Jul 2021 15:18:22 +0500 Subject: [PATCH] Update README.md --- README.md | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index b32f86c..d5fa080 100644 --- a/README.md +++ b/README.md @@ -9,10 +9,16 @@ To see a live demo, check out [https://he4et.github.io/ifplayer/](https://he4et. You can provide the direct link to your game: -`/#/play/encodedURL/[theme]/` -- `encodedURL` - storyfile location encoded with `encodeURIComponent`; -- `theme` - [UI theme](https://github.com/He4eT/ifplayer/blob/master/src/themes/themes.js), optional; +`/#/play/encodedURL/[theme]/[mode]/` + +- `encodedURL` — storyfile location encoded with `encodeURIComponent`. +- `theme` — [UI theme](https://github.com/He4eT/ifplayer/blob/master/src/themes/themes.js), optional. +- `mode` — player interface mode, optional: + - the default mode is used if the option is not set. + - `focus` — single window mode without additional windows, such as the status bar. ### Examples - [Play "Lost Pig" with default or last used theme](https://he4et.github.io/ifplayer/#/play/https%3A%2F%2Fmirror.ifarchive.org%2Fif-archive%2Fgames%2Fzcode%2FLostPig.z8/); +- [Play "Lost Pig" without statusbar with default or last used theme](https://he4et.github.io/ifplayer/#/play/https%3A%2F%2Fmirror.ifarchive.org%2Fif-archive%2Fgames%2Fzcode%2FLostPig.z8/); - [Play "Lost Pig" with Nord theme](https://he4et.github.io/ifplayer/#/play/https%3A%2F%2Fmirror.ifarchive.org%2Fif-archive%2Fgames%2Fzcode%2FLostPig.z8/nord/); +- [Play "Lost Pig" without statusbar with Dim theme](https://he4et.github.io/ifplayer/#/play/https%3A%2F%2Fmirror.ifarchive.org%2Fif-archive%2Fgames%2Fzcode%2FLostPig.z8/dim/focus/);