Skip to content

Commit 76492b1

Browse files
committed
Update README.txt
1 parent 4ce5570 commit 76492b1

File tree

1 file changed

+23
-17
lines changed

1 file changed

+23
-17
lines changed

README.txt

Lines changed: 23 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -2,23 +2,25 @@ BrowserImageSlideshow
22
https://github.com/dustymethod/BrowserImageSlideshow
33
Discussion & support: https://obsproject.com/forum/threads/browser-image-slideshow.110157/
44

5-
A slideshow that can be added to OBS as a browser source.
6-
- Plays images in random or alphabetical order, or manually via hotkeys in OBS
5+
A slideshow that can be added to OBS as a local browser source.
6+
- Random or alphabetical order
7+
- Play slides automatically or via OBS hotkeys
78
- Displays each image exactly once per loop
8-
- local, works offline
9-
Useful for slideshows that may exceed 250mb uncompressed limit in OBS's current built-in slideshow
9+
- Uses HTML, JavaScript, Lua. Works offline
10+
Useful for slideshows that may exceed the 250mb uncompressed limit in older versions of OBS's built-in slideshow (versions older than 30.1)
1011

11-
> Setup
12+
> SETUP INSTRUCTIONS
1213
0. Download the latest release https://github.com/dustymethod/BrowserImageSlideshow/releases
14+
- Download to a location that doesn't require admin permissions, ex. Documents, and not in the default plugins folder
1315
1. Add browser source in OBS:
1416
+ Add Source > Browser
1517
- Choose local file "BrowserImageSlideshow.html"
1618
- Delete Custom CSS
1719
- Enable "Shutdown source when not visible" and "Refresh browser when scene becomes active" options
18-
2. Place your slideshow images in the "images" folder (ex. png, jpg, gif)
19-
3. Add lua script (optional)
20+
2. Place your slideshow images in the "images" folder
21+
3. Add lua script (needed for hotkeys, otherwise this step is optional)
2022
- OBS > Tools > Scripts > Add (+) SlideshowSettings.lua
21-
- adjust settings, and enter name of slideshow browser source (if using hotkeys)
23+
- if using hotkeys: ensure the "Browser source name" field matches the name of your slideshow browser source in OBS.
2224
4. Update slideshow & list of images
2325
This can be done 2 different ways, and must be done whenever images are added/removed/renamed, or slideshow settings are changed
2426

@@ -28,8 +30,12 @@ Useful for slideshows that may exceed 250mb uncompressed limit in OBS's current
2830
B) Without Lua:
2931
- Run RefreshImagesW.cmd or RefreshImages.sh to update the list of images (they do the same thing)
3032
- Refresh the browser source by toggling its visibility from the Sources dock in OBS
31-
- settings can be adjusted by opening settings.js in a text editor
32-
5. *** Repeat step 4 whenever you add/remove/rename images or update the settings! ***
33+
- settings can be adjusted manually by opening settings.js in a text editor. these settings will be overwritten if using the Lua script.
34+
35+
Repeat this step whenever you add/remove/rename images or update the settings!
36+
37+
38+
3339

3440
> settings.js
3541
mode:
@@ -39,30 +45,30 @@ Useful for slideshows that may exceed 250mb uncompressed limit in OBS's current
3945
slideDuration: duration in milliseconds (default 4000)
4046
loopSlideshow: if true, the slideshow will repeat. in Random order mode, images will be reshuffled. (default true)
4147
startWithAutoplay: if true, the slideshow will start playing automatically. untick this option if you wish to control slides manually via hotkeys.
42-
autoplaying/paused can be toggled with hotkeys, regardless if this option is enabled or not
48+
autoplay/pause can be toggled with hotkeys, regardless if this option is enabled or not
4349

44-
> Additional Lua Settings
45-
Browser source name: this tells the lua script which browser source to send hotkey events to. you can ignore this setting if not using hotkeys
4650

4751
> Hotkeys - Requires lua script (see step 3)
4852
Pause: pause playback
49-
Resume: resume playback (if autoplay setting is off, this will still enable autoplay)
53+
Resume: resume playback (if autoplay setting is off, autoplay will now be enabled)
5054
Next: show the next slide
5155
Previous: show the previous slide
5256
Toggle visible: hide/show slideshow without pausing/restarting
5357
Toggle pause: same as pause/resume, but on a single hotkey
5458
Restart: restart the slideshow without checking for new images or settings
5559
Refresh: refresh browser source & restart slideshow. changes to images & settings will be reflected
5660

61+
> Hotkey Notes
62+
- Browser source name (lua): this tells the lua script which browser source to send hotkey events to. you can ignore this setting if not using hotkeys
63+
- in OBS's hotkey settings, this script's hotkey names are shown with [Slideshow] at the end. Hotkeys listed under "Image Slide Show" are for OBS's own built-in slideshow.
64+
5765
> Notes & tips
58-
- Save slideshow somewhere that doesn't require admin permissions, such as in your Documents, and not in the default plugins folder
5966
- Filenames with uncommon characters may not display
6067
- Images in subfolders within the "images" folder will not be shown
61-
- RefreshImages.sh and RefreshImagesW.cmd do the same thing; make a list of files within the images folder. depending on your pc, you may be able to run one, but not the other
68+
- RefreshImages.sh and RefreshImagesW.cmd do the same thing; make a list of files within the images folder. depending on your environment, you may be able to run one, but not the other
6269
- This slideshow & its scripts write to settings.js and images/images.js
6370
- EXIF data is ignored; images taken with a camera may not appear rotated correctly
6471
- This resource has only been tested on Windows. I have not done extensive testing
65-
- if using multiple slideshows, copy the entire slideshow folder, rathern than individual scripts, and add to OBS.
6672

6773
This script uses compressed jquery
6874
https://jquery.com/

0 commit comments

Comments
 (0)