Ambient photos - with videos!
My kids love looking at recent photos on the Chromecast, but since a lot of them are actually videos, they wouldn't' show up.
So I made my own chromecast app that also displays videos as well!
Here's how it works:
- (Optional) Create a new project at https://console.cloud.google.com/
- Enable the Google Photos API
- Create a new api key
- Go to this repo's github pages/sender.html at https://eerovil.github.io/chromecast-dashboard/chromecast_dashboard/sender.html
- Input your own api key + clientID (Or use my keys, the quota may or may not be over the limit)
- Click "Sign in" and allow access to Google Photos for the app.
- Connect to your chromecast using the big chromecast button.
- Select albums to show in the ambient. If you check the "hidden" box, any media in that album will not be shown (useful for "All photos")
- Click "Send".
- Modify timeout to your preference
The sender application will then send your api token to the chromecast. The Chromecast will fetch media and display two items for 10 seconds, then switch.
Every other switch the media on the right side will be a video. It will be looped for some time, or played fully if it's under 5 minutes.
- Better handling of different aspect ratios
- Something happens after 1 hour and the images/videos start breaking
- Muting videos is not working (Some videos are muted, others are not. This is apparently a Chrome bug)