- Clone this repo
git clone https://github.com/drldcsta/web_screensaver.git
- Place an
.mp4
in the/videos/
folder and change its name toscreensaver.mp4
- Navigate to Screen Savers in OSX System Preferences
[System Preferences] => [Desktop & Screen Saver] => [Screen Saver]
- Select WebViewScreenSaver, then open
Screen Saver Options...
- Check
Fetch URLs Remotely
- In the URL field, enter the address for the
player.html
file in this repo:file:///Users/PATH/TO/REPO/web_screensaver/player.html
Make sure to replace/PATH/TO/REPO
with the correct destination - Enjoy your video as your screensaver
An easy way to grab videos is using youtube-dl (available via brew install youtube-dl
).
Some cool videos I use for screensavers: